![]() |
VR-Forces 4.10 Class Documentation
|
internal structure for mapping a DtOsgArticulatedModel/DtOsgSimpleModel object to a corresponding instance within the indirect geometry More...
Public Member Functions | |
| DtIndirectEntityManagerInstance (const DtModelDefinition &modelDefinition, const DtOsgModelInstance &modelInstance, int modelSet, float modelScale, float modelRadius, bool mapDofsSwitchesSequences, const std::string &modelName, const int modelId, const int lightPointGroupId) | |
| constructor More... | |
| DtIndirectEntityManagerInstance (const DtIndirectEntityManagerInstance &rhs) | |
| copy constructor More... | |
| virtual | ~DtIndirectEntityManagerInstance () |
| destructor More... | |
Public Attributes | |
| int | myInstanceIdInIndirectGeometry |
| These are not constants for the duration of this instance within the indirect entity manager we change them when we move instances from one indirect geometry to another. More... | |
| osg::ref_ptr< DtIndirectGeometry > | myIndirectGeometry |
| the indirect geometry to which this instance belongs to Purposely hold a reference to avoid DtIndirectGeometry from being deleted from underneath somehow (page out/reload etc) More... | |
| Vector3_int | myCellId |
| the cell id within the grid More... | |
| const std::string | myModelName |
| These are constants for the duration of this instance within the indirect entity manager. More... | |
| const int | myModelId |
| the model id More... | |
| const float | myModelScale |
| scale More... | |
| const float | myModelRadius |
| radius More... | |
| const DtModelDefinition & | myModelDefinition |
| reference to the model definition More... | |
| const DtOsgModelInstance & | myModelInstance |
| reference to the model instance More... | |
| const int | myModelSet |
| model set More... | |
| const bool | myMapDofsSwitchesSequences |
| whether dofs, switches, sequences are to be mapped typically: true for articulated model, false for simple model More... | |
| const int | myLightPointGroupId |
Private Member Functions | |
| DtIndirectEntityManagerInstance ()=delete | |
| not allowed More... | |
| DtIndirectEntityManagerInstance & | operator= (const DtIndirectEntityManagerInstance &rhs)=delete |
| assignment More... | |
internal structure for mapping a DtOsgArticulatedModel/DtOsgSimpleModel object to a corresponding instance within the indirect geometry
| makVrv::DtIndirectEntityManagerInstance::DtIndirectEntityManagerInstance | ( | const DtModelDefinition & | modelDefinition, |
| const DtOsgModelInstance & | modelInstance, | ||
| int | modelSet, | ||
| float | modelScale, | ||
| float | modelRadius, | ||
| bool | mapDofsSwitchesSequences, | ||
| const std::string & | modelName, | ||
| const int | modelId, | ||
| const int | lightPointGroupId | ||
| ) |
constructor
| makVrv::DtIndirectEntityManagerInstance::DtIndirectEntityManagerInstance | ( | const DtIndirectEntityManagerInstance & | rhs | ) |
copy constructor
|
virtual |
destructor
|
privatedelete |
not allowed
|
privatedelete |
assignment
| int makVrv::DtIndirectEntityManagerInstance::myInstanceIdInIndirectGeometry |
These are not constants for the duration of this instance within the indirect entity manager we change them when we move instances from one indirect geometry to another.
id within the indirect geometry
| osg::ref_ptr<DtIndirectGeometry> makVrv::DtIndirectEntityManagerInstance::myIndirectGeometry |
the indirect geometry to which this instance belongs to Purposely hold a reference to avoid DtIndirectGeometry from being deleted from underneath somehow (page out/reload etc)
| Vector3_int makVrv::DtIndirectEntityManagerInstance::myCellId |
the cell id within the grid
| const std::string makVrv::DtIndirectEntityManagerInstance::myModelName |
These are constants for the duration of this instance within the indirect entity manager.
the model name. comes from the model definition
| const int makVrv::DtIndirectEntityManagerInstance::myModelId |
the model id
| const float makVrv::DtIndirectEntityManagerInstance::myModelScale |
scale
| const float makVrv::DtIndirectEntityManagerInstance::myModelRadius |
radius
| const DtModelDefinition& makVrv::DtIndirectEntityManagerInstance::myModelDefinition |
reference to the model definition
| const DtOsgModelInstance& makVrv::DtIndirectEntityManagerInstance::myModelInstance |
reference to the model instance
| const int makVrv::DtIndirectEntityManagerInstance::myModelSet |
model set
| const bool makVrv::DtIndirectEntityManagerInstance::myMapDofsSwitchesSequences |
whether dofs, switches, sequences are to be mapped typically: true for articulated model, false for simple model
| const int makVrv::DtIndirectEntityManagerInstance::myLightPointGroupId |