VR-Forces 4.1.1 Class Documentation
DtOsgParticleSystemModel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtOsgParticleSystemModel.h,v $ $Revision: 1.17 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtOsgParticleSystemModel_H_
14 #define DtOsgParticleSystemModel_H_
15 
16 #include <vrvOsg/vrvOsg.h>
18 #include <osg/Group>
19 #include <matrix/vlVector.h>
20 
21 namespace makVrv
22 {
23  class DtOsgSceneConnector;
24  class DtParticleSystemModelInstance;
25 
29  {
30  public:
31 
34 
36  virtual ~DtOsgParticleSystemModel();
37 
39  virtual void setModelDefinition( const std::string& str );
40 
43  virtual std::string className() const;
44 
46  virtual void setIntensity(float intensity);
47 
49  virtual void setScale(float scale);
50 
52  virtual void setDuration(double seconds);
53 
55 
56  virtual void setPosition(int vtx, const DtVector& position);
57  virtual void setOrientation(int vtx, const DtTaitBryan& orientation);
59 
61  virtual void setWindDirection(const DtVector& direction);
62 
64  virtual void stop();
65 
67  virtual void start();
68 
70  virtual void pause();
71 
72  virtual void resume();
73 
75  virtual void setVisible(bool isVisible);
76 
78  virtual void setSolid(bool solid);
79 
80  protected:
81 
82  virtual void addToScene(const DtUniqueID& id, int modelSet,
83  int visualizerType);
84 
85  virtual void removeFromScene();
86 
87  protected:
89  double myIntensity;
91  double myScale;
92  bool myScaleSet;
93  double myDuration;
95  bool myOrientUp;
99  DtTaitBryan myOrientation;
100  };
101 }
102 
103 #endif
104 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)