VR-Forces 4.1 Class Documentation
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
15 
16 namespace makVrv
17 {
18 
22  public DtCoordinateDisplay
23  {
24  public:
25 
27 
29 
30  DtCoordinateDisplay* clone() const;
31 
32  virtual DtUnicode name();
33 
36 
39 
42 
43  virtual DtUnicode xAxisLabel();
44  virtual DtUnicode yAxisLabel();
45  virtual DtUnicode zAxisLabel();
46 
48  virtual DtUnicode northSouthGridLabel(
50  const DtVector& geocPos, int decimals, double gridSpacing );
51 
53  virtual DtUnicode eastWestGridLabel(
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(
65  const DtVector& geocPos, int decimals );
66 
70  virtual void convertToGeocentric(
71  const std::string& x, const std::string& y, const std::string& z,
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)