VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vlpi
exponentialSmoother.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 "
vlpi/trigonometricSmoother.h
"
13
#include "
smoothPosWithDr.h
"
14
#include "
smoothOriWithDr.h
"
15
29
class
DT_DLL_VLPROTIND
DtExponentialSmoother
:
public
DtTrigonometricSmoother
30
{
31
public
:
32
34
DtExponentialSmoother
();
35
37
virtual
~
DtExponentialSmoother
();
38
40
DtExponentialSmoother
(
const
DtExponentialSmoother
& orig);
41
43
DtExponentialSmoother
&
operator=
(
const
DtExponentialSmoother
& orig);
44
47
virtual
DtApproximator
*
clone
()
const
;
48
50
virtual
void
setLocation
(
const
DtVector
& loc,
DtTime
t);
52
virtual
const
DtVector
&
approxLocation
(
DtTime
t)
const
;
53
55
virtual
void
setVelocity
(
const
DtVector32
& vel,
DtTime
t);
57
virtual
const
DtVector32
&
approxVelocity
(
DtTime
t)
const
;
58
60
virtual
void
setOrientation
(
const
DtTaitBryan
& ori,
DtTime
t);
62
virtual
const
DtTaitBryan
&
approxEuler
(
DtTime
t)
const
;
63
65
virtual
void
setAcceleration
(
const
DtVector32
& acc,
DtTime
t);
66
virtual
const
DtVector32
&
acceleration
(
DtTime
t)
const
;
67
69
virtual
void
setRotationalVelocity
(
const
DtVector32
& vel,
DtTime
t);
70
virtual
const
DtVector32
&
rotationalVelocity
(
DtTime
t)
const
;
71
73
virtual
const
DtDcm
&
approxBodyToGeoc
(
DtTime
t)
const
;
74
79
virtual
void
setSmoothEnable
(
bool
on);
80
virtual
bool
smoothEnable
()
const
;
81
85
virtual
void
setSmoothPeriod
(
DtTime
smoothPeriod);
86
virtual
DtTime
smoothPeriod
()
const
;
87
91
virtual
void
reset();
92
95
virtual
void
setFrozen
(
bool
frozen );
96
97
public
:
98
100
static
void
setDfltSmoothPeriod
(
DtTime
smoothPeriod);
101
static
DtTime
dfltSmoothPeriod
();
102
105
static
void
setMasterSmoothEnable
(
bool
onOff);
106
static
bool
masterSmoothEnable
();
107
108
protected
:
109
111
virtual
void
feedSmoothing();
112
120
DtExponentialSmoother
*
self
()
const
;
121
122
protected
:
123
124
DtSmoothPosWithDr
mySpos
;
125
DtSmoothOriWithDr
mySorient
;
126
DtTaitBryan
myApproxEuler
;
127
128
DtVector32
myRealVelocity
;
129
};
130
131
inline
DtExponentialSmoother
*
DtExponentialSmoother::self
()
const
132
{
133
return
(
DtExponentialSmoother
*)
this
;
134
}
135
137
typedef
DtExponentialSmoother
DtOldSmoother
;
138
139
#endif
140
141
142
143
144
Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)