7 #ifndef __draw_DrawNull_h__ 8 #define __draw_DrawNull_h__ 23 virtual BWORD
isDirect(
void)
const {
return TRUE; }
31 virtual void pushMatrix(MatrixMode a_mode,Real a_values[16]) {}
48 virtual BWORD
empty(
void)
const {
return TRUE; }
58 BWORD multicolor,
const Color *color) {}
61 BWORD multicolor,
const Color *color,
66 const Color *color) {}
70 BWORD multicolor,
const Color *color,
71 BWORD multiradius,
const Real *radius,
72 const Vector3i *element,U32 elementCount,
76 const Real* radius,U32 vertices,
77 BWORD multicolor,
const Color *color) {}
80 const Vector2 *texture,U32 vertices,
82 const Color *color) {}
85 const Vector2 *texture,U32 vertices,
94 BWORD multicolor,
const Color *color) {}
100 const Color* color) {}
111 const Color& color) {}
114 const Color& color) {}
117 const Color& color,U32 slices) {}
120 Real radius1,Real radius2,
121 const Color& color,U32 slices) {}
124 const Real *baseScale,
125 const U32* slices,U32 cylinders,
126 BWORD multicolor,
const Color* color) {}
127 virtual void drawTransformedCylinders(
131 const Real *baseScale,
132 const U32* slices,U32 cylinders,
133 BWORD multicolor,
const Color* color) {}
136 Real startangle,Real endangle,
137 const Color& color) {}
138 virtual void drawTransformedPoints(
143 BWORD multicolor,
const Color *color) {}
144 virtual void drawTransformedPoints(
149 BWORD multicolor,
const Color *color,
151 virtual void drawTransformedLines(
157 BWORD multicolor,
const Color *color) {}
158 virtual void drawTransformedLines(
164 BWORD multicolor,
const Color *color,
165 BWORD multiradius,
const Real *radius,
166 const Vector3i *element,U32 elementCount,
168 virtual void drawTransformedCurve(
173 const Real* radius,U32 vertices,
174 BWORD multicolor,
const Color *color) {}
175 virtual void drawTransformedTriangles(
181 U32 vertices,
StripMode strip,BWORD multicolor,
182 const Color *color) {}
183 virtual void drawTransformedTriangles(
189 U32 vertices,
StripMode strip,BWORD multicolor,
195 virtual void drawTransformedBox(
198 const Color& color) {}
199 virtual void drawTransformedBoxes(
204 const Color* color) {}
205 virtual void drawAxes(Real scale) {}
208 virtual void drawMarker(Real radius,
const Color& color) {}
209 virtual void drawTransformedMarker(
211 Real radius,
const Color& color) {}
virtual void flush(void)
Called once after each frame.
Definition: DrawNull.h:45
virtual void pushMatrixState(void)
Push transform matrices.
Definition: DrawNull.h:29
virtual void drawBox(const Box3 &box, const Color &color)
Draw 3D box.
Definition: DrawNull.h:106
virtual void flushLive(void)
Pass on current input data as is.
Definition: DrawNull.h:46
virtual BWORD isDirect(void) const
Returns TRUE is display is local and rendered directly.
Definition: DrawNull.h:23
virtual void drawCurve(const SpatialVector *vertex, const SpatialVector *normal, const Real *radius, U32 vertices, BWORD multicolor, const Color *color)
Draw one curve.
Definition: DrawNull.h:74
Generalized drawing of points, lines, text, and basic triangles.
Definition: DrawI.h:20
virtual void drawAlignedText(const SpatialVector &location, const String text, const Color &color)
Draw screen-aligned single color text.
Definition: DrawNull.h:107
virtual void drawCylinder(const SpatialTransform &transform, const SpatialVector *scale, Real baseScale, const Color &color, U32 slices)
Draw a transformed cylinder or cone.
Definition: DrawNull.h:115
kernel
Definition: namespace.dox:3
StripMode
Format of vertices for tri-stripping.
Definition: DrawI.h:26
virtual Real multiplication(void)
Select the GL-specific index/handle.
Definition: DrawNull.h:55
virtual BWORD empty(void) const
Returns TRUE if the current input queue is empty.
Definition: DrawNull.h:48
virtual void drawBox(const Box2i &box, const Color &color)
Draw 2D box with pixel adjustments.
Definition: DrawNull.h:105
virtual void drawRectangles(const SpatialVector *vertex, U32 vertices, BWORD multicolor, const Color *color)
Draw rectangles.
Definition: DrawNull.h:92
virtual void draw(cp< DrawableI > cpDrawableI, const Color *color)
Draw DrawableI.
Definition: DrawNull.h:95
Special vector for color (RGBA)
Definition: Color.h:21
N-dimensional axis-aligned bounding-box.
Definition: Box.h:18
virtual sp< DrawMode > popDrawMode(void)
Pop rendering mode from stack.
Definition: DrawNull.h:28
virtual void pushMatrix(MatrixMode a_mode, Real a_values[16])
push a new 4x4 matrix on a particular stack
Definition: DrawNull.h:31
virtual void drawLines(const SpatialVector *vertex, const SpatialVector *normal, U32 vertices, StripMode strip, BWORD multicolor, const Color *color)
Draw lines.
Definition: DrawNull.h:63
virtual void unbindVertexArray(void)
currently, sets vertex array to zero in OpenGL
Definition: DrawNull.h:33
virtual void popMatrix(MatrixMode a_mode)
pop the top 4x4 matrix from a particular stack
Definition: DrawNull.h:32
virtual void pushDrawMode(sp< DrawMode > mode)
Push rendering mode onto stack.
Definition: DrawNull.h:27
virtual void setBrightness(Real a_brightness)
set additive lightening
Definition: DrawNull.h:34
virtual void drawTriangles(const SpatialVector *vertex, const SpatialVector *normal, const Vector2 *texture, U32 vertices, StripMode strip, BWORD multicolor, const Color *color)
Draw triangles.
Definition: DrawNull.h:78
virtual sp< ViewI > view(void) const
Get current view.
Definition: DrawNull.h:39
virtual sp< FontI > font(void)
Get current font.
Definition: DrawNull.h:50
virtual void setContrast(Real a_contrast)
set multiplicitive light scaling
Definition: DrawNull.h:36
virtual sp< DrawMode > drawMode(void) const
Get rendering mode.
Definition: DrawNull.h:26
Automatically reference-counted string container.
Definition: String.h:128
virtual void drawBox(const Box2 &box, const Color &color)
Draw 2D box.
Definition: DrawNull.h:104
virtual Real brightness(void)
get lightening
Definition: DrawNull.h:35
virtual void setView(sp< ViewI > spViewI)
Set current view.
Definition: DrawNull.h:38
Draw nothing for DrawI, elegantly.
Definition: DrawNull.h:20
virtual void popMatrixState(void)
Pop transform matrices.
Definition: DrawNull.h:30
virtual void drawPoints(const SpatialVector *vertex, const SpatialVector *normal, U32 vertices, BWORD multicolor, const Color *color)
Draw points vertex[vertices].
Definition: DrawNull.h:56
Copy-On-Write shared pointer.
Definition: Protectable.h:93
virtual Real contrast(void)
get light scaling
Definition: DrawNull.h:37
virtual void setDrawChain(sp< DrawI > a_spDrawI)
Set next DrawI in a chain.
Definition: DrawNull.h:41
virtual void setTransform(const SpatialTransform &a_rTransform)
Impose a spatial translation.
Definition: DrawNull.h:44
virtual void setDrawMode(sp< DrawMode > spDrawMode)
Set rendering mode.
Definition: DrawNull.h:25
virtual void clearInput(void)
Reset the current input queue.
Definition: DrawNull.h:47