#include <TachyonDisplayDevice.h>
Inheritance diagram for TachyonDisplayDevice:
Public Methods | |
TachyonDisplayDevice (void) | |
virtual | ~TachyonDisplayDevice (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 rad, int filled) |
draw a cylinder, with optional caps. More... | |
void | line (float *xyz1, float *xyz2) |
draw a single line. More... | |
void | point (float *xyz) |
draw an unlit point. More... | |
void | sphere (float *xyzr) |
draw a sphere. More... | |
virtual void | sphere_array (int num, int res, float *centers, float *radii, float *colors) |
draw a sphere array. 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 | trimesh_c4u_n3b_v3f (unsigned char *c, signed char *n, float *v, int numfacets) |
triangle mesh built from a vertex array. 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... | |
virtual void | define_volume_texture (int ID, int xs, int ys, int zs, const float *xplaneeq, const float *yplaneeq, const float *zplaneeq, unsigned char *texmap) |
define a volumetric texture map. More... | |
virtual void | volume_texture_on (int texmode) |
enable volumetric texturing, either in "replace" or "modulate" mode. More... | |
virtual void | volume_texture_off (void) |
disable volumetric texturing. More... | |
void | start_clipgroup (void) |
emit clipping plane group. More... | |
void | end_clipgroup (void) |
terminate clipping plane group. More... | |
void | update_exec_cmd () |
Renderer-specific function to update execCmd based on the current state of aasamples, image size, etc. Default implementation is to do nothing. More... |
Definition at line 30 of file TachyonDisplayDevice.h.
|
Definition at line 103 of file TachyonDisplayDevice.C. References FileRenderer::aasamples, NameList< int >::add_name, FileRenderer::aosamples, FileRenderer::curformat, FileRenderer::formats, get_tachyon_run_string, and FileRenderer::has_aa. |
|
Definition at line 128 of file TachyonDisplayDevice.C. |
|
Comment describing representation geometry.
Reimplemented from FileRenderer. Definition at line 143 of file TachyonDisplayDevice.C. References FileRenderer::outfile. |
|
draw a cylinder, with optional caps.
Reimplemented from FileRenderer. Definition at line 325 of file TachyonDisplayDevice.C. References FileRenderer::colorIndex, CYLINDER_LEADINGCAP, CYLINDER_TRAILINGCAP, FileRenderer::materialIndex, FileRenderer::outfile, FileRenderer::scale_radius, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
define a volumetric texture map.
Reimplemented from FileRenderer. Definition at line 622 of file TachyonDisplayDevice.C. References FileRenderer::outfile, DisplayDevice::x, DisplayDevice::y, and z. |
|
terminate clipping plane group.
Reimplemented from FileRenderer. Definition at line 793 of file TachyonDisplayDevice.C. References FileRenderer::outfile. |
|
draw a single line.
Reimplemented from FileRenderer. Definition at line 269 of file TachyonDisplayDevice.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 212 of file TachyonDisplayDevice.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 226 of file TachyonDisplayDevice.C. References FileRenderer::colorIndex, FileRenderer::materialIndex, FileRenderer::outfile, FileRenderer::scale_radius, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
draw a sphere array.
Reimplemented from FileRenderer. Definition at line 243 of file TachyonDisplayDevice.C. References FileRenderer::materialIndex, FileRenderer::nearest_index, FileRenderer::outfile, FileRenderer::scale_radius, FileRenderer::super_set_color, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
emit clipping plane group.
Reimplemented from FileRenderer. Definition at line 682 of file TachyonDisplayDevice.C. References FileRenderer::clip_center, FileRenderer::clip_mode, FileRenderer::clip_normal, dot_prod, FILERENDERER_NOCLIP, FileRenderer::outfile, Stack< Matrix4 >::top, FileRenderer::transMat, vec_negate, VMD_MAX_CLIP_PLANE, and FileRenderer::warningflags. |
|
draw text at specified location.
Reimplemented from FileRenderer. Definition at line 148 of file TachyonDisplayDevice.C. References FileRenderer::colorIndex, DEFAULT_RADIUS, hersheyDrawInitLetter, hersheyDrawNextLine, FileRenderer::materialIndex, 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 374 of file TachyonDisplayDevice.C. References FileRenderer::colorIndex, FileRenderer::materialIndex, FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
triangle with interpolated surface normals and vertex colors.
Reimplemented from FileRenderer. Definition at line 401 of file TachyonDisplayDevice.C. References FileRenderer::mat_ambient, FileRenderer::mat_diffuse, FileRenderer::mat_mirror, FileRenderer::mat_opacity, FileRenderer::mat_outline, FileRenderer::mat_outlinewidth, FileRenderer::mat_shininess, FileRenderer::mat_specular, FileRenderer::mat_transmode, 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 460 of file TachyonDisplayDevice.C. References FileRenderer::colorIndex, FileRenderer::materialIndex, FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
triangle mesh built from a vertex array.
Reimplemented from FileRenderer. Definition at line 506 of file TachyonDisplayDevice.C. References FileRenderer::colorIndex, FileRenderer::materialIndex, n, 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 570 of file TachyonDisplayDevice.C. References FileRenderer::colorIndex, FileRenderer::materialIndex, FileRenderer::outfile, Stack< Matrix4 >::top, and FileRenderer::transMat. |
|
Renderer-specific function to update execCmd based on the current state of aasamples, image size, etc. Default implementation is to do nothing.
Reimplemented from FileRenderer. Definition at line 58 of file TachyonDisplayDevice.C. References FileRenderer::aasamples, FileRenderer::execCmd, NULL, stringdup, and tachyon_run_string. |
|
disable volumetric texturing.
Reimplemented from FileRenderer. Definition at line 677 of file TachyonDisplayDevice.C. |
|
enable volumetric texturing, either in "replace" or "modulate" mode.
Reimplemented from FileRenderer. Definition at line 671 of file TachyonDisplayDevice.C. |
|
write the header info. This is an alias for prepare3D.
Reimplemented from FileRenderer. Definition at line 729 of file TachyonDisplayDevice.C. References DisplayDevice::ao_enabled, FileRenderer::aosamples, DisplayDevice::get_ao_ambient, DisplayDevice::get_ao_direct, FileRenderer::outfile, DisplayDevice::shadows_enabled, TACHYON_RUN_STRING, DisplayDevice::xSize, and DisplayDevice::ySize. |
|
write any trailer info. This is called by update.
Reimplemented from FileRenderer. Definition at line 801 of file TachyonDisplayDevice.C. References FileRenderer::outfile. |