VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgOverlayDirectionLineModel.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 #pragma once
6 
10 
11 #include <vrvOsg/vrvOsg.h>
13 
14 
15 namespace makVrv
16 {
17 
22  {
23  public:
26 
29 
32 
35  const DtOsgOverlayDirectionLineModel &other) = delete;
36 
39  const DtOsgOverlayDirectionLineModel &other) = delete;
40 
41  public:
42 
44  virtual void setPosition(int index, const DtVector& position);
45 
47  virtual void setDirection(int index, const DtVector& direction);
48 
50  virtual void setLength(int index, float length);
51 
53  virtual void setColor(float r, float g, float b, float a);
54 
56  virtual void setWidth(float width);
57 
59  virtual void setStipplePattern(unsigned int stipple, int repeatFactor);
60 
62  virtual void setEventsEnabled(bool);
63 
67  virtual void setGroup(int);
68 
70  virtual void setPositionOffset(const DtVector&);
72  virtual void setIsSupportModel( bool );
73  // @}
74 
76  virtual void setVisible( bool isVisible );
77 
79  virtual void setAltitudeBasedConfigurations(
81 
86  virtual void clearAltitudeBasedConfigurations();
87 
97  virtual void setIsUseForcedAltitudeEnabled(bool enabled);
98 
103  virtual void setForcedAltitudeToUse(double minimumAltitudeForUse);
104 
107  virtual void setLodOutAltitude( double lodOutAltitude );
108 
110  virtual void setIsLodOutAltitudeEnabled(bool isLodOutAltitudeEnabled);
111 
113  virtual const std::vector<DtVector>& points() const;
114 
116  virtual void setModelDefinition( const std::string& str );
117 
118  protected:
119 
120  // @name Inherited DtModel methods
121  // @{
122 
124  virtual void addToScene( const DtUniqueID& sceneObjectId, int modelSet, int visualizerType );
125 
127  virtual void removeFromScene();
128 
129  // @}
130 
132  virtual void needsUpdate();
133 
136  virtual void update();
137 
138  protected:
141  int myGroup;
142  };
143 }
bool myNeedsUpdate
Definition: DtOsgOverlayDirectionLineModel.h:140
std::vector< DtDirectionLineAltitudeBasedConfiguration > DtDirectionLineAltitudeBasedConfigurationCollection
A collection of altitude-based configurations.
Definition: DtOverlayDirectionLineModel.h:87
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtUniqueID myParentId
Definition: DtOsgOverlayDirectionLineModel.h:139
Contains declaration of DtOverlayDirectionLineModel, which draws direction lines in an overlay layer ...
OSG implementation of 2D segmented line.
Definition: DtOsgOverlayDirectionLineModel.h:20
int myGroup
Definition: DtOsgOverlayDirectionLineModel.h:141
DtOverlayDirectionLineModel defines an abstract base class that all direction line models must implem...
Definition: DtOverlayDirectionLineModel.h:26
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

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)