22 class DtModelDefinition;
23 class DtOsgModelInstance;
26 class DtIndirectGeometryGrid;
40 ,
bool mapDofsSwitchesSequences
41 ,
const std::string& modelName
43 ,
const int lightPointGroupId
internal structure for mapping a DtOsgArticulatedModel/DtOsgSimpleModel object to a corresponding ins...
Definition: DtIndirectEntityManagerInstance.h:30
osg::ref_ptr< DtIndirectEntityGeometry > myIndirectGeometry
the indirect geometry to which this instance belongs to Purposely hold a reference to avoid DtIndirec...
Definition: DtIndirectEntityManagerInstance.h:69
const int myLightPointGroupId
Definition: DtIndirectEntityManagerInstance.h:104
const std::string myModelName
These are constants for the duration of this instance within the indirect entity manager.
Definition: DtIndirectEntityManagerInstance.h:77
const bool myMapDofsSwitchesSequences
whether dofs, switches, sequences are to be mapped typically: true for articulated model...
Definition: DtIndirectEntityManagerInstance.h:102
DtIndirectEntityManagerInstance()=delete
not allowed
const float myModelScale
scale
Definition: DtIndirectEntityManagerInstance.h:83
A model definition Interaction any number of named parameters, and also can be used to store cached d...
Definition: DtModelDefinition.h:38
const DtOsgModelInstance & myModelInstance
reference to the model instance
Definition: DtIndirectEntityManagerInstance.h:92
The base class for simple OSG based model instances. This call can't be instantiated itself...
Definition: DtOsgModelInstance.h:77
DtIndirectEntityManagerInstance & operator=(const DtIndirectEntityManagerInstance &rhs)=delete
assignment
int myInstanceIdInIndirectGeometry
These are not constants for the duration of this instance within the indirect entity manager we chang...
Definition: DtIndirectEntityManagerInstance.h:64
const int myModelSet
model set
Definition: DtIndirectEntityManagerInstance.h:98
const DtModelDefinition & myModelDefinition
reference to the model definition
Definition: DtIndirectEntityManagerInstance.h:89
const float myModelRadius
radius
Definition: DtIndirectEntityManagerInstance.h:86
DtIndirectGeometryGrid * myGrid
back pointer to the grid which this instance belongs to
Definition: DtIndirectEntityManagerInstance.h:107
virtual ~DtIndirectEntityManagerInstance()
destructor
Contains the DtIndirectEntityGeometry class declaration.
A model which owns a single model instance. A DtModel is a managing container for a single DtModelIns...
Definition: DtModel.h:55
Contains DLL export macros.
const DtModel * myModel
reference to the model (DtOsgArticulatedModel/DtOsgSimpleModel)
Definition: DtIndirectEntityManagerInstance.h:95
const int myModelId
the model id
Definition: DtIndirectEntityManagerInstance.h:80
Manages a bunch of 'cells' for a given cell size (similar to a sparse octree) each cell has a...
Definition: DtIndirectGeometryGrid.h:57
Vector3_int myCellId
the cell id within the grid
Definition: DtIndirectEntityManagerInstance.h:72