VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSmokePuffsDeadReckonUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 #include <vlpi/exponentialSmoother.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 <matrix/vlVector.h>
24 
25 namespace makVrv
26 {
27 
28  class DtDe;
29  class DtModel;
30  class DtTacticalSmokeModel;
31 
37  {
38  public:
39 
43 
46 
51  virtual bool needsUpdate( DtTime tNow );
52 
55  virtual void update( DtTime tNow );
56 
59  virtual void setModel( DtModel* model );
60 
63  virtual DtTacticalSmokeModel* model();
64  virtual const DtTacticalSmokeModel* model() const;
65 
69  virtual void setDensity( int vtx, double dens );
70 
74  virtual void setDensityRate( int vtx, double rate );
75 
79  virtual void setOneSigmas( int vtx, const DtVector& sigma );
80 
84  virtual void setOneSigmaRates( int vtx, const DtVector& rate );
85 
89  virtual DtExponentialSmoother& densityDeadReckoner( int vtx );
90 
94  virtual DtExponentialSmoother& sigmaDeadReckoner( int vtx );
95 
96  private:
100  {
101  DtExponentialSmoother density;
102  DtExponentialSmoother sigmas;
103  };
104  typedef std::vector<SmokeReckoners*> SmokePuffReckoners;
105 
109  SmokeReckoners* deadReckoner( int vtx );
110 
115  SmokeReckoners* createSmokeReckoners( SmokeReckoners* other );
116 
117  private:
121 
125 
129  operator=( const DtSmokePuffsDeadReckonUpdater& );
130 
131  protected:
134 
137 
139  std::string myMotionModelType;
140  DtDeadReckonTypes myDeadReckonTypes;
141 
142  };
143 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)