#include <R3dDisplayDevice.h>
Inheritance diagram for R3dDisplayDevice:
Public Methods | |
R3dDisplayDevice (void) | |
virtual | ~R3dDisplayDevice (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 | cylinder (float *, float *, float, int) |
draw a cylinder, with optional caps. More... | |
void | line (float *, float *) |
draw a single line. More... | |
void | point (float *) |
draw an unlit point. More... | |
void | sphere (float *) |
draw a sphere. More... | |
void | text (float *pos, float size, float thickness, const char *str) |
draw text at specified location. More... | |
void | triangle (const float *, const float *, const float *, const float *, const float *, const float *) |
single color triangle with interpolated surface normals. More... | |
void | tricolor (const float *xyz1, const float *xyz2, const float *xyz3, const float *n1, const float *n2, const float *n3, const float *c1, const float *c2, const float *c3) |
triangle with interpolated surface normals and vertex colors. More... |
Definition at line 28 of file R3dDisplayDevice.h.
|
Definition at line 42 of file R3dDisplayDevice.C. |
|
Definition at line 49 of file R3dDisplayDevice.C. |
|
Comment describing representation geometry.
Reimplemented from FileRenderer. Definition at line 324 of file R3dDisplayDevice.C. References length, and FileRenderer::outfile. |
|
draw a cylinder, with optional caps.
Reimplemented from FileRenderer. Definition at line 231 of file R3dDisplayDevice.C. References currentColor, FileRenderer::outfile, FileRenderer::scale_radius, sqr, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
draw a single line.
Reimplemented from FileRenderer. Definition at line 172 of file R3dDisplayDevice.C. References currentColor, DASH_LENGTH, DEFAULT_RADIUS, FileRenderer::lineStyle, FileRenderer::lineWidth, FileRenderer::outfile, sqr, Stack< Matrix4 >::top, FileRenderer::transMat, vec_copy, vec_normalize, and vec_sub. |
|
draw an unlit point.
Reimplemented from FileRenderer. Definition at line 134 of file R3dDisplayDevice.C. References currentColor, DEFAULT_RADIUS, FileRenderer::lineWidth, FileRenderer::outfile, sqr, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
draw a sphere.
Reimplemented from FileRenderer. Definition at line 151 of file R3dDisplayDevice.C. References currentColor, FileRenderer::outfile, FileRenderer::scale_radius, sqr, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
draw text at specified location.
Reimplemented from FileRenderer. Definition at line 63 of file R3dDisplayDevice.C. References currentColor, DEFAULT_RADIUS, hersheyDrawInitLetter, hersheyDrawNextLine, FileRenderer::outfile, size, sqr, Stack< Matrix4 >::top, FileRenderer::transMat, DisplayDevice::x, and DisplayDevice::y. |
|
single color triangle with interpolated surface normals.
Reimplemented from FileRenderer. Definition at line 256 of file R3dDisplayDevice.C. References currentColor, FileRenderer::outfile, sqr, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
triangle with interpolated surface normals and vertex colors.
Reimplemented from FileRenderer. Definition at line 288 of file R3dDisplayDevice.C. References currentColor, FileRenderer::outfile, sqr, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
write the header info. This is an alias for prepare3D.
Reimplemented from FileRenderer. Definition at line 346 of file R3dDisplayDevice.C. References DisplayDevice::Aspect, FileRenderer::backColor, DISP_LIGHTS, DisplayDevice::eyePos, FileRenderer::lightState, DisplayDevice::ORTHOGRAPHIC, FileRenderer::outfile, DisplayDevice::PERSPECTIVE, DisplayDevice::projection, FileRenderer::scale, DisplayDevice::vSize, DisplayDevice::xSize, DisplayDevice::ySize, and DisplayDevice::zDist. |
|
write any trailer info. This is called by update.
Reimplemented from FileRenderer. Definition at line 480 of file R3dDisplayDevice.C. |