VR-Forces 4.1 Class Documentation
DtSmokePuffsDeadReckonUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
14 #include <vrvCore/DtTickable.h>
15 #include <vrvCore/DtUniqueID.h>
16 
17 #include <vlpi/disEnums.h>
18 #include <vlutil/vlTime.h>
19 
20 #include <vector>
21 #include <string>
22 
23 #include <boost/foreach.hpp>
24 
25 class DtVector;
26 
27 namespace makVrv
28 {
29 
30  class DtDe;
31  class DtModel;
32  class DtTacticalSmokeModel;
33 
39  {
40  public:
41 
45 
48 
53  virtual bool needsUpdate( DtTime tNow );
54 
57  virtual void update( DtTime tNow );
58 
61  virtual void setModel( DtTacticalSmokeModel* model );
62 
65  virtual DtTacticalSmokeModel* model();
66  virtual const DtTacticalSmokeModel* model() const;
67 
71  virtual void setDensity( int vtx, double dens );
72 
76  virtual void setDensityRate( int vtx, double rate );
77 
81  virtual void setOneSigmas( int vtx, const DtVector& sigma );
82 
86  virtual void setOneSigmaRates( int vtx, const DtVector& rate );
87 
91  virtual DtFixedSmoother& densityDeadReckoner( int vtx );
92 
96  virtual DtFixedSmoother& sigmaDeadReckoner( int vtx );
97 
100 
104  virtual void onModelAdded( DtModel* model );
105 
108  virtual void onModelRemoved( DtModel* model );
109 
111 
112  private:
116  {
119  };
120  typedef std::vector<SmokeReckoners*> SmokePuffReckoners;
121 
125  SmokeReckoners* deadReckoner( int vtx );
126 
131  SmokeReckoners* createSmokeReckoners( SmokeReckoners* other );
132 
133  private:
137 
141 
145  operator=( const DtSmokePuffsDeadReckonUpdater& );
146 
147  protected:
151 
153  std::string myMotionModelType;
154  DtDeadReckonTypes myDeadReckonTypes;
155 
156  };
157 }

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)