![]() |
VR-Forces 4.10 Class Documentation
|
non virtual container class for holding the information needed to create an indirect geometry instance More...
Public Member Functions | |
| DtIndirectGeometryInstance () | |
| Constructor. More... | |
| DtIndirectGeometryInstance (int modelId, const osg::Matrixd &xform, const DtIndirectLodManager::DequeIndirectLodInfos &lodStack=DtIndirectLodManager::DequeIndirectLodInfos(), const osg::NodePath &nodePath=osg::NodePath(), const DtIndirectSwitchManager::DequeNodeSwitchInfoPairs &switchStack=DtIndirectSwitchManager::DequeNodeSwitchInfoPairs(), const DtIndirectDofManager::DequeNodeDofInfoPairs &dofStack=DtIndirectDofManager::DequeNodeDofInfoPairs()) | |
| Constructor. More... | |
| ~DtIndirectGeometryInstance () | |
| Destructor - not virtual since this is just a container class and should not be used as a base class. More... | |
| DtIndirectGeometryInstance (const DtIndirectGeometryInstance &other) | |
| Copy Constructor. More... | |
| DtIndirectGeometryInstance & | operator= (const DtIndirectGeometryInstance &other) |
| Assignment Operator. More... | |
| void | setModelId (int id) |
| set/get the model id which specifies which model id in the registrar is associated with this instance More... | |
| int | modelId () const |
| void | setXForm (const osg::Matrixd &xForm) |
| set/get the transform for this instance which moves the instance from local space to More... | |
| const osg::Matrixd & | xForm () const |
| void | setLodStack (const DtIndirectLodManager::DequeIndirectLodInfos &lodStack) |
| set/get lod stack for this instance which is passed to the indirect compute shader More... | |
| const DtIndirectLodManager::DequeIndirectLodInfos & | lodStack () const |
| void | setSwitchStack (const DtIndirectSwitchManager::DequeNodeSwitchInfoPairs &switchStack) |
| set/get the switch stack for this instance which is used by the switch manager to know which switches are associated with this instance More... | |
| const DtIndirectSwitchManager::DequeNodeSwitchInfoPairs & | switchStack () const |
| void | setDofStack (const DtIndirectDofManager::DequeNodeDofInfoPairs &dofStack) |
| set/get the dof stack for this instance which is used by the dof manager to setup the dofs for this instance More... | |
| const DtIndirectDofManager::DequeNodeDofInfoPairs & | dofStack () const |
| void | setNodePath (const osg::NodePath &nodePath) |
| set/get the node path for this instance which is used by the switch manager to know if a dynamic terrain switch is changed More... | |
| const osg::NodePath & | nodePath () const |
| void | setId (int id) |
| set/get the unique to this indirect geometry model id. Monotomically increasing. More... | |
| int | id (void) const |
| void | setModelScale (float val) |
| set/get the model scale More... | |
| float | modelScale () const |
| void | setModelRadius (float val) |
| set/get the model radius More... | |
| float | modelRadius () const |
| void | setModelInfo (const DtAggregateModelInfo *info) |
| set/get the model info from the registrar is associated this instance, needs to be cached More... | |
| const DtAggregateModelInfo * | modelInfo () const |
| void | setLightPointGroupId (int lightPointGroupId) |
| set/get the light point group id. This per instance value is currently only used by aerodrome runways. More... | |
| const int | lightPointGroupId () const |
Protected Attributes | |
| int | myId |
| int | myModelId |
| osg::Matrixd | myXForm |
| float | myModelScale |
| float | myModelRadius |
| DtIndirectLodManager::DequeIndirectLodInfos | myLodStack |
| osg::NodePath | myNodePath |
| DtIndirectSwitchManager::DequeNodeSwitchInfoPairs | mySwitchStack |
| DtIndirectDofManager::DequeNodeDofInfoPairs | myDofStack |
| const DtAggregateModelInfo * | myModelInfo |
| int | myLightPointGroupId |
non virtual container class for holding the information needed to create an indirect geometry instance
| makVrv::DtIndirectGeometryInstance::DtIndirectGeometryInstance | ( | ) |
Constructor.
| makVrv::DtIndirectGeometryInstance::DtIndirectGeometryInstance | ( | int | modelId, |
| const osg::Matrixd & | xform, | ||
| const DtIndirectLodManager::DequeIndirectLodInfos & | lodStack = DtIndirectLodManager::DequeIndirectLodInfos(), |
||
| const osg::NodePath & | nodePath = osg::NodePath(), |
||
| const DtIndirectSwitchManager::DequeNodeSwitchInfoPairs & | switchStack = DtIndirectSwitchManager::DequeNodeSwitchInfoPairs(), |
||
| const DtIndirectDofManager::DequeNodeDofInfoPairs & | dofStack = DtIndirectDofManager::DequeNodeDofInfoPairs() |
||
| ) |
Constructor.
| makVrv::DtIndirectGeometryInstance::~DtIndirectGeometryInstance | ( | ) |
Destructor - not virtual since this is just a container class and should not be used as a base class.
| makVrv::DtIndirectGeometryInstance::DtIndirectGeometryInstance | ( | const DtIndirectGeometryInstance & | other | ) |
Copy Constructor.
| DtIndirectGeometryInstance& makVrv::DtIndirectGeometryInstance::operator= | ( | const DtIndirectGeometryInstance & | other | ) |
Assignment Operator.
| void makVrv::DtIndirectGeometryInstance::setModelId | ( | int | id | ) |
set/get the model id which specifies which model id in the registrar is associated with this instance
| int makVrv::DtIndirectGeometryInstance::modelId | ( | ) | const |
| void makVrv::DtIndirectGeometryInstance::setXForm | ( | const osg::Matrixd & | xForm | ) |
set/get the transform for this instance which moves the instance from local space to
| const osg::Matrixd& makVrv::DtIndirectGeometryInstance::xForm | ( | ) | const |
| void makVrv::DtIndirectGeometryInstance::setLodStack | ( | const DtIndirectLodManager::DequeIndirectLodInfos & | lodStack | ) |
set/get lod stack for this instance which is passed to the indirect compute shader
| const DtIndirectLodManager::DequeIndirectLodInfos& makVrv::DtIndirectGeometryInstance::lodStack | ( | ) | const |
| void makVrv::DtIndirectGeometryInstance::setSwitchStack | ( | const DtIndirectSwitchManager::DequeNodeSwitchInfoPairs & | switchStack | ) |
set/get the switch stack for this instance which is used by the switch manager to know which switches are associated with this instance
| const DtIndirectSwitchManager::DequeNodeSwitchInfoPairs& makVrv::DtIndirectGeometryInstance::switchStack | ( | ) | const |
| void makVrv::DtIndirectGeometryInstance::setDofStack | ( | const DtIndirectDofManager::DequeNodeDofInfoPairs & | dofStack | ) |
set/get the dof stack for this instance which is used by the dof manager to setup the dofs for this instance
| const DtIndirectDofManager::DequeNodeDofInfoPairs& makVrv::DtIndirectGeometryInstance::dofStack | ( | ) | const |
| void makVrv::DtIndirectGeometryInstance::setNodePath | ( | const osg::NodePath & | nodePath | ) |
set/get the node path for this instance which is used by the switch manager to know if a dynamic terrain switch is changed
| const osg::NodePath& makVrv::DtIndirectGeometryInstance::nodePath | ( | ) | const |
| void makVrv::DtIndirectGeometryInstance::setId | ( | int | id | ) |
set/get the unique to this indirect geometry model id. Monotomically increasing.
| int makVrv::DtIndirectGeometryInstance::id | ( | void | ) | const |
| void makVrv::DtIndirectGeometryInstance::setModelScale | ( | float | val | ) |
set/get the model scale
| float makVrv::DtIndirectGeometryInstance::modelScale | ( | ) | const |
| void makVrv::DtIndirectGeometryInstance::setModelRadius | ( | float | val | ) |
set/get the model radius
| float makVrv::DtIndirectGeometryInstance::modelRadius | ( | ) | const |
| void makVrv::DtIndirectGeometryInstance::setModelInfo | ( | const DtAggregateModelInfo * | info | ) |
set/get the model info from the registrar is associated this instance, needs to be cached
| const DtAggregateModelInfo* makVrv::DtIndirectGeometryInstance::modelInfo | ( | ) | const |
| void makVrv::DtIndirectGeometryInstance::setLightPointGroupId | ( | int | lightPointGroupId | ) |
set/get the light point group id. This per instance value is currently only used by aerodrome runways.
| const int makVrv::DtIndirectGeometryInstance::lightPointGroupId | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |