VR-Forces Developer's Guide
 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

Public Member Functions

 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())
 
 ~DtIndirectGeometryInstance ()
 
 DtIndirectGeometryInstance (const DtIndirectGeometryInstance &other)
 
DtIndirectGeometryInstanceoperator= (const DtIndirectGeometryInstance &other)
 
void setModelId (int id)
 
int modelId () const
 
void setXForm (const osg::Matrixd &xForm)
 
const osg::Matrixd & xForm () const
 
void setLodStack (const DtIndirectLodManager::DequeIndirectLodInfos &lodStack)
 
const
DtIndirectLodManager::DequeIndirectLodInfos
lodStack () const
 
void setSwitchStack (const DtIndirectSwitchManager::DequeNodeSwitchInfoPairs &switchStack)
 
const
DtIndirectSwitchManager::DequeNodeSwitchInfoPairs
switchStack () const
 
void setDofStack (const DtIndirectDofManager::DequeNodeDofInfoPairs &dofStack)
 
const
DtIndirectDofManager::DequeNodeDofInfoPairs
dofStack () const
 
void setNodePath (const osg::NodePath &nodePath)
 
const osg::NodePath & nodePath () const
 
void setId (int id)
 
int id (void) const
 
void setModelScale (float val)
 
float modelScale () const
 
void setModelRadius (float val)
 
float modelRadius () const
 
void setModelInfo (const DtIndirectModelInfo *info)
 
const DtIndirectModelInfomodelInfo () const
 
void setLightPointGroupId (int lightPointGroupId)
 
const int lightPointGroupId () const
 
void setTracking (bool trackLifeTime, const std::string &trackName)
 
std::pair< bool, std::string > tracking () const
 
void setVisibility (bool visible)
 
bool isVisible () 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 DtIndirectModelInfomyModelInfo
 
int myLightPointGroupId
 
bool myVisibility
 
bool myTrackLifeTime
 
std::string myTrackName
 

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

set/get 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/get the transform for this instance which moves the instance from local space to

const osg::Matrixd& makVrv::DtIndirectGeometryInstance::xForm ( ) const

set/get the transform for this instance which moves the instance from local space to

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

set/get lod stack for this instance which is passed to the indirect compute shader

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

set/get the switch stack for this instance which is used by the switch manager to know which switches are associated with this instance

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

set/get the dof stack for this instance which is used by the dof manager to setup the dofs for this instance

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

set/get 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::setId ( int  id)

set/get the unique to this indirect geometry model id. Monotomically increasing.

int makVrv::DtIndirectGeometryInstance::id ( void  ) const

set/get the unique to this indirect geometry model id. Monotomically increasing.

void makVrv::DtIndirectGeometryInstance::setModelScale ( float  val)

set/get the model scale

float makVrv::DtIndirectGeometryInstance::modelScale ( ) const

set/get the model scale

void makVrv::DtIndirectGeometryInstance::setModelRadius ( float  val)

set/get the model radius

float makVrv::DtIndirectGeometryInstance::modelRadius ( ) const

set/get the model radius

void makVrv::DtIndirectGeometryInstance::setModelInfo ( const DtIndirectModelInfo info)

set/get the model info from the registrar is associated this instance, needs to be cached

const DtIndirectModelInfo* makVrv::DtIndirectGeometryInstance::modelInfo ( ) const

set/get the model info from the registrar is associated this instance, needs to be cached

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

set/get the light point group id. This per instance value is currently only used by aerodrome runways.

void makVrv::DtIndirectGeometryInstance::setTracking ( bool  trackLifeTime,
const std::string &  trackName 
)
std::pair<bool, std::string> makVrv::DtIndirectGeometryInstance::tracking ( ) const
void makVrv::DtIndirectGeometryInstance::setVisibility ( bool  visible)
bool makVrv::DtIndirectGeometryInstance::isVisible ( ) 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 DtIndirectModelInfo* makVrv::DtIndirectGeometryInstance::myModelInfo
protected
int makVrv::DtIndirectGeometryInstance::myLightPointGroupId
protected
bool makVrv::DtIndirectGeometryInstance::myVisibility
protected
bool makVrv::DtIndirectGeometryInstance::myTrackLifeTime
protected
std::string makVrv::DtIndirectGeometryInstance::myTrackName
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)