VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtUtmCoordinateDisplay.h
Go to the documentation of this file.
1 /********************************************************************
2  * Copyright (c) 2011 MaK Technologies, Inc.
3  * All rights reserved.
4  ********************************************************************/
5 /********************************************************************
6  * $RCSfile: DtUtmCoordinateDisplay.h,v $ $Revision: 1.8 $ $State: Exp $
7  ********************************************************************/
8 
12 
13 #pragma once
15 
16 class DtDcm;
17 
18 namespace makVrv
19 {
20 
24  {
25  public:
26 
28 
29  virtual ~DtUtmCoordinateDisplay();
30 
31  DtCoordinateDisplay* clone() const;
32 
33  virtual DtUnicode name();
34 
37 
40 
43 
44  virtual DtUnicode xAxisLabel();
45  virtual DtUnicode yAxisLabel();
46  virtual DtUnicode zAxisLabel();
47 
52  virtual DtUnicode gridBoxLabel(const DtVector& lowerLeftGeocPos,
53  const DtVector& upperRightGeocPos );
54 
56  virtual DtUnicode northSouthGridLabel(
58  const DtVector& geocPos, int decimals, double gridSpacing );
59 
61  virtual DtUnicode eastWestGridLabel(
63  const DtVector& geocPos, int decimals, double gridSpacing );
64 
65  virtual void shiftGridLineAnchors( double xSpacing, double ySpacing,
66  double& shiftX, double& shifY );
67 
68  virtual bool usesDecimalsOnGridLines() const;
69 
71  virtual std::vector<std::string> convertPositionToStringList(
73  const DtVector& geocPos, int decimals );
74 
78  virtual void convertToGeocentric(
79  const std::string& x, const std::string& y, const std::string& z,
82  DtVector& vector );
83 
86  virtual DtVector convertFromGeocentric( const DtVector& geoc ) const;
87 
89  virtual DtTaitBryan localOrientationFor(
90  const DtVector& location, const DtTaitBryan& geocOri ) const;
91  virtual DtTaitBryan headingPitchRollFor(
92  const DtVector& location, const DtTaitBryan& geocOri ) const;
93 
95  virtual DtDcm geocToUtmMatrix( const DtVector& geocLoc ) const;
96  virtual DtDcm utmToGeocMatrix( const DtVector& geocLoc ) const;
97 
99  virtual bool isUtmDatabase() const;
100 
101  virtual double scaleFactor() const;
102 
105  virtual void regularExpressionValidator( std::string& x,
106  std::string& y, std::string& z );
107 
108  protected:
109  // Helper to convert geoc position to utm ([0], [1]) and altitude ([2])
110  virtual void geocToUtm( const DtVector& geocPos, DtVector& utmPos, DtUnicode& zone );
111 
112  virtual DtUnicode formatGridLabel( double value );
113  };
114 
115 }
A unicode string.
Definition: DtUnicode.h:33
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
Abstract interface class for all coordinate system displays.
Definition: DtCoordinateDisplay.h:27
DistanceUnits
Enumeration of the different distance units.
Definition: DtDisplayUnitsSettingsRecord.h:53
Contains the DtGeocentricCoordinateSystem class declaration.
The geocentric coordinate display information for the GUI.
Definition: DtGeocentricCoordinateDisplay.h:21
Coordinate system display for UTM coordinates.
Definition: DtUtmCoordinateDisplay.h:23
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)