15 class DtLineSegmentProxy;
17 class DtOverlayRenderer;
25 const static unsigned short NoStipple = 0xFFFF;
26 const static unsigned short NoLine = 0x0;
41 void setGroup(
float group);
47 void set2DPositions(
float x1,
float y1,
float x2,
float y2);
50 void set2DPosition(
unsigned int index0or1,
float x,
float y);
53 void get2DPosition(
unsigned int index0or1,
float& x,
float& y )
const;
56 void setColors(
float r1,
float g1,
float b1,
float a1,
57 float r2,
float g2,
float b2,
float a2);
61 void set3DPosition(
int index0or1,
float dx,
float dy,
float z,
float w);
64 void get3DPosition(
int index0or1,
float& dx,
float& dy,
float& z,
float& w)
const;
67 virtual void set3DDirection(
unsigned int index0or1,
float x,
float y,
float z);
70 virtual void get3DDirection(
unsigned int index0or1,
float& x,
float& y,
float& z)
const;
73 virtual void setDirection2DLength(
unsigned int index0or1,
float length);
76 virtual float direction2DLength(
unsigned int index0or1)
const;
79 void setColor(
unsigned int index0or1,
float r,
float g,
float b,
float a);
82 void getColor(
unsigned int index0or1,
float& r,
float& g,
float& b,
float& a)
const;
85 void setColor1(
float r1,
float g1,
float b1,
float a1);
88 void setColor2(
float r2,
float g2,
float b2,
float a2);
91 inline void setColor(
float r,
float g,
float b,
float a)
93 setColors(r,g,b,a,r,g,b,a);
98 void setWidth(
float w);
109 void setStippleParameters(
unsigned int scale,
unsigned short pattern);
113 void getStippleParameters(
unsigned int& scale,
unsigned short& pattern)
const;
void setColor(float r, float g, float b, float a)
Definition: DtLineSegment.h:91
A line segment proxy is a flyweight class for controlling a single line segment.
Definition: DtLineRenderer.h:132
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:21
DtLineSegmentProxy * myProxy
Definition: DtLineSegment.h:122
DtLineSegment()
Definition: DtLineSegment.h:118
A class responsible for rendering lines.
Definition: DtLineRenderer.h:25
The DtOverlayRenderer implements the overlay concept.
Definition: DtOverlayRenderer.h:23