VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Model instance to draw a 3D line with styleable segments onto the 2D overlay.
Definition: DtOverlaySegmentedLineModelInstance.h:27
voidpf void uLong size
Definition: ioapi.h:39
double myPreferredSubdivisionSize
Definition: DtOverlayGreatCircleArcModelInstance.h:94
Model instance to draw a 3D line with styleable segments onto the 2D overlay.
Definition: DtOverlayGreatCircleArcModelInstance.h:24
int myMaxSubdivisions
Definition: DtOverlayGreatCircleArcModelInstance.h:93
double myHeightScale
Definition: DtOverlayGreatCircleArcModelInstance.h:92
int segmentStartVertex
Definition: DtOverlayGreatCircleArcModelInstance.h:85
A model definition Interaction any number of named parameters, and also can be used to store cached d...
Definition: DtModelDefinition.h:33
Contains makVrv::DtOverlaySegmentedLineModelInstance class.
Definition: DtOverlayGreatCircleArcModelInstance.h:83
DtGreatCircleCurveGenerator generates a set of geodetic points that follow a great circle at a radius...
Definition: DtGreatCircleCurveGenerator.h:29
SegmentLandmarksVector mySegmentLandmarks
Definition: DtOverlayGreatCircleArcModelInstance.h:91
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
int segmentEndVertex
Definition: DtOverlayGreatCircleArcModelInstance.h:86
std::vector< SegmentLandmarks > SegmentLandmarksVector
Definition: DtOverlayGreatCircleArcModelInstance.h:89

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)