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
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
30
class
DT_DLL_VLPROTIND
DtOldSmoother
:
public
DtSmoother
31
{
32
public
:
33
35
DtOldSmoother
();
36
38
virtual
~
DtOldSmoother
();
39
41
DtOldSmoother
(
const
DtOldSmoother
& orig);
42
44
DtOldSmoother
&
operator=
(
const
DtOldSmoother
& orig);
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
94
public
:
95
97
static
void
setDfltSmoothPeriod
(
DtTime
smoothPeriod);
98
static
DtTime
dfltSmoothPeriod
();
99
102
static
void
setMasterSmoothEnable
(
bool
onOff);
103
static
bool
masterSmoothEnable
();
104
105
protected
:
106
108
virtual
void
feedSmoothing();
109
117
DtOldSmoother
*
self
()
const
;
118
119
protected
:
120
121
DtSmoothPosWithDr
mySpos
;
122
DtSmoothOriWithDr
mySorient
;
123
DtTaitBryan
myApproxEuler
;
124
125
DtVector
myRealVelocity
;
126
};
127
128
inline
DtOldSmoother
*
DtOldSmoother::self
()
const
129
{
130
return
(
DtOldSmoother
*)
this
;
131
}
132
133
#endif
134
135
136
137
138
Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)