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
vl
cartesianView.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
#ifndef DtCartesianView_H_
6
#define DtCartesianView_H_
7
11
12
#include <
matrix/LibMatrix.h
>
13
14
class
DT_DLL_VL
DtBaseEntityStateRepository
;
15
20
class
DT_DLL_VL
DtCartesianView
21
{
22
public
:
23
25
DtCartesianView
(
DtBaseEntityStateRepository
* ksr);
26
27
DtCartesianView
(
DtBaseEntityStateRepository
* ksr,
28
const
DtVector
& originInGeoc,
29
const
DtDcm
& geocToLocalRot);
30
32
virtual
~
DtCartesianView
();
33
35
DtCartesianView
(
const
DtCartesianView
& orig);
36
38
DtCartesianView
& operator=(
const
DtCartesianView
& orig);
39
41
virtual
void
setOffset(
const
DtVector
& originInGeoc);
42
44
virtual
void
setRotation(
const
DtDcm
& geocToLocalRot);
45
47
virtual
void
setLocation(
const
DtVector
& Location);
48
virtual
const
DtVector
& location()
const
;
49
51
virtual
void
setVelocity(
const
DtVector32
& Velocity);
52
virtual
const
DtVector32
& velocity()
const
;
53
55
virtual
void
setOrientation(
const
DtTaitBryan
& Orient);
56
virtual
const
DtTaitBryan
& orientation()
const
;
57
61
virtual
const
DtDcm
& bodyToLocal()
const
;
62
64
virtual
void
setAcceleration(
const
DtVector32
& Acceleration);
65
virtual
const
DtVector32
& acceleration()
const
;
66
68
virtual
void
setRotationalVelocity(
const
DtVector32
& BodyRates);
69
virtual
const
DtVector32
& rotationalVelocity()
const
;
70
71
protected
:
72
75
DtCartesianView
*
self
()
const
;
76
77
protected
:
78
79
DtBaseEntityStateRepository
*
myESR
;
80
DtCoordTransform
myGeocToLocal
;
81
DtCoordTransform
myLocalToGeoc
;
82
85
DtVector
myLocalLoc
;
86
DtVector32
myLocalVel
;
87
DtVector32
myLocalAccel
;
88
DtTaitBryan
myLocalOrient
;
89
DtDcm
myBodyToLocal
;
90
};
91
92
inline
DtCartesianView
*
DtCartesianView::self
()
const
93
{
94
return
(
DtCartesianView
*)
this
;
95
}
96
97
#endif
98
Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)