#include <VrmlDisplayDevice.h>
Inheritance diagram for VrmlDisplayDevice:
Public Methods | |
VrmlDisplayDevice (void) | |
void | write_header (void) |
write the header info. This is an alias for prepare3D. More... | |
void | write_trailer (void) |
write any trailer info. This is called by update. More... | |
Protected Methods | |
void | comment (const char *) |
Comment describing representation geometry. More... | |
void | cone (float *a, float *b, float rad, int) |
draw a single-radius cone (pointy top). More... | |
void | cylinder (float *a, float *b, float rad, int filled) |
draw a cylinder, with optional caps. More... | |
void | line (float *xyz1, float *xyz2) |
draw a single line. More... | |
void | sphere (float *xyzr) |
draw a sphere. More... | |
void | triangle (const float *, const float *, const float *, const float *, const float *, const float *) |
single color triangle with interpolated surface normals. More... | |
void | push (void) |
transformation functions. More... | |
void | pop (void) |
void | load (const Matrix4 &mat) |
void | multmatrix (const Matrix4 &mat) |
multiply transformation matrix. More... | |
void | set_color (int color_index) |
set the colorID. More... |
Definition at line 31 of file VrmlDisplayDevice.h.
|
Definition at line 41 of file VrmlDisplayDevice.C. References NULL. |
|
Comment describing representation geometry.
Reimplemented from FileRenderer. Definition at line 207 of file VrmlDisplayDevice.C. References FileRenderer::outfile. |
|
draw a single-radius cone (pointy top).
Reimplemented from FileRenderer. Definition at line 140 of file VrmlDisplayDevice.C. References convert_endpoints_to_matrix, distance, load, mat, FileRenderer::outfile, pop, and push. |
|
draw a cylinder, with optional caps.
Reimplemented from FileRenderer. Definition at line 118 of file VrmlDisplayDevice.C. References convert_endpoints_to_matrix, distance, load, mat, FileRenderer::outfile, pop, and push. |
|
draw a single line.
Reimplemented from FileRenderer. Definition at line 64 of file VrmlDisplayDevice.C. References FileRenderer::outfile. |
|
Reimplemented from FileRenderer. Definition at line 192 of file VrmlDisplayDevice.C. References Matrix4::mat, mat, and FileRenderer::outfile. Referenced by cone, cylinder, and multmatrix. |
|
multiply transformation matrix.
Reimplemented from FileRenderer. Definition at line 187 of file VrmlDisplayDevice.C. References load, mat, and FileRenderer::outfile. |
|
Definition at line 183 of file VrmlDisplayDevice.C. References FileRenderer::outfile. |
|
transformation functions.
Definition at line 179 of file VrmlDisplayDevice.C. References FileRenderer::outfile. |
|
set the colorID.
Reimplemented from FileRenderer. Definition at line 48 of file VrmlDisplayDevice.C. References FileRenderer::materialIndex. |
|
draw a sphere.
Reimplemented from FileRenderer. Definition at line 53 of file VrmlDisplayDevice.C. References FileRenderer::outfile. |
|
single color triangle with interpolated surface normals.
Reimplemented from FileRenderer. Definition at line 161 of file VrmlDisplayDevice.C. References FileRenderer::outfile. |
|
write the header info. This is an alias for prepare3D.
Reimplemented from FileRenderer. Definition at line 214 of file VrmlDisplayDevice.C. References FileRenderer::outfile. |
|
write any trailer info. This is called by update.
Reimplemented from FileRenderer. Definition at line 221 of file VrmlDisplayDevice.C. References FileRenderer::outfile. |