VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOverlayGreatCircleArcModelInstance.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
14 
15 
16 namespace makVrv
17 {
18  class DtSegmentedLine;
19  class DtGreatCircleCurveGenerator;
20 
26  {
27  public:
28 
31 
34 
37  virtual void setMaxSubdivisions( int subDivisions );
38 
42  virtual void setPreferredSubdivisionSize( double size );
43 
46  virtual void setHeightScale( double heightScale );
47 
50  virtual bool realize(DtModelDefinition& definition);
51 
52  protected:
53 
55  virtual void updateGeometry();
56 
58  virtual void generateStyleSegmentedGeometry();
59 
61  virtual void generateMultipointGeometry();
62 
64  virtual void updateSegments();
65 
67  virtual void resizeSegmentAttributes( int size );
68 
71  virtual int calculateNumSubdivisions(
72  const DtGreatCircleCurveGenerator& curveGen,
73  const DtVector& endGeod, double percentage ) const;
74 
76  DtVector localToGeodetic( const DtVector& local );
77 
79  DtVector geodeticToLocal( const DtVector& geodetic );
80 
81  protected:
82 
84  {
87  };
88 
89  typedef std::vector<SegmentLandmarks> SegmentLandmarksVector;
90 
92  double myHeightScale;
95  };
96 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)