VR-Forces 5.0.1 Developer's Guide
 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) 2022 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
14 
17 
19 
20 #include <matrix/vlDcm.h>
21 
22 namespace makVrv
23 {
24  class DtDe;
25  class DtSegmentedLine;
26  class DtCoordinateSystem;
27 
54  {
55  public:
56 
59 
61  virtual ~DtOverlayArcModelInstance();
62 
64  virtual void setTopographicHeading(double topoHeading);
65 
66  protected:
67 
69  virtual void setArcVertex(unsigned int index,
70  double x, double y, double z);
71 
75  virtual double calculateHeight(const DtVector& heightVertex) const;
76 
78  virtual void createArcIfNecessary();
79 
81  virtual void set3DPositionAux(double x, double y, double z,
82  float tempPackedCoords[4]);
83 
85  virtual void slot_coordinateSystemChanged();
86 
87  private:
90 
93 
96 
97  protected:
99 
102  DtCoordinateSystem* myCoordinateSystem = nullptr;
103  };
104 
108  {
109  public:
112  static DtOverlayArcModelInstanceCreator& instance(DtDe& de);
113 
115  static void registerInstance(DtDe& de,
117 
119  virtual DtOverlayArcModelInstance* create(DtDe& de);
120 
121  };
122 }
Interface for an Arc Model instance.
Definition: DtArcModelInstance.h:54
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
A Creator for the makVrv::DtOverlayArcModelInstance class.
Definition: DtOverlayArcModelInstance.h:107
2 dimensional vector
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains the makVrv::DtArcModelInstance class declaration.
4 dimensional vector
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
vrvGraphics implementation of an Overlay Arc Model instance
Definition: DtOverlayArcModelInstance.h:53
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:41
Base class to provide boost signal/slot management.
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
DtSignalConnectionManager myConnections
Definition: DtOverlayArcModelInstance.h:98

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)