7 #ifndef __draw_DrawI_h__ 8 #define __draw_DrawI_h__ 54 virtual void pushMatrixState(
void) =0;
57 virtual void popMatrixState(
void) =0;
60 virtual void pushMatrix(MatrixMode a_mode,Real a_values[16]) =0;
62 virtual void popMatrix(MatrixMode a_mode) =0;
65 virtual void unbindVertexArray(
void) =0;
68 virtual void setBrightness(Real a_brightness) =0;
70 virtual Real brightness(
void) =0;
73 virtual void setContrast(Real a_contrast) =0;
75 virtual Real contrast(
void) =0;
79 virtual BWORD isDirect(
void)
const =0;
88 virtual void setDrawChain(
sp<DrawI> a_spDrawI) =0;
108 virtual void flush(
void) =0;
115 virtual void flushLive(
void) =0;
118 virtual void clearInput(
void) =0;
121 virtual BWORD empty(
void)
const =0;
124 virtual void setView(
sp<ViewI> spViewI) =0;
140 virtual Real multiplication(
void) =0;
152 BWORD multicolor,
const Color *color) =0;
155 BWORD multicolor,
const Color *color,
169 const Color *color) =0;
173 BWORD multicolor,
const Color *color,
174 BWORD multiradius,
const Real *radius,
175 const Vector3i *element,U32 elementCount,
186 const Real *radius,U32 vertices,
187 BWORD multicolor,
const Color *color) =0;
200 const Vector2 *texture,U32 vertices,
202 const Color* color) =0;
205 const Vector2 *texture,U32 vertices,
218 virtual void drawRectangles(
const SpatialVector *vertex,U32 vertices,
219 BWORD multicolor,
const Color *color) =0;
236 virtual void drawBox(
const Box2& box,
const Color& color) =0;
239 virtual void drawBox(
const Box2i& box,
const Color& color) =0;
242 virtual void drawBox(
const Box3& box,
const Color& color) =0;
254 const Color& color) =0;
258 const Color& color) =0;
266 const Color& color,U32 slices) =0;
270 Real radius1,Real radius2,
271 const Color& color,U32 slices) =0;
275 const U32* slices,U32 cylinders,
276 BWORD multicolor,
const Color* color) =0;
278 virtual void drawTransformedCylinders(
282 const U32* slices,U32 cylinders,
283 BWORD multicolor,
const Color* color) =0;
287 Real startangle,Real endangle,
288 const Color& color) =0;
290 virtual void drawTransformedPoints(
295 BWORD multicolor,
const Color *color) =0;
296 virtual void drawTransformedPoints(
301 BWORD multicolor,
const Color *color,
304 virtual void drawTransformedLines(
309 U32 vertices,
StripMode strip,BWORD multicolor,
310 const Color *color) =0;
311 virtual void drawTransformedLines(
317 BWORD multicolor,
const Color *color,
318 BWORD multiradius,
const Real *radius,
319 const Vector3i *element,U32 elementCount,
322 virtual void drawTransformedCurve(
328 U32 vertices,BWORD multicolor,
329 const Color *color) =0;
331 virtual void drawTransformedTriangles(
336 const Vector2 *texture,U32 vertices,
338 const Color *color) =0;
339 virtual void drawTransformedTriangles(
344 const Vector2 *texture,U32 vertices,
352 virtual void drawTransformedBox(
355 const Color& color) =0;
357 virtual void drawTransformedBoxes(
362 const Color* color) =0;
364 virtual void drawAxes(Real scale) =0;
368 virtual void drawMarker(Real radius,
const Color& color) =0;
370 Real radius,
const Color& color) =0;
Generalized drawing of points, lines, text, and basic triangles.
Definition: DrawI.h:20
kernel
Definition: namespace.dox:3
StripMode
Format of vertices for tri-stripping.
Definition: DrawI.h:26
Special vector for color (RGBA)
Definition: Color.h:21
N-dimensional axis-aligned bounding-box.
Definition: Box.h:18
Automatically reference-counted string container.
Definition: String.h:128
Base for all interfacable components.
Definition: Component.h:20
Copy-On-Write shared pointer.
Definition: Protectable.h:93
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192