VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOverlayArcModelInstance.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2020 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
14 
17 
18 #include <matrix/vlDcm.h>
19 
20 namespace makVrv
21 {
22  class DtDe;
23  class DtSegmentedLine;
24 
51  {
52  public:
53 
56 
58  virtual ~DtOverlayArcModelInstance();
59 
61  virtual void setTopographicHeading(double topoHeading);
62 
63  protected:
64 
66  virtual void setArcVertex(unsigned int index,
67  double x, double y, double z);
68 
72  virtual double calculateHeight(const DtVector& heightVertex) const;
73 
75  virtual void createArcIfNecessary();
76 
78  virtual void set3DPositionAux(double x, double y, double z,
79  float tempPackedCoords[4]);
80 
81  private:
84 
87 
90  };
91 
95  {
96  public:
99  static DtOverlayArcModelInstanceCreator& instance(DtDe& de);
100 
102  static void registerInstance(DtDe& de,
104 
106  virtual DtOverlayArcModelInstance* create(DtDe& de);
107 
108  };
109 }
Interface for an Arc Model instance.
Definition: DtArcModelInstance.h:54
Virtual base class.
Definition: DtVirtualBaseClass.h:22
A Creator for the makVrv::DtOverlayArcModelInstance class.
Definition: DtOverlayArcModelInstance.h:94
2 dimensional vector
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains the makVrv::DtArcModelInstance class declaration.
4 dimensional vector
vrvGraphics implementation of an Overlay Arc Model instance
Definition: DtOverlayArcModelInstance.h:50
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69

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)