VR-Forces 4.1 Class Documentation
DtImprovedModularEmitter.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtImprovedModularEmitter.h,v $ $Revision: 1.10 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtImprovedModularEmitter_H_
14 #define DtImprovedModularEmitter_H_
15 
16 #include <vrvOsg/vrvOsg.h>
17 #include <osgParticle/ModularEmitter>
18 
19 namespace makVrv
20 {
24  class DT_DLL_VRVOSG DtImprovedModularEmitter : public osgParticle::ModularEmitter
25  {
26  public:
27 
30  DtImprovedModularEmitter(const DtImprovedModularEmitter& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY);
31  DtImprovedModularEmitter(const osgParticle::ModularEmitter& modularEmitter);
32 
34  virtual ~DtImprovedModularEmitter();
35 
36  META_Node(vrvOsg,DtImprovedModularEmitter);
37 
39  virtual void setMaximumCompensationCount(int count);
40 
42  virtual int maximumCompensationCount() const;
43 
45  virtual void emitParticles(double dt);
46 
49  virtual void setWorldToLocalOrigin(const osg::Matrixd& mat);
50 
51  protected:
53  osg::Vec3 myPosition;
55  osg::Matrixd myWorldToLocalOrigin;
56  };
57 }
58 
59 #endif
60 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)