VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
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 "
smoothPosWDR.h
"
14
#include "
smoothOriWDR.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
89
public
:
90
92
static
void
setDfltSmoothPeriod
(
DtTime
smoothPeriod);
93
static
DtTime
dfltSmoothPeriod
();
94
97
static
void
setMasterSmoothEnable
(
bool
onOff);
98
static
bool
masterSmoothEnable
();
99
100
protected
:
101
103
virtual
void
feedSmoothing();
104
112
DtOldSmoother
*
self
()
const
;
113
114
protected
:
115
116
DtSmoothPosWithDr
mySpos
;
117
DtSmoothOriWithDr
mySorient
;
118
DtTaitBryan
myApproxEuler
;
119
120
DtVector
myRealVelocity
;
121
};
122
123
inline
DtOldSmoother
*
DtOldSmoother::self
()
const
124
{
125
return
(
DtOldSmoother
*)
this
;
126
}
127
128
#endif
129
130
131
132
133
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)