14 #ifndef PX_VISUALDEBUGGER_H
15 #define PX_VISUALDEBUGGER_H
18 #ifdef PX_SUPPORT_VISUAL_DEBUGGER
19 #define PX_SUPPORT_VISUAL_DEBUGGER 1
23 #define PX_SUPPORT_VISUAL_DEBUGGER 0
35 namespace physx {
namespace debugger {
namespace comm {
57 eTRANSMIT_CONTACTS = (1 << 0),
58 eTRANSMIT_SCENEQUERIES = (1 << 1),
59 eTRANSMIT_CONSTRAINTS = (1 << 2)
83 virtual void disconnect() = 0;
89 virtual void checkConnection() = 0;
95 virtual physx::debugger::comm::PvdConnection* getPvdConnection() = 0;
102 virtual physx::debugger::comm::PvdDataStream* getPvdDataStream(
const PxScene& scene) = 0;
132 virtual PxU32 getVisualDebuggerFlags() = 0;
142 virtual void updateCamera(
const char* name,
const PxVec3& origin,
const PxVec3& up,
const PxVec3& target) = 0;
151 virtual void sendErrorMessage(
PxErrorCode::Enum code,
const char* message,
const char* file,
PxU32 line) = 0;
162 #endif // PX_VISUALDEBUGGER_H