#include <GelatoDisplayDevice.h>
Inheritance diagram for GelatoDisplayDevice:
Public Methods | |
GelatoDisplayDevice (void) | |
constructor ... initialize some variables. More... | |
virtual | ~GelatoDisplayDevice (void) |
destructor. More... | |
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 rad, int filled) |
draw a cylinder. More... | |
void | line (float *xyz1, float *xyz2) |
draw a line (cylinder) from a to b. More... | |
void | point (float *xyz) |
draw a point. More... | |
void | sphere (float *xyzr) |
draw a sphere. More... | |
void | square (float *, float *, float *, float *, float *) |
draw a quadrilateral. 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... | |
virtual void | trimesh_c4n3v3 (int numverts, float *cnv, int numfacets, int *facets) |
triangle mesh built from a vertex array and facet vertex index arrays. More... | |
virtual void | tristrip (int numverts, const float *cnv, int numstrips, const int *vertsperstrip, const int *facets) |
triangle strips built from a vertex array and vertex index arrays. More... |
Definition at line 30 of file GelatoDisplayDevice.h.
|
constructor ... initialize some variables.
Definition at line 137 of file GelatoDisplayDevice.C. |
|
destructor.
Definition at line 143 of file GelatoDisplayDevice.C. |
|
Comment describing representation geometry.
Reimplemented from FileRenderer. Definition at line 598 of file GelatoDisplayDevice.C. References FileRenderer::outfile. |
|
draw a cylinder.
Reimplemented from FileRenderer. Definition at line 303 of file GelatoDisplayDevice.C. References FileRenderer::cylinder, FileRenderer::scale_radius, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
draw a line (cylinder) from a to b.
Reimplemented from FileRenderer. Definition at line 261 of file GelatoDisplayDevice.C. References DASH_LENGTH, DEFAULT_RADIUS, FileRenderer::lineStyle, FileRenderer::lineWidth, Stack< Matrix4 >::top, FileRenderer::transMat, vec_copy, vec_normalize, and vec_sub. |
|
draw a point.
Reimplemented from FileRenderer. Definition at line 223 of file GelatoDisplayDevice.C. References DEFAULT_RADIUS, FileRenderer::lineWidth, FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
draw a sphere.
Reimplemented from FileRenderer. Definition at line 240 of file GelatoDisplayDevice.C. References DEFAULT_RADIUS, FileRenderer::outfile, FileRenderer::scale_radius, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
draw a quadrilateral.
Reimplemented from FileRenderer. Definition at line 568 of file GelatoDisplayDevice.C. References n, FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
draw text at specified location.
Reimplemented from FileRenderer. Definition at line 157 of file GelatoDisplayDevice.C. References DEFAULT_RADIUS, hersheyDrawInitLetter, hersheyDrawNextLine, FileRenderer::outfile, size, Stack< Matrix4 >::top, FileRenderer::transMat, DisplayDevice::x, and DisplayDevice::y. |
|
single color triangle with interpolated surface normals.
Reimplemented from FileRenderer. Definition at line 407 of file GelatoDisplayDevice.C. References FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
triangle with interpolated surface normals and vertex colors.
Reimplemented from FileRenderer. Definition at line 434 of file GelatoDisplayDevice.C. References FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
triangle mesh built from a vertex array and facet vertex index arrays.
Reimplemented from FileRenderer. Definition at line 465 of file GelatoDisplayDevice.C. References FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
triangle strips built from a vertex array and vertex index arrays.
Reimplemented from FileRenderer. Definition at line 507 of file GelatoDisplayDevice.C. References FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
write the header info. This is an alias for prepare3D.
Reimplemented from FileRenderer. Definition at line 604 of file GelatoDisplayDevice.C. References DisplayDevice::Aspect, FileRenderer::backColor, DISP_LIGHTS, DisplayDevice::eyePos, DisplayDevice::farClip, FileRenderer::lightState, FileRenderer::my_filename, n, DisplayDevice::nearClip, FileRenderer::outfile, DisplayDevice::PERSPECTIVE, DisplayDevice::projection, VMD_1_PI, DisplayDevice::vSize, DisplayDevice::xSize, DisplayDevice::ySize, and DisplayDevice::zDist. |
|
write any trailer info. This is called by update.
Reimplemented from FileRenderer. Definition at line 681 of file GelatoDisplayDevice.C. References FileRenderer::outfile. |