28 class DtIndirectGeometry;
29 class DtIndirectGeometryGridNode;
30 class DtIndirectGeometryRegistrar;
31 class DtIndirectModelInfo;
96 virtual void updateGui();
105 , myNumValidInstances(0)
118 return myId < other.
myId;
146 , myModelName(modelName)
159 : myNodeName(nodeName)
160 , myParentId(parentId)
192 , myNumSubGeometries(0)
193 , myNumLightSources(0)
195 , myNumSwitchPaths(0)
220 : myGeometrySpecIdx(-1)
225 , myUvOffsetBaseIdx(0)
226 , myInstanceDataIdx(0)
245 , myContainerInstanceId(-1)
248 , myPositionValid(false)
249 , myLocalPositionX(0.0)
250 , myLocalPositionY(0.0)
251 , myLocalPositionZ(0.0)
299 osg::Node* findRootNode()
const;
302 virtual void gatherAllIndirectGeometries(osg::Node* node, std::vector<DtIndirectGeometry*>& outGeometries)
const;
305 virtual void collectIndirectGeometryInfo(osg::Node* node, std::set<IndirectGeometryDebugInfo>& outInfos,
306 std::set<RegistrarDebugInfo>& outRegistrarInfos)
const;
310 std::set<IndirectGeometryDebugInfo>& outInfos, std::set<RegistrarDebugInfo>& outRegistrarInfos)
const;
316 virtual void extractDofPaths(
const DtIndirectModelInfo* modelInfo, std::vector<ModelInfoDofPathDebugInfo>& dofPathInfo)
const;
319 virtual void extractTextureInfo(
const DtIndirectModelInfo* modelInfo, std::vector<ModelInfoTextureDebugInfo>& outTextureInfo)
const;
331 virtual DtIndirectGeometry* findMatchingGeometry(osg::Node* node,
const std::string& geometryAddress)
const;
334 virtual void fillModelNamesForRegistrar(
const std::string& registrarAddress);
337 virtual void refreshIndirectGeometryInfo();
340 virtual void displayIndirectGeometryInfo();
344 virtual void displayIndirectGeometryTable(
ImGuiTableFlags tableFlags,
float tableHeight);
348 virtual void displayRegistrarTable(
ImGuiTableFlags tableFlags,
float tableHeight);
352 virtual void displayRegistrarModelNames();
355 virtual void gatherRegistrarModelInfo(
const std::string& registrarAddress,
360 virtual void displaySelectedRegistrarModelInfo();
364 virtual void displayModelInfoDofPathsDialog();
368 virtual void displayModelInfoTextureNamesDialog();
371 virtual void setSelectedRegistrarAddress(
const std::string& address);
374 virtual void setSelectedGeometryAddress(
const std::string& address);
383 virtual void fillInstancesForGeometry(
const std::string& geometryAddress);
386 virtual void displayGeometryInstances();
389 virtual void displaySelectedInstanceInfo();
std::string MyRegistrarAddressStr
Definition: DtIndirectGeometryDebugging.h:114
bool operator<(const RegistrarDebugInfo &other) const
Definition: DtIndirectGeometryDebugging.h:135
Structure to hold registrar model entry debug information.
Definition: DtIndirectGeometryDebugging.h:142
int myInstanceId
The instance id in the indirect geometry.
Definition: DtIndirectGeometryDebugging.h:260
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
int myNumModels
Definition: DtIndirectGeometryDebugging.h:131
std::vector< RegistrarModelEntryDebugInfo > myRegistrarModelEntryInfos
Definition: DtIndirectGeometryDebugging.h:403
std::string myModelDefName
Definition: DtIndirectGeometryDebugging.h:204
RegistrarModelDebugInfo mySelectedRegistrarModelInfo
Definition: DtIndirectGeometryDebugging.h:409
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Structure to hold indirect geometry debug information.
Definition: DtIndirectGeometryDebugging.h:101
RegistrarModelEntryDebugInfo(int modelId, const std::string &modelName)
Definition: DtIndirectGeometryDebugging.h:144
int myNumLightSources
Definition: DtIndirectGeometryDebugging.h:206
ImGuiTextFilter myGeometryAddressFilter
filter for narrowing the geometry table by address
Definition: DtIndirectGeometryDebugging.h:412
std::string mySelectedRegistrarAddress
Definition: DtIndirectGeometryDebugging.h:405
std::string myNodeName
Definition: DtIndirectGeometryDebugging.h:166
Indirect geometry can have multiple models and their corresponding ids registered in it...
Definition: DtIndirectGeometryRegistrar.h:111
Structure to hold registrar debug information.
Definition: DtIndirectGeometryDebugging.h:123
std::string myModelName
Definition: DtIndirectGeometryDebugging.h:203
ModelInfoTextureDebugInfo(const std::string &name, int width, int height)
Definition: DtIndirectGeometryDebugging.h:174
int myNumValidInstances
Definition: DtIndirectGeometryDebugging.h:111
std::vector< PerGeomInstanceDebugInfo > myPerGeomInstances
Per-geometry instance details for this instance.
Definition: DtIndirectGeometryDebugging.h:295
std::string myLastSelectedRegistrarAddress
Definition: DtIndirectGeometryDebugging.h:406
double myLocalPositionX
The local position xyz components (relative to the geometry's local origin, before the local origin t...
Definition: DtIndirectGeometryDebugging.h:276
RegistrarDebugInfo()
Definition: DtIndirectGeometryDebugging.h:125
int mySelectedRegistrarModelId
Definition: DtIndirectGeometryDebugging.h:407
std::string myAddressStr
Definition: DtIndirectGeometryDebugging.h:113
unsigned int myUvOffsetBaseIdx
Definition: DtIndirectGeometryDebugging.h:236
int myLastSelectedRegistrarModelId
Definition: DtIndirectGeometryDebugging.h:408
int myNumMaterials
Definition: DtIndirectGeometryDebugging.h:207
int myId
Definition: DtIndirectGeometryDebugging.h:168
RegistrarModelDebugInfo()
Definition: DtIndirectGeometryDebugging.h:190
int myGeometrySpecIdx
Definition: DtIndirectGeometryDebugging.h:231
Structure to hold model info dof path debug information.
Definition: DtIndirectGeometryDebugging.h:156
double myPositionZ
Definition: DtIndirectGeometryDebugging.h:283
unsigned int mySwitchIdx
Definition: DtIndirectGeometryDebugging.h:234
std::string myOtherData0Str
Formatted otherData0 vector for display.
Definition: DtIndirectGeometryDebugging.h:292
bool myShowModelInfoDofPathsDialog
Definition: DtIndirectGeometryDebugging.h:425
bool myShowSelectedRegistrarModelInfo
Definition: DtIndirectGeometryDebugging.h:424
bool myShowGeometryInstances
Definition: DtIndirectGeometryDebugging.h:427
std::string myName
Definition: DtIndirectGeometryDebugging.h:182
Contains makVrv::DtVirtualBaseClass class.
double myPositionX
The world position xyz components.
Definition: DtIndirectGeometryDebugging.h:281
InstanceDebugInfo()
Definition: DtIndirectGeometryDebugging.h:243
double myLocalPositionY
Definition: DtIndirectGeometryDebugging.h:277
int myNumSubGeometries
Definition: DtIndirectGeometryDebugging.h:205
std::string mySelectedGeometryAddress
Definition: DtIndirectGeometryDebugging.h:415
std::string myModelName
Definition: DtIndirectGeometryDebugging.h:152
This class inherits from.
Definition: DtIndirectGeometry.h:122
std::string myTrackName
The lifetime tracking name, if tracked.
Definition: DtIndirectGeometryDebugging.h:289
Structure to hold per-instance debug information.
Definition: DtIndirectGeometryDebugging.h:241
int myNumDofPaths
Definition: DtIndirectGeometryDebugging.h:209
std::vector< ModelInfoTextureDebugInfo > myTextureInfo
Definition: DtIndirectGeometryDebugging.h:212
bool myPositionValid
Whether the world position was successfully resolved.
Definition: DtIndirectGeometryDebugging.h:272
unsigned int myInstanceDataIdx
Definition: DtIndirectGeometryDebugging.h:237
std::string myName
Definition: DtIndirectGeometryDebugging.h:132
static const float theDefaultCountColumnWidth
Definition: DtIndirectGeometryDebugging.h:67
static const ImVec4 theDefaultImguiTextHighlightColor
Definition: DtIndirectGeometryDebugging.h:69
Structure to hold per-geometry-instance debug information Mirrors the PerGeomInstance GPU-side struct...
Definition: DtIndirectGeometryDebugging.h:217
ImGuiTextFilter myInstanceFilter
Filter for the instance table (matches instance id or model name).
Definition: DtIndirectGeometryDebugging.h:420
int myHeight
Definition: DtIndirectGeometryDebugging.h:184
bool myIsTracked
Whether lifetime tracking is active for this instance.
Definition: DtIndirectGeometryDebugging.h:269
int myModelId
Definition: DtIndirectGeometryDebugging.h:151
ModelInfoDofPathDebugInfo(const std::string &nodeName, int parentId, int id)
Definition: DtIndirectGeometryDebugging.h:158
int myWidth
Definition: DtIndirectGeometryDebugging.h:183
unsigned int myLodCount
Definition: DtIndirectGeometryDebugging.h:233
A debugging class used to help debug indirect geometry.
Definition: DtIndirectGeometryDebugging.h:61
std::vector< ModelInfoDofPathDebugInfo > myDofPaths
Definition: DtIndirectGeometryDebugging.h:211
bool myShowIndirectGeometryInfo
Definition: DtIndirectGeometryDebugging.h:422
std::string myModelName
The model name associated with this instance.
Definition: DtIndirectGeometryDebugging.h:286
double myPositionY
Definition: DtIndirectGeometryDebugging.h:282
unsigned int myLodBaseIdx
Definition: DtIndirectGeometryDebugging.h:232
Base class to provide boost signal/slot management.
IndirectGeometryDebugInfo()
Definition: DtIndirectGeometryDebugging.h:103
int myParentId
Definition: DtIndirectGeometryDebugging.h:167
int myContainerInstanceId
The instance id in the instance container.
Definition: DtIndirectGeometryDebugging.h:263
std::set< IndirectGeometryDebugInfo > myIndirectGeometryInfos
Definition: DtIndirectGeometryDebugging.h:400
std::string myAddressStr
Definition: DtIndirectGeometryDebugging.h:133
unsigned int myDofBaseIdx
Definition: DtIndirectGeometryDebugging.h:235
std::string myName
Definition: DtIndirectGeometryDebugging.h:112
Contains DLL export macros.
unsigned int myId
Definition: DtIndirectGeometryDebugging.h:110
int myNumSwitchPaths
Definition: DtIndirectGeometryDebugging.h:208
static const ImVec4 theDefaultImguiHighlightColor
Definition: DtIndirectGeometryDebugging.h:68
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
int myModelId
Definition: DtIndirectGeometryDebugging.h:202
DtDe & myDe
Definition: DtIndirectGeometryDebugging.h:398
int myModelId
The model id associated with this instance.
Definition: DtIndirectGeometryDebugging.h:266
std::string mySelectedGeometryName
Definition: DtIndirectGeometryDebugging.h:416
std::set< RegistrarDebugInfo > myRegistrarInfos
Definition: DtIndirectGeometryDebugging.h:401
Structure to hold detailed registrar model debug information.
Definition: DtIndirectGeometryDebugging.h:188
static const float theDefaultIdColumnWidth
Definition: DtIndirectGeometryDebugging.h:65
double myLocalPositionZ
Definition: DtIndirectGeometryDebugging.h:278
PerGeomInstanceDebugInfo()
Definition: DtIndirectGeometryDebugging.h:219
bool operator<(const IndirectGeometryDebugInfo &other) const
Definition: DtIndirectGeometryDebugging.h:116
int myNumLods
Definition: DtIndirectGeometryDebugging.h:210
Structure to hold model info texture debug information.
Definition: DtIndirectGeometryDebugging.h:172
bool myShowModelInfoTextureNamesDialog
Definition: DtIndirectGeometryDebugging.h:426
bool myShowSelectedInstanceInfo
Definition: DtIndirectGeometryDebugging.h:428
bool myShowRegistrarModelNames
Definition: DtIndirectGeometryDebugging.h:423
static const float theDefaultAddressColumnWidth
Definition: DtIndirectGeometryDebugging.h:66
std::vector< InstanceDebugInfo > myInstanceInfos
Definition: DtIndirectGeometryDebugging.h:414
int mySelectedInstanceIndex
Definition: DtIndirectGeometryDebugging.h:417
Contains the per Model info which the indirect module needs These objects are owned by the Indirect g...
Definition: DtIndirectModelInfo.h:68