16 class DtLineSegmentProxy;
18 class DtOverlayRenderer;
26 const static unsigned short NoStipple = 0xFFFF;
27 const static unsigned short NoLine = 0x0;
51 void setAltitudeBasedConfigurations(
59 void clearAltitudeBasedConfigurations();
67 virtual void setIsUseForcedAltitudeEnabled(
bool enabled);
72 virtual void setForcedAltitudeToUse(
double minimumAltitudeForUse);
76 void setLodOutAltitude(
double lodOutAltitude);
79 void setIsLodOutAltitudeEnabled(
bool isLodOutAltitudeEnabled);
85 void setGroup(
float group);
91 void set2DPositions(
float x1,
float y1,
float x2,
float y2);
94 void set2DPosition(
unsigned int index0or1,
float x,
float y);
97 void get2DPosition(
unsigned int index0or1,
float& x,
float& y )
const;
100 void setColors(
float r1,
float g1,
float b1,
float a1,
101 float r2,
float g2,
float b2,
float a2);
105 void set3DPosition(
int index0or1,
float dx,
float dy,
float z,
float w);
108 void get3DPosition(
int index0or1,
float& dx,
float& dy,
float& z,
float& w)
const;
111 void set3DDirection(
unsigned int index0or1,
float x,
float y,
float z);
114 void get3DDirection(
unsigned int index0or1,
float& x,
float& y,
float& z)
const;
117 void setDirection2DLength(
unsigned int index0or1,
float length);
120 float direction2DLength(
unsigned int index0or1)
const;
123 void setColor(
unsigned int index0or1,
float r,
float g,
float b,
float a);
126 void getColor(
unsigned int index0or1,
float& r,
float& g,
float& b,
float& a)
const;
129 void setColor1(
float r1,
float g1,
float b1,
float a1);
132 void setColor2(
float r2,
float g2,
float b2,
float a2);
135 inline void setColor(
float r,
float g,
float b,
float a)
137 setColors(r,g,b,a,r,g,b,a);
142 void setWidth(
float w);
153 void setStippleParameters(
unsigned int scale,
unsigned short pattern);
157 void getStippleParameters(
unsigned int& scale,
unsigned short& pattern)
const;
void setColor(float r, float g, float b, float a)
Definition: DtLineSegment.h:135
A line segment proxy is a flyweight class for controlling a single line segment.
Definition: DtLineRenderer.h:238
A class which represents a single line segment.
Definition: DtLineSegmentInterface.h:16
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
A class which represents a single line segment.
Definition: DtLineSegment.h:22
std::vector< DtLineSegmentAltitudeBasedConfiguration > DtLineSegmentAltitudeBasedConfigurationCollection
A collection of altitude-based configurations.
Definition: DtLineRenderer.h:102
DtLineSegmentProxy * myProxy
Definition: DtLineSegment.h:164
DtLineSegment()
Definition: DtLineSegment.h:161
Contains the makVrv::DtLineRenderer class declaration.
A class responsible for rendering lines.
Definition: DtLineRenderer.h:45
The DtOverlayRenderer implements the overlay concept. An overlay is a 2D scene that is drawn on top o...
Definition: DtOverlayRenderer.h:41