![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtAnimationModel.h,v $ $Revision: 1.17 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtAnimationModel_H_ 00014 #define DtAnimationModel_H_ 00015 00016 #include <vrvCore/vrvCore.h> 00017 #include <vrvCore/DtModel.h> 00018 00019 #include <matrix/vlVector.h> 00020 00021 namespace makVrv 00022 { 00023 class DtAnimationModelInstance; 00024 00027 class DT_DLL_VRVCORE DtAnimationModel : public DtModel 00028 { 00029 public: 00030 00032 DtAnimationModel(DtDe& de, DtUniqueID id); 00033 00035 virtual ~DtAnimationModel(); 00036 00039 virtual std::string className() const = 0; 00040 00042 virtual void setDuration(double seconds) = 0; 00043 00045 virtual void stop() = 0; 00046 00048 virtual void start() = 0; 00049 00051 virtual void pause() = 0; 00052 00054 virtual void resume() = 0; 00055 00057 virtual void setLoopMode(bool loopOn) = 0; 00058 00060 virtual void setReverseAnimation(bool reverse) = 0; 00061 00062 protected: 00063 00064 }; 00065 } 00066 00067 #endif 00068