VR-Forces 4.10 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(), 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...
 
DtIndirectGeometryInstanceoperator= (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 DtAggregateModelInfomodelInfo () 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 DtAggregateModelInfomyModelInfo
 
int myLightPointGroupId
 

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(),
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.

Member Function Documentation

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

Member Data Documentation

int makVrv::DtIndirectGeometryInstance::myId
protected
int makVrv::DtIndirectGeometryInstance::myModelId
protected
osg::Matrixd makVrv::DtIndirectGeometryInstance::myXForm
protected
float makVrv::DtIndirectGeometryInstance::myModelScale
protected
float makVrv::DtIndirectGeometryInstance::myModelRadius
protected
DtIndirectLodManager::DequeIndirectLodInfos makVrv::DtIndirectGeometryInstance::myLodStack
protected
osg::NodePath makVrv::DtIndirectGeometryInstance::myNodePath
protected
DtIndirectSwitchManager::DequeNodeSwitchInfoPairs makVrv::DtIndirectGeometryInstance::mySwitchStack
protected
DtIndirectDofManager::DequeNodeDofInfoPairs makVrv::DtIndirectGeometryInstance::myDofStack
protected
const DtAggregateModelInfo* makVrv::DtIndirectGeometryInstance::myModelInfo
protected
int makVrv::DtIndirectGeometryInstance::myLightPointGroupId
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)