![]() |
VR-Forces 4.10 Class Documentation
|
The DtVrfGuiModelManager is a simple wrapper around the DtVrfModelManager that can be used to instantiate in a de. More...

Public Member Functions | |
| DtVrfGuiModelManager (makVrv::DtDe &de) | |
| Constructor. More... | |
| virtual | ~DtVrfGuiModelManager () |
| Destructor. More... | |
Public Member Functions inherited from DtVrfModelManager | |
| DtVrfModelManager (makVrv::DtDe *de=0) | |
| virtual | ~DtVrfModelManager () |
| virtual bool | loadVisuals (const DtScenarioExplorer &, bool force=false) |
| Loads the visuals from the given simulation model set and appData directory as defined in DtAppPathResolver. More... | |
| virtual DtFilename | modelFilename (const DtEntityType &) |
| Returns the model file used for the given model. More... | |
| virtual ArticulatedParts | articulatedPartsFor (const DtEntityType &) |
| virtual ArticulatedParts | articulatedPartsFor (const DtFilename &, const DtVector &positionOffset=DtVector::zero(), const DtTaitBryan &orientationOffset=DtTaitBryan(), const DtFilename &source=DtFilename()) |
| Return the articulated parts of the model referenced by the filename. More... | |
| virtual std::vector < ModelInformation > | modelDefinitionsFor (const DtEntityType &objectType) const |
| Returns the model definition for the given entity type. More... | |
| virtual makVrv::DtModelDefinition * | modelDefinitionFromFilename (const DtFilename &) |
| virtual ModelStates | modelStatesFor (const DtEntityType &objectType) |
| virtual ModelStates | modelStatesFor (const DtFilename &f) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtVrfGuiModelManager & | instance (makVrv::DtDe &de) |
| static void | registerInstance (makVrv::DtDe &de, DtVrfGuiModelManager *) |
Additional Inherited Members | |
Public Types inherited from DtVrfModelManager | |
| typedef std::map< int, DtVrfModelArticulatedPart > | ArticulatedParts |
| Returns the articulated part mappings for the given entity type. More... | |
| typedef std::map< int, std::vector< int > > | ModelStates |
| Returns a list of potential model states and their state (i.e. lights, etc) More... | |
Protected Types inherited from DtVrfModelManager | |
| typedef std::set< DtFilename > | SimulationModelSetVisuals |
| typedef std::map< std::string, ArticulatedParts > | ArticulatedPartsByFilename |
| typedef std::map< std::string, std::string > | ModelDefinitionsByFilename |
| typedef std::map< std::string, ModelStates > | ModelStatesByFilename |
Protected Member Functions inherited from DtVrfModelManager | |
| virtual bool | loadVisuals (DtSimulationModelSet *) |
| Loads visuals from the given SMS. More... | |
| virtual bool | load (const DtFilename &directory, const DtString &root) |
| virtual bool | load (const DtFilename &original, const DtString &root, int type) |
| virtual bool | loadMapper (const DtFilename &original, const DtString &root, int mapType) |
| virtual void | removeMappings (makVrv::DtEntityTypeMapper &mapper, const makArchives::DtEntityTypeMappingRecord &record) const |
| virtual void | updateUnknowns () |
| virtual bool | isUnknown (std::vector< std::string >) const |
| virtual DtVrfModelArticulatedPart | articulatedPartInformationFor (int part, DtVrfOsgArticulatedModel &, const DtVector &positionOffset=DtVector::zero(), const DtTaitBryan &orientationOffset=DtTaitBryan()) const |
| virtual void | fillInModelInformationFor (const DtFilename &original, const DtVector &positionOffset=DtVector::zero(), const DtTaitBryan &orientationOffset=DtTaitBryan(), const DtFilename &source=DtFilename()) |
Protected Attributes inherited from DtVrfModelManager | |
| makVrv::DtDe * | myDe |
| bool | myOwnsDe |
| SimulationModelSetVisuals | mySimulationModelSetVisuals |
| ArticulatedPartsByFilename | myArticulatedPartsByFilename |
| ModelDefinitionsByFilename | myModelDefinitionsByFilename |
| ModelStatesByFilename | myModelStatesByFilename |
| std::set< std::string > | myUnknowns |
| tbb::mutex | myMutex |
The DtVrfGuiModelManager is a simple wrapper around the DtVrfModelManager that can be used to instantiate in a de.
| makVrf::DtVrfGuiModelManager::DtVrfGuiModelManager | ( | makVrv::DtDe & | de | ) |
Constructor.
|
virtual |
Destructor.
|
static |
|
static |