![]() |
VR-Forces 4.0.4 Class Documentation
|
A model of an animation (osg::Sequence in this case) More...

Public Member Functions | |
| DtAnimationModel (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtAnimationModel () |
| DTOR. | |
| virtual std::string | className () const =0 |
| Get the class name of the model instance owner. | |
| virtual void | setDuration (double seconds)=0 |
| Set the duration of the effect. | |
| virtual void | stop ()=0 |
| Tell the model to stop emitting particles. | |
| virtual void | start ()=0 |
| Tell the model to start emitting particles. | |
| virtual void | pause ()=0 |
| Freeze the particle emitters. | |
| virtual void | resume ()=0 |
| Resume the animation. | |
| virtual void | setLoopMode (bool loopOn)=0 |
| Set the animation to loop or not. | |
| virtual void | setReverseAnimation (bool reverse)=0 |
| Set the animation to run in reverse or not. | |
A model of an animation (osg::Sequence in this case)
| makVrv::DtAnimationModel::DtAnimationModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
| virtual makVrv::DtAnimationModel::~DtAnimationModel | ( | ) | [virtual] |
DTOR.
| virtual std::string makVrv::DtAnimationModel::className | ( | ) | const [pure virtual] |
Get the class name of the model instance owner.
This is used to control how model instances are created.
Reimplemented from makVrv::DtModel.
Implemented in makVrv::DtOsgAnimationModel.
| virtual void makVrv::DtAnimationModel::setDuration | ( | double | seconds | ) | [pure virtual] |
Set the duration of the effect.
Implemented in makVrv::DtOsgAnimationModel.
| virtual void makVrv::DtAnimationModel::stop | ( | ) | [pure virtual] |
Tell the model to stop emitting particles.
Implemented in makVrv::DtOsgAnimationModel.
| virtual void makVrv::DtAnimationModel::start | ( | ) | [pure virtual] |
Tell the model to start emitting particles.
Implemented in makVrv::DtOsgAnimationModel.
| virtual void makVrv::DtAnimationModel::pause | ( | ) | [pure virtual] |
Freeze the particle emitters.
Implemented in makVrv::DtOsgAnimationModel.
| virtual void makVrv::DtAnimationModel::resume | ( | ) | [pure virtual] |
Resume the animation.
Implemented in makVrv::DtOsgAnimationModel.
| virtual void makVrv::DtAnimationModel::setLoopMode | ( | bool | loopOn | ) | [pure virtual] |
Set the animation to loop or not.
Implemented in makVrv::DtOsgAnimationModel.
| virtual void makVrv::DtAnimationModel::setReverseAnimation | ( | bool | reverse | ) | [pure virtual] |
Set the animation to run in reverse or not.
Implemented in makVrv::DtOsgAnimationModel.