VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtIndirectGeometryInstance Class Reference

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...
 
DtIndirectGeometryInstanceoperator= (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...
 
DtAggregateModelInfomodelInfo () 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
 
DtAggregateModelInfomyModelInfo
 

Detailed Description

non virtual container class for holding the information needed to create an indirect geometry instance

Constructor & Destructor Documentation

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.

Member Function Documentation

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

Member Data Documentation

int makVrv::DtIndirectGeometryInstance::myModelId
protected
osg::Matrixd makVrv::DtIndirectGeometryInstance::myXForm
protected
DtIndirectLodManager::DequeIndirectLodInfos makVrv::DtIndirectGeometryInstance::myLodStack
protected
osg::NodePath makVrv::DtIndirectGeometryInstance::myNodePath
protected
DtIndirectSwitchManager::DequeNodeSwitchInfoPairs makVrv::DtIndirectGeometryInstance::mySwitchStack
protected
DtAggregateModelInfo* makVrv::DtIndirectGeometryInstance::myModelInfo
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)