![]() |
VR-Forces Developer's Guide
|
Currently these are not thread safe in Vantage, so, override here to provide thread safety around add and remove model.

Public Member Functions | |
| DtVrfEntityWheelManager (makVrv::DtDe &de) | |
| virtual void | addModel (makVrv::DtOsgArticulatedModel &model, makVrv::DtUniqueID uniqueId, makVrv::DtUniqueID elementId) override |
| virtual void | removeModel (makVrv::DtOsgArticulatedModel &model) override |
Public Member Functions inherited from makVrv::DtEntityWheelManager | |
| DtEntityWheelManager (DtDe &de) | |
| virtual | ~DtEntityWheelManager () |
| virtual int | numModels () const |
| virtual int | wheelSetNum (const int sisoValue) const |
| virtual WheelInfo::WheelSide | wheelSide (const int sisoValue) const |
| virtual bool | hasWheels (const DtOsgArticulatedModel &model) const |
| virtual std::vector< int > | listWheelParts (const DtOsgArticulatedModel &model) |
| virtual std::string | toString (const int sisoValue) const |
| virtual bool | isWheel (const int sisoValue) const |
| virtual double | computeRadius (const int sisoValue, const DtArticulatedModelParser::PartMap &partIdToNode) |
| virtual double | defaultWheelRadius () const |
| virtual void | setDefaultWheelRadius (double wheelRadius) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Protected Attributes | |
| tbb::spin_rw_mutex | myMutex |
Protected Attributes inherited from makVrv::DtEntityWheelManager | |
| DtDe & | myDe |
| double | myDefaultWheelRadius |
| std::set< int > | myWheelPartIds |
| osg::ComputeBoundsVisitor | myComputerBoundsVisitor |
| DtEntityWheelUpdater * | myWheelUpdater |
| std::unordered_map < DtOsgArticulatedModel *, DtEntityWheelData > | myEntityToWheelDataMap |
| std::unordered_map < DtOsgArticulatedModel *, DtEntityWheelDataCommon > | myEntityWheelFlipBookMap |
| std::unordered_map < DtOsgArticulatedModel *, DtEntityWheelDataCommon > | myEntityWheelScrollableTextureMap |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtEntityWheelManager | |
| static DtEntityWheelManager & | instance (DtDe &de) |
| static void | registerInstance (DtDe &de, DtEntityWheelManager *manager) |
| static const std::string & | theClassName () |
Protected Member Functions inherited from makVrv::DtEntityWheelManager | |
| virtual void | addWheels (DtOsgArticulatedModel &model) |
| DtVrfEntityWheelManager::DtVrfEntityWheelManager | ( | makVrv::DtDe & | de | ) |
|
overridevirtual |
Add a model which will have its wheel rotating.
Reimplemented from makVrv::DtEntityWheelManager.
|
overridevirtual |
Remove the art part ids associated with this model from the DtEntityWheelManager.
Reimplemented from makVrv::DtEntityWheelManager.
|
protected |