16 #include <tbb/mutex.h>
22 class DtPrimitiveStyle;
23 class DtOverlayResourceProvider;
49 virtual int numberOfPrimitives()
const;
52 virtual void render(
bool geocentric,
float geocentricAlpha,
53 const double location[3]
54 ,
const double positionMatrix[16]
55 ,
const double projectionMatrix[16]);
58 virtual void releaseResources();
61 virtual bool isRenderModeSupported(
int mode );
72 void remove(
const DtQuadProxy*
const proxy,
bool isBeingDeleted = false );
78 void updateRenderData();
106 void setGroup(
float order );
112 void set3DPosition(
int index,
float x,
float y,
float z,
float w);
115 void set3DPosition(
float x,
float y,
float z,
float w = 0 );
118 void get3DPosition(
float& x,
float& y,
float& z,
float& w )
const;
121 void set2DRotation(
float angle );
124 void get2DRotation(
float&
angle )
const;
127 void setPoints(
const float points[8] );
130 void getPoints(
float points[8] )
const;
133 void setBounds(
const float bounds[4] );
136 void getBounds(
float bounds[4] )
const;
139 void setStyle(
int style );
145 void setColor(
float r,
float g,
float b,
float a );
148 void getColor(
float& r,
float& g,
float& b,
float& a )
const;
151 void setStippleParameters(
unsigned int fill,
152 unsigned int fullStipplePattern[32] = 0 );
155 void setTextureParameters(
void* textureHangle,
156 float left = 0.0f,
float right = 1.0f,
157 float bottom = 0.0f,
float top = 1.0f );
160 void* textureHandle()
const;
163 unsigned int index()
const;
166 void setIndex(
unsigned int index );
176 static void getBoundsFromPoints(
float bounds[4],
const float points[8]);
QuadProxyList myQuads
Definition: DtQuadRenderer.h:85
The abstract base class for the various primitive styles.
Definition: DtPrimitiveStyle.h:21
Stippled line effect.
Definition: DtQuadRenderer.h:35
A class which allocates and draws quads.
Definition: DtQuadRenderer.h:27
QuadProxyList myDirtyList
Definition: DtQuadRenderer.h:86
Styles
Definition: DtQuadRenderer.h:31
The overlay resource provider class provies resources for overlay drawing classes.
Definition: DtOverlayResourceProvider.h:23
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
Abstract primitive rendering base class.
Definition: DtPrimitiveRenderer.h:18
tbb::mutex myUpdateMutex
Definition: DtQuadRenderer.h:88
A flyweight class for controlling a single quad owned by the DtQuadRenderer.
Definition: DtQuadRenderer.h:97
Single textured effect.
Definition: DtQuadRenderer.h:36
DtQuadRenderer * myParent
Definition: DtQuadRenderer.h:180
const char int mode
Definition: ioapi.h:38
unsigned int myIndex
Definition: DtQuadRenderer.h:181
unsigned char myStyle
Definition: DtQuadRenderer.h:182
bool myDirtyBit
Definition: DtQuadRenderer.h:183
std::vector< DtQuadProxy * > QuadProxyList
Definition: DtQuadRenderer.h:82
The style contains no line effects.
Definition: DtQuadRenderer.h:34