VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
utmView.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
8
#pragma once
9
10
#include <
matrix/LibMatrix.h
>
11
#include <
matrix/utmCoord.h
>
12
class
DT_DLL_VL
DtBaseEntityStateRepository
;
13
17
class
DT_DLL_VL
DtUtmView
18
{
19
public
:
20
22
DtUtmView
(
DtBaseEntityStateRepository
* esr);
23
25
virtual
~
DtUtmView
();
26
28
DtUtmView
(
const
DtUtmView
& orig);
29
31
DtUtmView
& operator=(
const
DtUtmView
& orig);
32
34
virtual
void
setLocation(
const
DtUtmCoord
& aLocation);
35
virtual
const
DtUtmCoord
& location()
const
;
36
38
virtual
void
setVelocity(
const
DtUtmCoord
& aVelocity);
39
virtual
const
DtUtmCoord
& velocity()
const
;
40
42
virtual
void
setOrientation(
const
DtTaitBryan
& orient);
43
virtual
const
DtTaitBryan
& orientation()
const
;
44
48
virtual
const
DtDcm
& bodyToLocal()
const
;
49
51
virtual
void
setAcceleration(
const
DtUtmCoord
& anAcceleration);
52
virtual
const
DtUtmCoord
& acceleration()
const
;
53
55
virtual
void
setRotationalVelocity(
const
DtVector
& bodyRates);
56
virtual
const
DtVector
& rotationalVelocity()
const
;
57
58
protected
:
59
62
DtUtmView
*
self
()
const
;
63
65
virtual
const
DtDcm
& utmToGeocMatrix(
const
DtVector
& geocLoc)
const
;
66
68
virtual
const
DtDcm
& geocToUtmMatrix(
const
DtVector
& geocLoc)
const
;
69
70
protected
:
71
72
DtBaseEntityStateRepository
*
myESR
;
73
76
DtUtmCoord
myLocalLoc
;
77
DtUtmCoord
myLocalVel
;
78
DtUtmCoord
myLocalAccel
;
79
DtTaitBryan
myLocalOrient
;
80
DtDcm
myBodyToLocal
;
81
82
DtDcm
myUtmToGeocMatrix
;
83
DtVector
myGeocLocForUtmToGeoc
;
84
85
DtDcm
myGeocToUtmMatrix
;
86
DtVector
myGeocLocForGeocToUtm
;
87
};
88
89
inline
DtUtmView
*
DtUtmView::self
()
const
90
{
91
return
(
DtUtmView
*)
this
;
92
}
93
94
95
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
)