![]() |
VR-Forces 4.8 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()) | |
| 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 the model id which specifies which model id in the registrar is associated with this instance More... | |
| void | setXForm (const osg::Matrixd &xForm) |
| set the transform for this instance which moves the instance from local space to More... | |
| void | setLodStack (const DtIndirectLodManager::DequeIndirectLodInfos &lodStack) |
| set the lod info for this instance which is passed to the indirect compute shader More... | |
| void | setNodePath (const osg::NodePath &nodePath) |
| set the node path for this instance which is used by the switch manager to know if a dynamic terrain switch is changed More... | |
| void | setSwitchStack (const DtIndirectSwitchManager::DequeNodeSwitchInfoPairs &switchStack) |
| set the switch stack for this instance which is used by the switch manager to know which switches are associated with this instance More... | |
| int | modelId () const |
| get the model id which specifies which model id in the registrar is associated with this instance More... | |
| DtAggregateModelInfo * | modelInfo () const |
| get the model info from the registrar is associated this instance, needs to be cached More... | |
| void | setModelInfo (DtAggregateModelInfo *info) |
| set the model info from the registrar More... | |
| const osg::Matrixd & | xForm () const |
| get the transform for this instance which moves the instance from local space to More... | |
| const DtIndirectLodManager::DequeIndirectLodInfos & | lodStack () const |
| get the lod info for this instance which is passed to the indirect compute shader More... | |
| const osg::NodePath & | nodePath () const |
| 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 DtIndirectSwitchManager::DequeNodeSwitchInfoPairs & | switchStack () const |
| get the switch stack for this instance which is used by the switch manager to know which switches are associated with this instance More... | |
Protected Attributes | |
| int | myModelId |
| osg::Matrixd | myXForm |
| DtIndirectLodManager::DequeIndirectLodInfos | myLodStack |
| osg::NodePath | myNodePath |
| DtIndirectSwitchManager::DequeNodeSwitchInfoPairs | mySwitchStack |
| DtAggregateModelInfo * | myModelInfo |
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() |
||
| ) |
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 the model id which specifies which model id in the registrar is associated with this instance
| void makVrv::DtIndirectGeometryInstance::setXForm | ( | const osg::Matrixd & | xForm | ) |
set the transform for this instance which moves the instance from local space to
| void makVrv::DtIndirectGeometryInstance::setLodStack | ( | const DtIndirectLodManager::DequeIndirectLodInfos & | lodStack | ) |
set the lod info for this instance which is passed to the indirect compute shader
| void makVrv::DtIndirectGeometryInstance::setNodePath | ( | const osg::NodePath & | nodePath | ) |
set the node path for this instance which is used by the switch manager to know if a dynamic terrain switch is changed
| void makVrv::DtIndirectGeometryInstance::setSwitchStack | ( | const DtIndirectSwitchManager::DequeNodeSwitchInfoPairs & | switchStack | ) |
set the switch stack for this instance which is used by the switch manager to know which switches are associated with this instance
| int makVrv::DtIndirectGeometryInstance::modelId | ( | ) | const |
get the model id which specifies which model id in the registrar is associated with this instance
| DtAggregateModelInfo* makVrv::DtIndirectGeometryInstance::modelInfo | ( | ) | const |
get the model info from the registrar is associated this instance, needs to be cached
| void makVrv::DtIndirectGeometryInstance::setModelInfo | ( | DtAggregateModelInfo * | info | ) |
set the model info from the registrar
| const osg::Matrixd& makVrv::DtIndirectGeometryInstance::xForm | ( | ) | const |
get the transform for this instance which moves the instance from local space to
| const DtIndirectLodManager::DequeIndirectLodInfos& makVrv::DtIndirectGeometryInstance::lodStack | ( | ) | const |
get the lod info for this instance which is passed to the indirect compute shader
| const osg::NodePath& makVrv::DtIndirectGeometryInstance::nodePath | ( | ) | const |
get the node path for this instance which is used by the switch manager to know if a dynamic terrain switch is changed
| const DtIndirectSwitchManager::DequeNodeSwitchInfoPairs& makVrv::DtIndirectGeometryInstance::switchStack | ( | ) | const |
get the switch stack for this instance which is used by the switch manager to know which switches are associated with this instance
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |