18#include <Vx/VxMessage.h>
23class DtSimulationServices;
77 static void vortexLogHandler(Vx::eLogLevel level,
const char*
const format, va_list ap);
Class for converting between different coordinate systems.
Definition coordConverter.h:31
Configuration initializer for VREngage components.
Definition initializer.h:80
Manages collision detection and handling between Vortex physics objects and non-Vortex simulated obje...
Definition vortexCollisionProxyGenerator.h:55
virtual void setLogHandler()
Sets this handler as the active Vortex log handler.
virtual ~LogHandler()
Destructor.
Vx::LogHandler myOldLongHandler
The previous log handler that was active.
Definition vortexDebug.h:80
static void vortexLogHandler(Vx::eLogLevel level, const char *const format, va_list ap)
Static callback function registered with Vortex.
LogHandler()=default
Default constructor.
virtual void resetLogHandler()
Restores the original Vortex log handler.
virtual ~DtVortexDebug()
Destructor.
makVre::DtInitializer * myDebugInitializer
Initializer for debug configuration.
Definition vortexDebug.h:210
DtVortexDebug(const DtSimulationServices *services)
Constructor.
bool debugPrintDynamicTerrain() const
Checks if dynamic terrain debugging is enabled.
double myDebugArtPartsGeometryLastDtSent
Definition vortexDebug.h:244
bool debugPagerTimes() const
Checks if pager timing debugging is enabled.
bool debugRequestBounds() const
Checks if request bounds debugging is enabled.
virtual bool active() const
Checks if debugging is active.
double myCollisionTrianglesLastDtSent
Time of last triangle data sent.
Definition vortexDebug.h:228
makVre::DtInitializer * debugInitializer() const
Gets the debug initializer.
virtual void initializeVortexDebugging()
Initializes Vortex debugging functionality.
virtual bool debugArtParts() const
Checks if art parts debugging is enabled.
virtual void registerDebugValues()
Registers debug values with the debug manager.
virtual void shutdownVortexDebugging()
Shuts down Vortex debugging functionality.
bool myActive
Flag indicating if debugging is active.
Definition vortexDebug.h:215
double myDebugCollisionTrianglesInterval
Time interval between triangle updates.
Definition vortexDebug.h:226
bool myDebugPagerTimes
Flag for pager timing debug output.
Definition vortexDebug.h:218
double myDebugTerrainPageoutTime
Timeout for terrain paging.
Definition vortexDebug.h:220
DebugMetaRegisterMessage::Process myProcessType
Type of process (VRF or VRE)
Definition vortexDebug.h:213
virtual void renderImgui()
Renders debug information using ImGui.
unsigned int myDebugCollisionTrianglesMaxRequestCount
Counter for triangle requests.
Definition vortexDebug.h:227
virtual void updateVortexRemoteDebugging()
Updates the Vortex remote debugging connection.
bool myDebugCollisionTriangles
Flag for collision triangle visualization.
Definition vortexDebug.h:225
bool myDebugPrintDynamicTerrain
Flag for dynamic terrain debug output.
Definition vortexDebug.h:219
std::deque< std::pair< unsigned int, std::vector< DtVector > > > myArtPartsGeometryDeque
Definition vortexDebug.h:241
bool myDebugRemoteEnabled
Flag for remote debugging.
Definition vortexDebug.h:223
virtual bool debugContacts() const
Checks if contact point debugging is enabled.
static void setVortexLogLevel(DtNotifyLevelType notifyLevel)
Sets the Vortex logging level.
double myDebugArtPartsGeometryInterval
Time interval between part geometry updates.
Definition vortexDebug.h:242
DtSimulationAddress mySimAddress
Address of the simulation.
Definition vortexDebug.h:212
double debugPagerTimeoutTime() const
Gets the timeout time for pager timing debugging.
unsigned int myDebugArtPartsGeometryMaxRequestCount
Counter for geometry requests.
Definition vortexDebug.h:243
std::unique_ptr< DtVortexMaterialDebugHelpers > myMaterialDebugHelpers
Renderer and selection-state owner for material and contact diagnostics.
Definition vortexDebug.h:236
bool debugCollisionTriangles() const
Checks if collision triangle debugging is enabled.
std::shared_ptr< DtVortexDebug::LogHandler > myVortexLogHandler
Log handler for Vortex messages.
Definition vortexDebug.h:230
bool myDebugContacts
Flag for contact points visualization.
Definition vortexDebug.h:222
bool myDebugArtParts
Flag for art parts visualization.
Definition vortexDebug.h:221
std::deque< std::pair< int, std::vector< DtVector > > > myCollisionGeometryDeque
Queue of collision geometries for visualization.
Definition vortexDebug.h:238
std::shared_ptr< DtVortexDebug::LogHandler > logHandler()
Gets the Vortex log handler.
virtual void unregisterDebugValues()
Unregisters debug values from the debug manager.
makVre::DtVreMessageResult handleDebugMessage(makVre::DtVreMessage *msg)
Handles debug messages from the debug manager.
virtual void tick(double dt)
Updates the debug state and visuals.
void publishDebugRegistrations()
Re-publishes debug registration messages without re-installing handlers.
bool myDebugRequestBounds
Flag for debug request bounds visualization.
Definition vortexDebug.h:217
Renders Vortex material and dynamics-contact diagnostics.
Definition vortexMaterialDebugHelpers.h:33
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
Export macros for the VR-Forces Vortex extension library.
#define VREVRFVORTEX_DLL
Export macro for non-Windows platforms.
Definition export.h:30
!
Definition glsVreMessageUtil.h:50
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33
Defines the base class for all VREngage messages.