VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvUtil
DtGeodeticDmsCoordinateDisplay.h
Go to the documentation of this file.
1
/********************************************************************
2
* Copyright (c) 2011 MaK Technologies, Inc.
3
* All rights reserved.
4
********************************************************************/
5
/********************************************************************
6
* $RCSfile: DtGeodeticDmsCoordinateDisplay.h,v $ $Revision: 1.8 $ $State: Exp $
7
********************************************************************/
8
12
13
#pragma once
14
#include <
vrvUtil/DtCoordinateDisplay.h
>
15
16
namespace
makVrv
17
{
18
21
class
DT_DLL_VRVUTIL
DtGeodeticDmsCoordinateDisplay
:
22
public
DtCoordinateDisplay
23
{
24
public
:
25
26
DtGeodeticDmsCoordinateDisplay
(
const
DtCoordinateSystem
& cs );
27
28
virtual
~
DtGeodeticDmsCoordinateDisplay
();
29
30
DtCoordinateDisplay
* clone()
const
;
31
32
virtual
DtUnicode
name();
33
34
virtual
makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits
35
xUnitsFor(
makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits
unit );
36
37
virtual
makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits
38
yUnitsFor(
makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits
unit );
39
40
virtual
makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits
41
zUnitsFor(
makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits
unit );
42
43
virtual
DtUnicode
xAxisLabel();
44
virtual
DtUnicode
yAxisLabel();
45
virtual
DtUnicode
zAxisLabel();
46
48
virtual
DtUnicode
northSouthGridLabel(
49
makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits
unit,
50
const
DtVector
& geocPos,
int
decimals,
double
gridSpacing );
51
53
virtual
DtUnicode
eastWestGridLabel(
54
makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits
unit,
55
const
DtVector
& geocPos,
int
decimals,
double
gridSpacing );
56
57
virtual
void
shiftGridLineAnchors(
double
xSpacing,
double
ySpacing,
58
double
& shiftX,
double
& shifY );
59
63
virtual
std::vector<std::string> convertPositionToStringList(
64
makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits
altUnit,
65
const
DtVector
& geocPos,
int
decimals );
66
70
virtual
void
convertToGeocentric(
71
const
std::string& x,
const
std::string& y,
const
std::string& z,
72
makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits
distUnits,
73
makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits
altUnits,
74
DtVector
& vector);
75
78
virtual
DtVector
convertFromGeocentric(
const
DtVector
& geoc )
const
;
79
83
virtual
double
convertToDegrees(
const
std::string& str,
int
prec = 1 )
const
;
84
86
virtual
DtTaitBryan localOrientationFor(
87
const
DtVector
& location,
const
DtTaitBryan& geocOri )
const
;
88
virtual
DtTaitBryan headingPitchRollFor(
89
const
DtVector
& location,
const
DtTaitBryan& geocOri )
const
;
90
93
virtual
void
regularExpressionValidator( std::string& x,
94
std::string& y, std::string& z );
95
96
protected
:
97
98
static
const
char
* betterDeg2DmsString(
double
val,
char
* buff,
int
bufferSize,
int
prec,
bool
isLat );
99
100
};
101
102
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)