![]() |
VR-Forces 4.8 Class Documentation
|
Contains definitions of types used to store instanced model metadata in model definitions and utility functions to store/retrieve it as well as get a model ready for instancing. More...
Classes | |
| class | AnimationMapCache |
| Model definition cache of sequence name -> instanced index. More... | |
| class | AnnotationCache |
| Model definition cache mapping annotation strings to instanced drawable ranges. More... | |
| class | BoundingBoxCache |
| Model Definition cache of bounding box information for instanced models. More... | |
| class | PartMapCache |
Public Types | |
| typedef std::map< std::string, unsigned int > | InstancedAnimationMap |
| typedef std::vector< ArrayRange > | ArrayRangeList |
| typedef std::map< std::string, ArrayRangeList > | InstancedAnnotationMap |
| typedef std::vector< unsigned int > | InstancedPartVec |
| List of instanced part IDs. More... | |
| typedef std::map< unsigned int, InstancedPartVec > | PartToInstancedPartMap |
| Model definition cache of part ID -> instanced index. More... | |
Static Public Member Functions | |
| static void | prepDefinitionForInstancing (DtModelDefinition &modelDef, DtDe &de) |
| needed to run in a background thread More... | |
| static void | registerIfNecessary (DtModelDefinition &modelDef, DtDe &de, DtOsgModelInstance &mi, DtVector &boundMinOut, DtVector &boundMaxOut, AnnotationCache *&annotationCacheOut, BoundingBoxCache *&boundingBoxCacheOut, AnimationMapCache *&animationMapCacheOut, PartMapCache *&partMapCacheOut, PartMapCache *&stateMapCacheOut, bool daylightControlledLights) |
| Register a model with the instanced renderer if necessary, and return its metadata. More... | |
Protected Types | |
| typedef std::set< osg::Node * > | NodeSet |
Static Protected Member Functions | |
| static void | runObjectCreationSubTasks (DtModelDefinition &modelDef, DtDe &de, osg::Node *root) |
| sub tasks for prepping More... | |
Static Protected Attributes | |
| static boost::mutex | theNodeProcessingSetMutex |
| static NodeSet | theNodeProcessingSet |
| static boost::condition_variable | theNodeProcessingCondition |
Contains definitions of types used to store instanced model metadata in model definitions and utility functions to store/retrieve it as well as get a model ready for instancing.
| typedef std::map<std::string, unsigned int> makVrv::DtInstanceUtils::InstancedAnimationMap |
| typedef std::vector<ArrayRange> makVrv::DtInstanceUtils::ArrayRangeList |
| typedef std::map<std::string, ArrayRangeList> makVrv::DtInstanceUtils::InstancedAnnotationMap |
| typedef std::vector<unsigned int> makVrv::DtInstanceUtils::InstancedPartVec |
List of instanced part IDs.
| typedef std::map<unsigned int, InstancedPartVec> makVrv::DtInstanceUtils::PartToInstancedPartMap |
Model definition cache of part ID -> instanced index.
Maps the WRM part ID to the corresponding index into the instanced model's DOF or switch states
|
protected |
|
static |
needed to run in a background thread
|
static |
Register a model with the instanced renderer if necessary, and return its metadata.
|
staticprotected |
sub tasks for prepping
|
staticprotected |
|
staticprotected |
|
staticprotected |