![]() |
VR-Forces Development_Version 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. | |
| typedef std::map< unsigned int, InstancedPartVec > | PartToInstancedPartMap |
| Model definition cache of part ID -> instanced index. | |
Static Public Member Functions | |
| static void | registerIfNecessary (DtModelDefinition &modelDef, DtDe &de, DtOsgModelInstance &mi, DtVector &boundMinOut, DtVector &boundMaxOut, AnnotationCache *&annotationCacheOut, BoundingBoxCache *&boundingBoxCacheOut, AnimationMapCache *&animationMapCacheOut, PartMapCache &partMapCacheOut, PartMapCache &stateMapCacheOut) |
| Register a model with the instanced renderer if necessary, and return its metadata. | |
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
|
static |
Register a model with the instanced renderer if necessary, and return its metadata.