19 #include <unordered_map>
24 class DtOsgArticulatedModel;
27 class DtEntityRotorData;
virtual ~DtEntityRotorManager()
destructor
Virtual base class.
Definition: DtVirtualBaseClass.h:19
static void registerInstance(DtDe &de, DtEntityRotorManager *manager)
register with the de
bool hasRotors(DtOsgArticulatedModel &model) const
does it have any rotors?
static const std::string & theClassName()
Get the name used to register this class.
virtual void removeModel(DtOsgArticulatedModel &model)
Remove the art part ids associated with this model from the DtEntityWheelManager. ...
An articulated model manipulator for controlling an articulated model.
Definition: DtOsgArticulatedModel.h:67
DtEntityRotorManager & operator=(const DtEntityRotorManager)=delete
not allowed
class to update the map of entities to their rotor datas via the tickable interface ...
Definition: DtRotorUpdater.h:26
DtDe & myDe
Definition: DtEntityRotorManager.h:72
virtual void addModel(DtOsgArticulatedModel &model, DtUniqueID uniqueId, DtUniqueID elementId)
Add a model which will have some rotors.
Contains makVrv::DtVirtualBaseClass class.
std::unordered_map< DtOsgArticulatedModel *, DtEntityRotorData * > myEntityToRotorState
Definition: DtEntityRotorManager.h:78
static DtEntityRotorManager & instance(DtDe &de)
get the instance
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtEntityRotorManager()=delete
not allowed
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Base class to provide boost signal/slot management.
Contains makVrv::DtUniqueID type.
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtSignalConnectionManager myConnections
Definition: DtEntityRotorManager.h:74
virtual void slot_setState(DtOsgArticulatedModel *articulatedModel, int stateNumber, int stateValue)
slot to listen in on the state changes of the articulated model
DtRotorUpdater * myRotorUpdater
Definition: DtEntityRotorManager.h:76
class to manage rotors of each model and their corresponding rotors' states
Definition: DtEntityRotorManager.h:30