![]() |
VR-Forces 4.3 Class Documentation
|
A factory for creating motion models (DtApproximator is the VR-Link motion model base class). More...

Public Member Functions | |
| virtual | ~DtMotionModelFactory () |
| DTOR. | |
| virtual void | addMotionModelCreator (const std::string &creatorName, DtMotionModelCreator *creator) |
| Add a host connection creator. | |
| virtual void | setDefaultMotionModel (const std::string &creatorName) |
| Set the default motion model name. | |
| virtual void | removeModelModelCreator (const std::string &creatorName) |
| Add a host connection creator. | |
| DtMotionModel * | createMotionModel (DtSceneObject *owner, const std::string &creatorName) |
| Create a new motion model. | |
| void | getMotionModelClasses (std::vector< std::string > &classes) const |
| Get the registered motion model classes. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtMotionModelFactory & | instance (DtDe &) |
| Static instance function. | |
Protected Types | |
| typedef std::map< std::string, DtMotionModelCreator * > | CreatorMap |
Protected Member Functions | |
| DtMotionModelFactory (DtDe &de) | |
| CTOR. | |
Protected Attributes | |
| DtDe & | myDe |
| CreatorMap | myCreators |
A factory for creating motion models (DtApproximator is the VR-Link motion model base class).
|
protected |
|
virtual |
DTOR.
|
protected |
CTOR.
|
static |
Static instance function.
|
virtual |
Add a host connection creator.
| DtCorruptedState | if the creator is NULL. |
|
virtual |
Set the default motion model name.
|
virtual |
Add a host connection creator.
| DtMotionModel* makVrv::DtMotionModelFactory::createMotionModel | ( | DtSceneObject * | owner, |
| const std::string & | creatorName | ||
| ) |
Create a new motion model.
| void makVrv::DtMotionModelFactory::getMotionModelClasses | ( | std::vector< std::string > & | classes | ) | const |
Get the registered motion model classes.
|
protected |
|
protected |