21 class DtPrimitiveStyle;
22 class DtOverlayResourceProvider;
48 virtual int numberOfPrimitives()
const;
51 virtual void render(
bool geocentric,
float geocentricAlpha,
52 const double location[3] = 0,
const double positionMatrix[16] = 0 );
55 virtual void releaseResources();
58 virtual bool isRenderModeSupported(
int mode );
69 void remove(
const DtQuadProxy*
const proxy,
bool isBeingDeleted = false );
75 void updateRenderData();
100 void setGroup(
float order );
106 void set3DPosition(
int index,
float x,
float y,
float z,
float w);
109 void set3DPosition(
float x,
float y,
float z,
float w = 0 );
112 void get3DPosition(
float& x,
float& y,
float& z,
float& w )
const;
115 void set2DRotation(
float angle );
118 void get2DRotation(
float& angle )
const;
121 void setPoints(
const float points[8] );
124 void getPoints(
float points[8] )
const;
127 void setBounds(
const float bounds[4] );
130 void getBounds(
float bounds[4] )
const;
133 void setStyle(
int style );
139 void setColor(
float r,
float g,
float b,
float a );
142 void getColor(
float& r,
float& g,
float& b,
float& a )
const;
145 void setStippleParameters(
unsigned int fill,
146 unsigned int fullStipplePattern[32] = 0 );
149 void setTextureParameters(
void* textureHangle,
150 float left = 0.0f,
float right = 1.0f,
151 float bottom = 0.0f,
float top = 1.0f );
154 void* textureHandle()
const;
157 unsigned int index()
const;
160 void setIndex(
unsigned int index );
170 static void getBoundsFromPoints(
float bounds[4],
const float points[8]);