18#include <Vx/VxMessage.h>
22class DtSimulationServices;
75 static void vortexLogHandler(Vx::eLogLevel level,
const char*
const format, va_list ap);
83 static bool formatToString(std::string& str,
const char*
const fmt, 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:45
virtual void setLogHandler()
Sets this handler as the active Vortex log handler.
static bool formatToString(std::string &str, const char *const fmt, va_list ap)
Helper function to format a log message with variable arguments.
virtual ~LogHandler()
Destructor.
Vx::LogHandler myOldLongHandler
The previous log handler that was active.
Definition vortexDebug.h:86
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.
makVre::DtInitializer * myDebugInitializer
Initializer for debug configuration.
Definition vortexDebug.h:209
DtVortexDebug(const DtSimulationServices *services)
Constructor.
bool debugPrintDynamicTerrain() const
Checks if dynamic terrain debugging is enabled.
double myDebugArtPartsGeometryLastDtSent
Definition vortexDebug.h:237
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:227
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 ~DtVortexDebug()=default
Destructor.
virtual void shutdownVortexDebugging()
Shuts down Vortex debugging functionality.
bool myActive
Flag indicating if debugging is active.
Definition vortexDebug.h:214
double myDebugCollisionTrianglesInterval
Time interval between triangle updates.
Definition vortexDebug.h:225
bool myDebugPagerTimes
Flag for pager timing debug output.
Definition vortexDebug.h:217
double myDebugTerrainPageoutTime
Timeout for terrain paging.
Definition vortexDebug.h:219
DebugMetaRegisterMessage::Process myProcessType
Type of process (VRF or VRE)
Definition vortexDebug.h:212
virtual void renderImgui()
Renders debug information using ImGui.
unsigned int myDebugCollisionTrianglesMaxRequestCount
Counter for triangle requests.
Definition vortexDebug.h:226
virtual void updateVortexRemoteDebugging()
Updates the Vortex remote debugging connection.
bool myDebugCollisionTriangles
Flag for collision triangle visualization.
Definition vortexDebug.h:224
bool myDebugPrintDynamicTerrain
Flag for dynamic terrain debug output.
Definition vortexDebug.h:218
std::deque< std::pair< unsigned int, std::vector< DtVector > > > myArtPartsGeometryDeque
Definition vortexDebug.h:234
bool myDebugRemoteEnabled
Flag for remote debugging.
Definition vortexDebug.h:222
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:235
DtSimulationAddress mySimAddress
Address of the simulation.
Definition vortexDebug.h:211
double debugPagerTimeoutTime() const
Gets the timeout time for pager timing debugging.
unsigned int myDebugArtPartsGeometryMaxRequestCount
Counter for geometry requests.
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:229
bool myDebugContacts
Flag for contact points visualization.
Definition vortexDebug.h:221
bool myDebugArtParts
Flag for art parts visualization.
Definition vortexDebug.h:220
std::deque< std::pair< int, std::vector< DtVector > > > myCollisionGeometryDeque
Queue of collision geometries for visualization.
Definition vortexDebug.h:231
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.
bool myDebugRequestBounds
Flag for debug request bounds visualization.
Definition vortexDebug.h:216
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
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33
Defines the base class for all VREngage messages.