#include <RayShadeDisplayDevice.h>
Inheritance diagram for RayShadeDisplayDevice:
Public Methods | |
RayShadeDisplayDevice () | |
virtual | ~RayShadeDisplayDevice (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 *) |
assorted graphics functions. More... | |
void | cone (float *, float *, float, int) |
draw a single-radius cone (pointy top). More... | |
void | cylinder (float *, float *, float, int filled) |
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 | triangle (const float *, const float *, const float *, const float *, const float *, const float *) |
single color triangle with interpolated surface normals. More... |
Definition at line 28 of file RayShadeDisplayDevice.h.
|
Definition at line 37 of file RayShadeDisplayDevice.C. |
|
Definition at line 41 of file RayShadeDisplayDevice.C. |
|
assorted graphics functions.
Reimplemented from FileRenderer. Definition at line 258 of file RayShadeDisplayDevice.C. References FileRenderer::outfile. |
|
draw a single-radius cone (pointy top).
Reimplemented from FileRenderer. Definition at line 164 of file RayShadeDisplayDevice.C. References FileRenderer::colorIndex, DEFAULT_RADIUS, FileRenderer::lineWidth, FileRenderer::materialIndex, FileRenderer::outfile, FileRenderer::scale_radius, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
draw a cylinder, with optional caps.
Reimplemented from FileRenderer. Definition at line 135 of file RayShadeDisplayDevice.C. References FileRenderer::colorIndex, FileRenderer::materialIndex, FileRenderer::outfile, FileRenderer::scale_radius, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
draw a single line.
Reimplemented from FileRenderer. Definition at line 83 of file RayShadeDisplayDevice.C. References FileRenderer::colorIndex, DASH_LENGTH, DEFAULT_RADIUS, FileRenderer::lineStyle, FileRenderer::lineWidth, FileRenderer::materialIndex, FileRenderer::outfile, Stack< Matrix4 >::top, FileRenderer::transMat, vec_copy, vec_normalize, and vec_sub. |
|
draw an unlit point.
Reimplemented from FileRenderer. Definition at line 51 of file RayShadeDisplayDevice.C. References FileRenderer::colorIndex, DEFAULT_RADIUS, FileRenderer::lineWidth, FileRenderer::materialIndex, FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
draw a sphere.
Reimplemented from FileRenderer. Definition at line 66 of file RayShadeDisplayDevice.C. References FileRenderer::colorIndex, FileRenderer::materialIndex, FileRenderer::outfile, FileRenderer::scale_radius, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
single color triangle with interpolated surface normals.
Reimplemented from FileRenderer. Definition at line 182 of file RayShadeDisplayDevice.C. References FileRenderer::colorIndex, FileRenderer::materialIndex, FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
write the header info. This is an alias for prepare3D.
Reimplemented from FileRenderer. Definition at line 212 of file RayShadeDisplayDevice.C. References FileRenderer::backColor, DISP_LIGHTS, DisplayDevice::eyeDir, DisplayDevice::eyePos, DisplayDevice::eyesep, FileRenderer::lightState, FileRenderer::my_filename, NULL, FileRenderer::outfile, DisplayDevice::stereo_mode, DisplayDevice::xSize, and DisplayDevice::ySize. |
|
write any trailer info. This is called by update.
Reimplemented from FileRenderer. Definition at line 264 of file RayShadeDisplayDevice.C. References FileRenderer::outfile. |