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 | Public Attributes | Private Member Functions
makVrv::DtIndirectEntityManagerInstance Class Reference

internal structure for mapping a DtOsgArticulatedModel/DtOsgSimpleModel object to a corresponding instance within the indirect geometry More...

Public Member Functions

 DtIndirectEntityManagerInstance (const DtModelDefinition &modelDefinition, const DtOsgModelInstance &modelInstance, int modelSet, float modelScale, float modelRadius, bool mapDofsSwitchesSequences, const std::string &modelName, const int modelId, const int lightPointGroupId)
 constructor More...
 
 DtIndirectEntityManagerInstance (const DtIndirectEntityManagerInstance &rhs)
 copy constructor More...
 
virtual ~DtIndirectEntityManagerInstance ()
 destructor More...
 

Public Attributes

int myInstanceIdInIndirectGeometry
 These are not constants for the duration of this instance within the indirect entity manager we change them when we move instances from one indirect geometry to another. More...
 
osg::ref_ptr< DtIndirectGeometrymyIndirectGeometry
 the indirect geometry to which this instance belongs to Purposely hold a reference to avoid DtIndirectGeometry from being deleted from underneath somehow (page out/reload etc) More...
 
Vector3_int myCellId
 the cell id within the grid More...
 
const std::string myModelName
 These are constants for the duration of this instance within the indirect entity manager. More...
 
const int myModelId
 the model id More...
 
const float myModelScale
 scale More...
 
const float myModelRadius
 radius More...
 
const DtModelDefinitionmyModelDefinition
 reference to the model definition More...
 
const DtOsgModelInstancemyModelInstance
 reference to the model instance More...
 
const int myModelSet
 model set More...
 
const bool myMapDofsSwitchesSequences
 whether dofs, switches, sequences are to be mapped typically: true for articulated model, false for simple model More...
 
const int myLightPointGroupId
 

Private Member Functions

 DtIndirectEntityManagerInstance ()=delete
 not allowed More...
 
DtIndirectEntityManagerInstanceoperator= (const DtIndirectEntityManagerInstance &rhs)=delete
 assignment More...
 

Detailed Description

internal structure for mapping a DtOsgArticulatedModel/DtOsgSimpleModel object to a corresponding instance within the indirect geometry

Constructor & Destructor Documentation

makVrv::DtIndirectEntityManagerInstance::DtIndirectEntityManagerInstance ( const DtModelDefinition modelDefinition,
const DtOsgModelInstance modelInstance,
int  modelSet,
float  modelScale,
float  modelRadius,
bool  mapDofsSwitchesSequences,
const std::string &  modelName,
const int  modelId,
const int  lightPointGroupId 
)

constructor

makVrv::DtIndirectEntityManagerInstance::DtIndirectEntityManagerInstance ( const DtIndirectEntityManagerInstance rhs)

copy constructor

virtual makVrv::DtIndirectEntityManagerInstance::~DtIndirectEntityManagerInstance ( )
virtual

destructor

makVrv::DtIndirectEntityManagerInstance::DtIndirectEntityManagerInstance ( )
privatedelete

not allowed

Member Function Documentation

DtIndirectEntityManagerInstance& makVrv::DtIndirectEntityManagerInstance::operator= ( const DtIndirectEntityManagerInstance rhs)
privatedelete

assignment

Member Data Documentation

int makVrv::DtIndirectEntityManagerInstance::myInstanceIdInIndirectGeometry

These are not constants for the duration of this instance within the indirect entity manager we change them when we move instances from one indirect geometry to another.

id within the indirect geometry

osg::ref_ptr<DtIndirectGeometry> makVrv::DtIndirectEntityManagerInstance::myIndirectGeometry

the indirect geometry to which this instance belongs to Purposely hold a reference to avoid DtIndirectGeometry from being deleted from underneath somehow (page out/reload etc)

Vector3_int makVrv::DtIndirectEntityManagerInstance::myCellId

the cell id within the grid

const std::string makVrv::DtIndirectEntityManagerInstance::myModelName

These are constants for the duration of this instance within the indirect entity manager.

the model name. comes from the model definition

const int makVrv::DtIndirectEntityManagerInstance::myModelId

the model id

const float makVrv::DtIndirectEntityManagerInstance::myModelScale

scale

const float makVrv::DtIndirectEntityManagerInstance::myModelRadius

radius

const DtModelDefinition& makVrv::DtIndirectEntityManagerInstance::myModelDefinition

reference to the model definition

const DtOsgModelInstance& makVrv::DtIndirectEntityManagerInstance::myModelInstance

reference to the model instance

const int makVrv::DtIndirectEntityManagerInstance::myModelSet

model set

const bool makVrv::DtIndirectEntityManagerInstance::myMapDofsSwitchesSequences

whether dofs, switches, sequences are to be mapped typically: true for articulated model, false for simple model

const int makVrv::DtIndirectEntityManagerInstance::myLightPointGroupId

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)