VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
sensorContactLinesModel.h
Go to the documentation of this file.
1 
6 
10 
11 #pragma once
12 
13 #include <vrfGuiCore/vrfGuiCore.h>
14 #include <osg/Geometry>
19 
20 namespace makVrf
21 {
25  {
26  public:
29 
31  virtual ~DtSensorContactLinesModel();
32 
34  virtual void setColor(float r, float g, float b, float a);
35 
37  virtual void setLineWidth(float width);
38 
40  virtual void setHasArrowEndCap(bool);
41 
42  virtual void addLineModel();
43 
45  virtual void setArrowSize(double);
46 
48  virtual void setVisible(int line, bool visible);
49 
51  virtual void removeLineModel(int);
52  virtual makVrv::DtSegmentedLineModel* createGeometryLineModel();
53 
54  protected:
55  float myColor[4];
57  float myLineWidth;
58  double myArrowSize;
59 
60  std::vector<bool> myVisibilityStates;
61  };
62 
64  {
65  public:
68 
69  virtual void setArrowSize(double);
70  };
71 
73  {
74  public:
77 
78  virtual void setArrowSize(double);
79  virtual makVrv::Dt3DLineModelInstanceSegmentInterface* createSegment();
80  virtual void setPosition(int, const DtVector&);
81 
82  protected:
83  double myArrowSize;
84  };
85 
87  {
88  public:
91 
92  virtual void setArrowSize(double d);
93  virtual void setOrigin(const DtVector&);
94 
95  virtual void calculateArrowVertices(
96  const osg::Vec3d& segmentStart, const osg::Vec3d& segmentEnd,
97  osg::Vec3d& arrowStartOut, osg::Vec3d& arrowEndOut);
98 
99  protected:
100  double myArrowSize;
103  };
104 }
Implementation of class that will manage a collection of line models.
Definition: sensorContactLinesModel.h:24
Definition: sensorContactLinesModel.h:86
DtVector myOrigin
Definition: sensorContactLinesModel.h:102
OSG implementation of distributed attachable segmented line model.
Definition: DtOsg3DSegmentedLineModel.h:27
Contains makVrv::DtOsg3DSegmentedLineModel class.
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Contains makVrv::Dt3DLineModelInstanceSegment class.
Definition: sensorContactLinesModel.h:72
double myArrowSize
Definition: sensorContactLinesModel.h:83
Model instance to draw a 3D line with styleable segments.
Definition: Dt3DSegmentedLineModelInstance.h:25
double myArrowSize
Definition: sensorContactLinesModel.h:100
std::vector< bool > myVisibilityStates
Definition: sensorContactLinesModel.h:60
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
Definition: sensorContactLinesModel.h:63
float myLineWidth
Definition: sensorContactLinesModel.h:57
Helper class to draw a styleable line segment; generates a geode containing the line segment geometry...
Definition: Dt3DLineModelInstanceSegment.h:24
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
bool myHasArrowEndCap
Definition: sensorContactLinesModel.h:56
Contains makVrv::Dt3DSegmentedLineModelInstance class.
makVrv::DtDe & myDe
Definition: sensorContactLinesModel.h:101
OSG implementation of multi line model to create overlay or geometric segmented lines.
Definition: DtOsgMultiLineModel.h:24
Dt3DLineModelInstanceSegmentInterface is an abstract class providing a common interface for line mode...
Definition: Dt3DLineModelInstanceSegmentInterface.h:30
This class is a virtual class that all segmented line models must implement.
Definition: DtSegmentedLineModel.h:20
double myArrowSize
Definition: sensorContactLinesModel.h:58

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)