VR-Forces 4.8 Class Documentation
 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) 2019 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 
31  virtual void setPosition(int index, const DtVector& position);
32 
34  virtual void setDirection(int index, const DtVector& direction);
35 
37  virtual void setLength(int index, float length);
38 
40  virtual void setColor(float r, float g, float b, float a);
41 
43  virtual void setWidth(float width);
44 
46  virtual void setStipplePattern(unsigned int stipple, int repeatFactor);
47 
49  virtual void setEventsEnabled(bool);
50 
53  virtual void setGroup( int );
54 
56  virtual void setPositionOffset(const DtVector&);
58  virtual void setIsSupportModel( bool );
59  // @}
60 
62  virtual void setVisible( bool isVisible );
63 
65  virtual const std::vector<DtVector>& points() const;
66 
68  virtual void setModelDefinition( const std::string& str );
69 
70  protected:
71 
72  // @name Inherited DtModel methods
73  // @{
74 
76  virtual void addToScene( const DtUniqueID& sceneObjectId, int modelSet, int visualizerType );
77 
79  virtual void removeFromScene();
80 
81  // @}
82 
84  virtual void needsUpdate();
85 
88  virtual void update();
89 
90  protected:
93  int myGroup;
94  };
95 }
bool myNeedsUpdate
Definition: DtOsgOverlayDirectionLineModel.h:92
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtUniqueID myParentId
Definition: DtOsgOverlayDirectionLineModel.h:91
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
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:93
This class is a virtual class that all direction line models must implement.
Definition: DtOverlayDirectionLineModel.h:21
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)