VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
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
DtVector
& Velocity);
52
virtual
const
DtVector
& 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
DtVector
& Acceleration);
65
virtual
const
DtVector
& acceleration()
const
;
66
68
virtual
void
setRotationalVelocity(
const
DtVector
& BodyRates);
69
virtual
const
DtVector
& 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
DtVector
myLocalVel
;
87
DtVector
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 Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)