VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtVrfEntityWheelManager Class Reference

Currently these are not thread safe in Vantage, so, override here to provide thread safety around add and remove model.

Inheritance diagram for DtVrfEntityWheelManager:
Inheritance graph
[legend]

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< intlistWheelParts (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
DtDemyDe
 
double myDefaultWheelRadius
 
std::set< intmyWheelPartIds
 
osg::ComputeBoundsVisitor myComputerBoundsVisitor
 
DtEntityWheelUpdatermyWheelUpdater
 
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 DtEntityWheelManagerinstance (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)
 

Constructor & Destructor Documentation

DtVrfEntityWheelManager::DtVrfEntityWheelManager ( makVrv::DtDe de)

Member Function Documentation

virtual void DtVrfEntityWheelManager::addModel ( makVrv::DtOsgArticulatedModel model,
makVrv::DtUniqueID  uniqueId,
makVrv::DtUniqueID  elementId 
)
overridevirtual

Add a model which will have its wheel rotating.

Reimplemented from makVrv::DtEntityWheelManager.

virtual void DtVrfEntityWheelManager::removeModel ( makVrv::DtOsgArticulatedModel model)
overridevirtual

Remove the art part ids associated with this model from the DtEntityWheelManager.

Reimplemented from makVrv::DtEntityWheelManager.

Member Data Documentation

tbb::spin_rw_mutex DtVrfEntityWheelManager::myMutex
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)