![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtParticleSystemModel.h,v $ $Revision: 1.17 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtParticleSystemModel_H_ 00014 #define DtParticleSystemModel_H_ 00015 00016 #include <vrvCore/vrvCore.h> 00017 #include <vrvCore/DtModel.h> 00018 00019 #include <matrix/vlVector.h> 00020 00021 namespace makVrv 00022 { 00023 00024 class DtParticleSystemModelInstance; 00025 00028 class DT_DLL_VRVCORE DtParticleSystemModel : public DtModel 00029 { 00030 public: 00031 00033 DtParticleSystemModel(DtDe& de, DtUniqueID id); 00034 00036 virtual ~DtParticleSystemModel(); 00037 00039 virtual void setModelDefinition( const std::string& str ) = 0; 00040 00043 virtual std::string className() const = 0; 00044 00046 virtual void setIntensity(float intensity) = 0; 00047 00049 virtual void setScale(float scale) = 0; 00050 00052 virtual void setDuration(double seconds) = 0; 00053 00055 virtual void setWindDirection(const DtVector& direction) = 0; 00056 00058 virtual void stop() = 0; 00059 00061 virtual void start() = 0; 00062 00064 virtual void pause() = 0; 00065 00067 virtual void resume() = 0; 00068 00069 00070 protected: 00071 }; 00072 } 00073 00074 #endif 00075