VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
oldSmoother.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef oldSmoother_H_
7 #define oldSmoother_H_
8 
12 #include "smoother.h"
13 #include "smoothPosWithDr.h"
14 #include "smoothOriWithDr.h"
15 
31 {
32 public:
33 
35  DtOldSmoother();
36 
38  virtual ~DtOldSmoother();
39 
41  DtOldSmoother(const DtOldSmoother& orig);
42 
45 
48  virtual DtApproximator* clone() const;
49 
51  virtual void setLocation(const DtVector & loc, DtTime t);
53  virtual const DtVector & approxLocation(DtTime t) const;
54 
56  virtual void setVelocity(const DtVector & vel, DtTime t);
58  virtual const DtVector & approxVelocity(DtTime t) const;
59 
61  virtual void setOrientation(const DtTaitBryan& ori, DtTime t);
63  virtual const DtTaitBryan& approxEuler(DtTime t) const;
64 
66  virtual void setAcceleration(const DtVector & acc, DtTime t);
67  virtual const DtVector & acceleration(DtTime t) const;
68 
70  virtual void setRotationalVelocity(const DtVector & vel, DtTime t);
71  virtual const DtVector & rotationalVelocity(DtTime t) const;
72 
74  virtual const DtDcm & approxBodyToGeoc(DtTime t) const;
75 
80  virtual void setSmoothEnable(bool on);
81  virtual bool smoothEnable() const;
82 
86  virtual void setSmoothPeriod(DtTime smoothPeriod);
87  virtual DtTime smoothPeriod() const;
88 
92  virtual void reset();
93 
96  virtual void setFrozen( bool frozen );
97 
98 public:
99 
101  static void setDfltSmoothPeriod(DtTime smoothPeriod);
102  static DtTime dfltSmoothPeriod();
103 
106  static void setMasterSmoothEnable(bool onOff);
107  static bool masterSmoothEnable();
108 
110  virtual void feedSmoothing();
111 
112 protected:
113 
121  DtOldSmoother* self() const;
122 
123 protected:
124 
128 
130 };
131 
133 {
134  return (DtOldSmoother*) this;
135 }
136 
137 #endif
138 
139 
140 
141 
142 

Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)