16 class DtOverlayRenderer;
37 void setGroup(
float group);
43 void set2DPosition(
unsigned int index0or1,
float x,
float y);
46 void get2DPosition(
unsigned int index0or1,
float& x,
float& y )
const;
50 void set3DPosition(
int index0or1,
float dx,
float dy,
float z,
float w);
53 void get3DPosition(
int index0or1,
float& dx,
float& dy,
float& z,
float& w)
const;
56 void setColor(
float r,
float g,
float b,
float a);
59 void getColor(
float& r,
float& g,
float& b,
float& a)
const;
63 void setWidth(
float w);
72 float myTextureWidth,
float left = 0.0f,
float right = 1.0f,
73 float bottom = 0.0f,
float top = 1.0f );
76 virtual void setZoomFactor(
float z);
79 virtual void set2DPositions(
float x1,
float y1,
float x2,
float y2);
82 virtual void setColor(
unsigned int index0or1,
float r,
float g,
float b,
float a);
85 virtual void getColor(
unsigned int index0or1,
float& r,
float& g,
float& b,
float& a)
const;
88 virtual void setColors(
float r1,
float g1,
float b1,
float a1,
89 float r2,
float g2,
float b2,
float a2);
92 virtual void setRotationOffset(
float);
99 virtual void set3DDirection(
unsigned int index0or1,
float x,
float y,
float z) {};
102 virtual void get3DDirection(
unsigned int index0or1,
float& x,
float& y,
float& z)
const {};
111 virtual void setStippleParameters(
unsigned int scale,
unsigned short pattern);
115 virtual void getStippleParameters(
unsigned int& scale,
unsigned short& pattern)
const;
119 virtual void resetTextureCoordinates();
128 float myVertices[2][4];
129 float my2DVertices[2][2];
A class which represents a single line segment.
Definition: DtTexturedLineSegment.h:20
void * NativeResourceHandle
Definition: DtOverlayResourceProvider.h:33
float myRotationOffset
Definition: DtTexturedLineSegment.h:133
A class which allocates and draws quads.
Definition: DtQuadRenderer.h:27
virtual void get3DDirection(unsigned int index0or1, float &x, float &y, float &z) const
Get the normalized direction of the vertex. Unimplemented for this line.
Definition: DtTexturedLineSegment.h:102
A class which represents a single line segment.
Definition: DtLineSegmentInterface.h:16
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
float myZoomFactor
Definition: DtTexturedLineSegment.h:132
DtOverlayResourceProvider::NativeResourceHandle myTexture
Definition: DtTexturedLineSegment.h:130
virtual float direction2DLength(unsigned int index0or1) const
Get the length of the line in 2D space.
Definition: DtTexturedLineSegment.h:108
virtual void setDirection2DLength(unsigned int index0or1, float length)
Set the length of the line in 2D space. Unimplemented for this line.
Definition: DtTexturedLineSegment.h:105
virtual void set3DDirection(unsigned int index0or1, float x, float y, float z)
Unimplemented.
Definition: DtTexturedLineSegment.h:99
DtQuadProxy * myVertex
Definition: DtTexturedLineSegment.h:127
A flyweight class for controlling a single quad owned by the DtQuadRenderer.
Definition: DtQuadRenderer.h:97
float myTextureWidth
Definition: DtTexturedLineSegment.h:131
The DtOverlayRenderer implements the overlay concept.
Definition: DtOverlayRenderer.h:23