19 class DtOverlayRendererInterface;
21 class DtLineSegmentInterface;
56 virtual void setEventsEnabled(
bool enabled,
unsigned long long userData = 0)
override;
59 virtual bool eventsEnabled()
const override;
65 virtual void setVertexCount(
unsigned int vertexCount)
override;
69 virtual unsigned int vertexCount()
const override;
72 virtual unsigned int segmentCount()
const override;
75 virtual void set2DPosition(
unsigned int vertexIndex,
float x1,
float y1)
override;
78 virtual void get2DPosition(
unsigned int vertexIndex,
float& x,
float& y)
const override;
83 virtual void set3DPosition(
unsigned int vertexIndex,
float x,
float y,
float z,
float w)
override;
86 virtual void get3DPosition(
unsigned int vertexIndex,
float& x,
float& y,
float& z,
float& w)
const override;
89 virtual void set3DDirection(
unsigned int vertexIndex,
float x,
float y,
float z)
override;
92 virtual void get3DDirection(
unsigned int vertexIndex,
float& x,
float& y,
float& z)
const override;
95 virtual void setDirection2DLength(
unsigned int vertexIndex,
float length)
override;
98 virtual float direction2DLength(
unsigned int vertexIndex)
const override;
101 virtual void setSegmentColor(
unsigned int segment,
float r,
float g,
float b,
float a)
override;
104 virtual void setPointColor(
unsigned int point,
float r,
float g,
float b,
float a)
override;
107 virtual void setStipplePattern(
unsigned int segment,
unsigned int pattern )
override;
108 virtual void setStipplePattern(
unsigned int segment,
unsigned int scale,
unsigned int pattern )
override;
111 virtual void setWidth(
unsigned int segment,
float w)
override;
116 virtual void setEventWidth(
float)
override;
120 virtual void setGroup(
int )
override;
131 virtual void setZoomFactor(
float z )
override;
135 virtual void setRotationOffset(
float )
override;
143 virtual void removeLineSegmentsUntilEndFrom(
int segmentCount);
150 virtual void slot_pickerDestroyed();
std::vector< DtLineSegmentInterface * > LineSegmentList
Definition: DtSegmentedLine.h:154
DtWidgetPicker * myPicker
Definition: DtSegmentedLine.h:158
Contains the makVrv::DtSegmentedLineInterface class declaration.
unsigned long long myUserData
Definition: DtSegmentedLine.h:163
DtOverlayRendererInterface * myRenderer
Definition: DtSegmentedLine.h:157
Interface for a texture. Used to pass in a texture to vrvGraphics.
Definition: DtTextureInterface.h:24
float myEventWidth
Definition: DtSegmentedLine.h:164
boost::signalslib::connection myPickerDestroyedConnection
Definition: DtSegmentedLine.h:167
Definition: DtSegmentedLineInterface.h:127
An interface for a convex polygon drawn using lines.
Definition: DtSegmentedLineInterface.h:25
The abstract Channel Class.
Definition: DtChannel.h:35
An interface for a single line segment.
Definition: DtLineSegmentInterface.h:23
Definition: DtSegmentedLine.h:171
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
bool myPickerDestroyed
Definition: DtSegmentedLine.h:166
unsigned int myVertexCount
Definition: DtSegmentedLine.h:162
std::vector< DtPickableLine * > PickableSegmentList
Definition: DtSegmentedLine.h:155
bool myEventsEnabled
Definition: DtSegmentedLine.h:161
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
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:72
A convex polygon drawn using lines.
Definition: DtSegmentedLine.h:28
DtModelSetId
Definition: DtModelSetEnums.h:19
The DtOverlayRendererInterface implements the overlay concept. An overlay is a 2D scene that is drawn...
Definition: DtOverlayRendererInterface.h:80
int myGroup
Definition: DtSegmentedLine.h:168
PickableSegmentList myPickableSegments
Definition: DtSegmentedLine.h:160
LineSegmentList myLineSegments
Definition: DtSegmentedLine.h:159