#include <FileRenderer.h>
Inheritance diagram for FileRenderer:

Public Methods | |
| FileRenderer (const char *public_name, const char *public_pretty_name, const char *default_file_name, const char *default_command_line) | |
| create the renderer; set the 'visible' name for the renderer list. More... | |
| virtual | ~FileRenderer (void) |
| const char * | visible_name (void) const |
| const char * | pretty_name (void) const |
| const char * | default_filename (void) const |
| const char * | default_exec_string (void) const |
| const char * | saved_exec_string (void) const |
| void | set_exec_string (const char *) |
| int | has_antialiasing () const |
| Supports anti-aliasing? More... | |
| int | set_aasamples (int newval) |
| Get/set the AA level; return the new value. Must be non-negative. More... | |
| int | set_aosamples (int newval) |
| Get/set the AO samples; return the new value. Must be non-negative. More... | |
| int | has_imagesize () const |
| Supports arbitrary image size? More... | |
| int | set_imagesize (int *w, int *h) |
| Get/set the image size. Return success and places the current values in the passed-in pointers. May fail if the renderer is not able to specify the image size (e.g. snapshot). Passing 0,0 just returns the current values. More... | |
| float | set_aspectratio (float aspect) |
| Set the aspect ratio. Negative values ignored. Returns the new value. Also updates image size if it has been set. More... | |
| int | numformats () const |
| Number of output formats. More... | |
| const char * | format (int i) const |
| get/set formats. More... | |
| const char * | format () const |
| int | set_format (const char *format) |
| virtual void | set_background (const float *) |
| copy in the background color. More... | |
| virtual void | set_backgradient (const float *top, const float *bot) |
| set gradient colors. More... | |
| virtual int | open_file (const char *filename) |
| open the file; don't write the header info return TRUE if opened okay if file already opened, complain, and close previous file this will also reset the state variables. More... | |
| virtual int | do_define_light (int n, float *color, float *position) |
| virtual routines to deal with light sources, return success/failure. More... | |
| virtual int | do_activate_light (int n, int turnon) |
| virtual int | do_define_adv_light (int n, float *color, float *position, float constant, float linear, float quad, float *spotdir, float fallstart, float fallend, int spoton) |
| virtual int | do_activate_adv_light (int n, int turnon) |
| virtual int | prepare3D (int) |
| ready to draw 3D. More... | |
| virtual void | render (const VMDDisplayList *) |
| process list of draw commands. More... | |
| virtual void | update (int) |
| don't need to override this (unless you want to do so). More... | |
Protected Methods | |
| virtual 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... | |
| virtual void | do_use_colors () |
| virtual void | write_header (void) |
| write the header info. This is an alias for prepare3D. More... | |
| void | reset_state (void) |
| virtual void | write_trailer (void) |
| write any trailer info. This is called by update. More... | |
| virtual void | close_file (void) |
| close the file. This is called by update, and exists due to symmetry. Also, is called for case when open is called when a file was already open. More... | |
| void | super_load (float *cmdptr) |
| virtual void | load (const Matrix4 &) |
| void | super_multmatrix (const float *cmdptr) |
| virtual void | multmatrix (const Matrix4 &) |
| multiply transformation matrix. More... | |
| void | super_translate (float *cmdptr) |
| virtual void | translate (float, float, float) |
| void | super_rot (float *cmdptr) |
| virtual void | rot (float, char) |
| void | super_scale (float *cmdptr) |
| void | super_scale (float) |
| virtual void | scale (float, float, float) |
| float | scale_factor (void) |
| return the current scaling factor to use with large batches of geometry. More... | |
| float | scale_radius (float) |
| apply current scaling factor to radius. More... | |
| void | super_set_color (int index) |
| only calls set_color when index changes. More... | |
| virtual void | set_color (int) |
| set the color index. More... | |
| int | nearest_index (float r, float g, float b) const |
| compute nearest index in matData using given rgb value XXX We shouldn't be doing this; a better approach would be to store the new color in the matData color table and return the new index, rather than trying to match a 17 color palette. More... | |
| void | super_set_material (int index) |
| only call set_material on idx chg. More... | |
| virtual void | set_material (int) |
| change material index. More... | |
| virtual void | start_clipgroup () |
| emit clipping plane group. More... | |
| virtual void | end_clipgroup () |
| terminate clipping plane group. More... | |
| virtual void | set_line_width (int new_width) |
| virtual void | set_line_style (int) |
| called by super. More... | |
| virtual void | set_sphere_res (int) |
| called by super. More... | |
| virtual void | set_sphere_style (int) |
| called by super. More... | |
| void | super_materials (int on_or_off) |
| virtual void | activate_materials (void) |
| if previous is TRUE. More... | |
| virtual void | deactivate_materials (void) |
| if super is FALSE. More... | |
| virtual void | cone (float *xyz1, float *xyz2, float radius, int resolution) |
| draw a single-radius cone (pointy top). More... | |
| virtual void | cone_trunc (float *, float *, float, float, int) |
| draw a two-radius truncated cone. More... | |
| virtual void | cylinder (float *base, float *apex, float radius, int filled) |
| draw a cylinder, with optional caps. More... | |
| virtual void | line (float *a, float *b) |
| draw a single line. More... | |
| virtual void | line_array (int num, float thickness, float *points) |
| draw a set of lines with the same color and thickness. More... | |
| virtual void | polyline_array (int num, float thickness, float *points) |
| draw a set of connected lines with the same color and thickness. More... | |
| virtual void | point (float *xyz) |
| draw an unlit point. More... | |
| virtual void | point_array (int num, float size, float *xyz, float *colors) |
| draw an unlighted point array. More... | |
| virtual void | point_array_lit (int num, float size, float *xyz, float *norm, float *colors) |
| draw a lighted point array. More... | |
| virtual 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... | |
| virtual void | square (float *norm, float *a, float *b, float *c, float *d) |
| draw a quadrilateral. More... | |
| virtual void | triangle (const float *, const float *, const float *, const float *, const float *, const float *) |
| single color triangle with interpolated surface normals. More... | |
| virtual 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_n3f_v3f (float *n, float *v, int numfacets) |
| triangle mesh built from a vertex array. More... | |
| virtual void | trimesh_n3b_v3f (char *n, float *v, int numfacets) |
| virtual void | trimesh_c3f_n3f_v3f (float *c, float *n, float *v, int numfacets) |
| triangle mesh built from a vertex array. More... | |
| virtual void | trimesh_c4n3v3 (int, float *cnv, int numfacets, int *facets) |
| triangle mesh built from a vertex array and facet vertex index arrays. More... | |
| virtual void | trimesh_c4u_n3f_v3f (unsigned char *c, float *n, float *v, int numfacets) |
| triangle mesh built from a vertex array. More... | |
| virtual void | trimesh_c4u_n3b_v3f (unsigned char *c, char *n, float *v, int numfacets) |
| triangle mesh built from a vertex array. More... | |
| virtual void | trimesh_singlecolor (int cindex, int, float *nv, int numfacets, int *facets) |
| triangle mesh built from a vertex array and facet vertex index arrays. More... | |
| virtual void | tristrip (int, 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 | tristrip_singlecolor (int, const float *nv, int numstrips, const int *stripcolindex, const int *vertsperstrip, const int *facets) |
| single-color triangle strips built from a vertex array and vertex index arrays. More... | |
| virtual void | trifan_singlecolor (int, const float *nv, int numfans, const int *fancolindex, const int *vertsperfan, const int *facets) |
| single-color triangle fans 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... | |
| virtual void | wiremesh (int, float *cnv, int numlines, int *lines) |
| wire mesh built from a vertex array and an vertex index array. More... | |
| virtual void | beginrepgeomgroup (const char *) |
| start a new representation geometry group, used to preserve some of the original scene hierarchy when loading VMD scenes into tools like Maya, 3DS Max, etc. More... | |
| virtual void | comment (const char *) |
| Comment describing representation geometry. More... | |
| virtual void | text (float *pos, float size, float thickness, const char *str) |
| draw text at specified location. More... | |
| virtual void | pick_point (float *, int) |
| here for completeness, only VRML or 'token' renderers would likely use it. More... | |
Protected Attributes | |
| char * | publicName |
| scripting name of renderer (no spaces). More... | |
| char * | publicPrettyName |
| name of renderer for use in GUIs. More... | |
| char * | defaultFilename |
| default output filename. More... | |
| char * | defaultCommandLine |
| default rendering command. More... | |
| char * | execCmd |
| current version of the post-render command. More... | |
| FILE * | outfile |
| the current file. More... | |
| int | isOpened |
| is the file opened correctly. More... | |
| char * | my_filename |
| the current filename. More... | |
| int | has_aa |
| supports antialiasing; off by default. More... | |
| int | aasamples |
| antialiasing samples, -1 if unsupported. More... | |
| int | aosamples |
| ambient occlusion samples, -1 if unsupported. More... | |
| int | has_imgsize |
| True if the renderer can produce an arbitrary-sized image; false by default. More... | |
| int | warningflags |
| If set, emit a warning message that this subclass doesn't support all of the render features in use by the current scene. More... | |
| int | imgwidth |
| int | imgheight |
| desired size of image. More... | |
| float | aspectratio |
| Desired aspect ratio. More... | |
| NameList< int > | formats |
| Output formats supported by this renderer. More... | |
| int | curformat |
| Currently selected format. More... | |
| float | textoffset_x |
| label text offset. More... | |
| float | textoffset_y |
| label text offset. More... | |
| LightState | lightState [DISP_LIGHTS] |
| state of all lights. More... | |
| AdvancedLightState | advLightState [DISP_LIGHTS] |
| state of advanced lights. More... | |
| float | matData [MAXCOLORS][3] |
| color state, copied into here when do_use_colors is called. More... | |
| float | backColor [3] |
| background color, copied into here with set_background is called. More... | |
| float | backgradientenabled |
| flag indicating background gradient use. More... | |
| float | backgradienttopcolor [3] |
| top edge color of background gradient. More... | |
| float | backgradientbotcolor [3] |
| bottom edge color of background gradient. More... | |
| Stack< Matrix4 > | transMat |
| current transformation matrix for the display (NOT the projection matrix). More... | |
| int | colorIndex |
| active color index. More... | |
| int | materialIndex |
| active material index. More... | |
| float | mat_ambient |
| active ambient value. More... | |
| float | mat_diffuse |
| active diffuse value. More... | |
| float | mat_specular |
| active specular value. More... | |
| float | mat_shininess |
| active shininess value. More... | |
| float | mat_opacity |
| active opacity value. More... | |
| float | mat_outline |
| active outline factor. More... | |
| float | mat_outlinewidth |
| active outline width. More... | |
| float | mat_transmode |
| active transparency mode. More... | |
| float | clip_center [VMD_MAX_CLIP_PLANE][3] |
| clipping plane center. More... | |
| float | clip_normal [VMD_MAX_CLIP_PLANE][3] |
| clipping plane normal. More... | |
| float | clip_color [VMD_MAX_CLIP_PLANE][3] |
| clipping plane CSG color. More... | |
| int | clip_mode [VMD_MAX_CLIP_PLANE] |
| clipping plane mode. More... | |
| int | lineWidth |
| drawing characteristics ... line style, sphere resolution, etc. More... | |
| int | lineStyle |
| drawing characteristics ... line style, sphere resolution, etc. More... | |
| int | pointSize |
| int | sphereResolution |
| int | sphereStyle |
| int | materials_on |
Definition at line 44 of file FileRenderer.h.
|
||||||||||||||||||||
|
create the renderer; set the 'visible' name for the renderer list.
Definition at line 35 of file FileRenderer.C. References aasamples, aspectratio, curformat, defaultCommandLine, defaultFilename, execCmd, FILERENDERER_NOWARNINGS, has_aa, has_imgsize, imgheight, imgwidth, isOpened, my_filename, NULL, outfile, publicName, publicPrettyName, stringdup, textoffset_x, textoffset_y, and warningflags. |
|
|
Definition at line 68 of file FileRenderer.C. References close_file, defaultCommandLine, defaultFilename, execCmd, my_filename, publicName, and publicPrettyName. |
|
|
if previous is TRUE.
Definition at line 317 of file FileRenderer.h. Referenced by super_materials. |
|
|
start a new representation geometry group, used to preserve some of the original scene hierarchy when loading VMD scenes into tools like Maya, 3DS Max, etc.
Reimplemented in MayaDisplayDevice. Definition at line 733 of file FileRenderer.h. Referenced by render. |
|
|
close the file. This is called by update, and exists due to symmetry. Also, is called for case when open is called when a file was already open.
Reimplemented in LibTachyonDisplayDevice. Definition at line 240 of file FileRenderer.C. References isOpened, my_filename, NULL, and outfile. Referenced by open_file, update, and ~FileRenderer. |
|
|
Comment describing representation geometry.
Reimplemented in ArtDisplayDevice. Definition at line 736 of file FileRenderer.h. Referenced by render. |
|
||||||||||||||||||||
|
draw a single-radius cone (pointy top).
Reimplemented in ArtDisplayDevice. Definition at line 324 of file FileRenderer.h. References cone_trunc. |
|
||||||||||||||||||||||||
|
draw a two-radius truncated cone.
Reimplemented in RadianceDisplayDevice. Definition at line 769 of file FileRenderer.C. References cross_prod, CYLINDER_LEADINGCAP, CYLINDER_TRAILINGCAP, triangle, vec_add, vec_copy, vec_negate, vec_normalize, and VMD_TWOPI. |
|
||||||||||||||||||||
|
draw a cylinder, with optional caps.
Reimplemented in ArtDisplayDevice. Definition at line 904 of file FileRenderer.C. References colorIndex, cross_prod, CYLINDER_LEADINGCAP, CYLINDER_TRAILINGCAP, trifan_singlecolor, tristrip_singlecolor, vec_add, vec_copy, vec_negate, vec_normalize, and VMD_TWOPI. Referenced by RenderManDisplayDevice::cylinder, GelatoDisplayDevice::cylinder, LibGelatoDisplayDevice::line, line, and render. |
|
|
if super is FALSE.
Definition at line 318 of file FileRenderer.h. Referenced by super_materials. |
|
|
Definition at line 120 of file FileRenderer.h. References defaultCommandLine. Referenced by VMDApp::filerender_default_option. |
|
|
Definition at line 119 of file FileRenderer.h. References defaultFilename. Referenced by VMDApp::filerender_default_filename. |
|
||||||||||||||||||||||||||||||||||||
|
define a volumetric texture map.
Reimplemented in LibTachyonDisplayDevice. Definition at line 686 of file FileRenderer.h. References FILERENDERER_NOTEXTURE, and warningflags. Referenced by render. |
|
||||||||||||
|
Definition at line 123 of file FileRenderer.C. References advLightState, DISP_LIGHTS, and FileRenderer::AdvancedLightState::on. Referenced by Scene::filedraw. |
|
||||||||||||
|
Reimplemented from DisplayDevice. Definition at line 93 of file FileRenderer.C. References DISP_LIGHTS, lightState, and FileRenderer::LightState::on. Referenced by Scene::filedraw. |
|
||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||
|
virtual routines to deal with light sources, return success/failure.
Reimplemented from DisplayDevice. Definition at line 82 of file FileRenderer.C. References FileRenderer::LightState::color, DISP_LIGHTS, lightState, and FileRenderer::LightState::pos. Referenced by Scene::filedraw. |
|
|
Reimplemented from DisplayDevice. Definition at line 133 of file FileRenderer.C. References DisplayDevice::colorData, matData, and MAXCOLORS. |
|
|
terminate clipping plane group.
Reimplemented in LibTachyonDisplayDevice. Definition at line 301 of file FileRenderer.h. Referenced by render. |
|
|
Definition at line 164 of file FileRenderer.h. References curformat, and NameList::name. |
|
|
get/set formats.
Definition at line 163 of file FileRenderer.h. References NameList::name. Referenced by FileRenderList::format, and set_format. |
|
|
Supports anti-aliasing?
Definition at line 126 of file FileRenderer.h. References has_aa. Referenced by FileRenderList::has_antialiasing. |
|
|
Supports arbitrary image size?
Definition at line 147 of file FileRenderer.h. References has_imgsize. Referenced by FileRenderList::has_imagesize. |
|
||||||||||||
|
draw a single line.
Reimplemented in ArtDisplayDevice. Definition at line 1022 of file FileRenderer.C. References cylinder, lineStyle, lineWidth, vec_copy, vec_normalize, and vec_sub. Referenced by line_array, polyline_array, render, text, and wiremesh. |
|
||||||||||||||||
|
draw a set of lines with the same color and thickness.
Reimplemented in X3DDisplayDevice. Definition at line 1052 of file FileRenderer.C. Referenced by render. |
|
|
Reimplemented in Vrml2DisplayDevice. Definition at line 255 of file FileRenderer.h. Referenced by super_load. |
|
|
multiply transformation matrix.
Reimplemented from DisplayDevice. Reimplemented in Vrml2DisplayDevice. Definition at line 257 of file FileRenderer.h. Referenced by super_multmatrix. |
|
||||||||||||||||
|
compute nearest index in matData using given rgb value XXX We shouldn't be doing this; a better approach would be to store the new color in the matData color table and return the new index, rather than trying to match a 17 color palette.
Definition at line 174 of file FileRenderer.C. References BEGREGCLRS, MAPCLRS, matData, and REGCLRS. Referenced by point_array, PSDisplayDevice::render, TachyonDisplayDevice::sphere_array, LibTachyonDisplayDevice::sphere_array, sphere_array, tricolor, WavefrontDisplayDevice::trimesh_c4n3v3, WavefrontDisplayDevice::trimesh_c4u_n3b_v3f, WavefrontDisplayDevice::tristrip, and wiremesh. |
|
|
Number of output formats.
Definition at line 160 of file FileRenderer.h. References NameList::num. Referenced by FileRenderList::numformats. |
|
|
open the file; don't write the header info return TRUE if opened okay if file already opened, complain, and close previous file this will also reset the state variables.
Reimplemented in LibTachyonDisplayDevice. Definition at line 207 of file FileRenderer.C. References close_file, isOpened, my_filename, NULL, outfile, reset_state, and stringdup. Referenced by Scene::filedraw. |
|
||||||||||||
|
here for completeness, only VRML or 'token' renderers would likely use it.
Definition at line 742 of file FileRenderer.h. Referenced by render. |
|
|
draw an unlit point.
Reimplemented in ArtDisplayDevice. Definition at line 351 of file FileRenderer.h. References lineWidth, and vec_copy. Referenced by point_array, and render. |
|
||||||||||||||||||||
|
draw an unlighted point array.
Reimplemented in X3DDisplayDevice. Definition at line 1280 of file FileRenderer.C. References nearest_index, num, point, pointSize, and super_set_color. Referenced by point_array_lit, and render. |
|
||||||||||||||||||||||||
|
draw a lighted point array.
Definition at line 1298 of file FileRenderer.C. References num, and point_array. Referenced by render. |
|
||||||||||||||||
|
draw a set of connected lines with the same color and thickness.
Reimplemented in X3DDisplayDevice. Definition at line 1064 of file FileRenderer.C. Referenced by render. |
|
|
ready to draw 3D.
Reimplemented from DisplayDevice. Definition at line 251 of file FileRenderer.C. References DisplayDevice::eyeDir, DisplayDevice::eyePos, DisplayDevice::eyeSepDir, DisplayDevice::LEFTEYE, DisplayDevice::NOSTEREO, DisplayDevice::RIGHTEYE, and write_header. Referenced by Scene::filedraw. |
|
|
Definition at line 118 of file FileRenderer.h. References publicPrettyName. Referenced by FileRenderList::pretty_name. |
|
|
|
Definition at line 222 of file FileRenderer.C. References colorIndex, lineStyle, lineWidth, materialIndex, materials_on, Stack< Matrix4 >::num, pointSize, Stack< Matrix4 >::pop, sphereResolution, sphereStyle, and transMat. Referenced by WavefrontDisplayDevice::open_file, MayaDisplayDevice::open_file, LibTachyonDisplayDevice::open_file, and open_file. |
|
||||||||||||
|
Definition at line 261 of file FileRenderer.h. Referenced by super_rot. |
|
|
Definition at line 121 of file FileRenderer.h. References execCmd. Referenced by VMDApp::filerender_option. |
|
||||||||||||||||
|
Definition at line 264 of file FileRenderer.h. Referenced by super_scale, and R3dDisplayDevice::write_header. |
|
|
return the current scaling factor to use with large batches of geometry.
Definition at line 735 of file FileRenderer.C. References Matrix4::mat, mat, Stack< Matrix4 >::top, and transMat. Referenced by scale_radius. |
|
|
|
Get/set the AA level; return the new value. Must be non-negative.
Definition at line 129 of file FileRenderer.h. References aasamples, has_aa, and update_exec_cmd. Referenced by FileRenderList::aasamples. |
|
|
Get/set the AO samples; return the new value. Must be non-negative.
Definition at line 138 of file FileRenderer.h. References aosamples, and update_exec_cmd. Referenced by FileRenderList::aosamples. |
|
|
Set the aspect ratio. Negative values ignored. Returns the new value. Also updates image size if it has been set.
Definition at line 167 of file FileRenderer.C. References DisplayDevice::aspect, aspectratio, and set_imagesize. Referenced by FileRenderList::aspectratio. |
|
||||||||||||
|
set gradient colors.
Reimplemented from DisplayDevice. Definition at line 200 of file FileRenderer.C. References backgradientbotcolor, backgradienttopcolor, and vec_copy. Referenced by Scene::filedraw. |
|
|
copy in the background color.
Reimplemented from DisplayDevice. Definition at line 194 of file FileRenderer.C. References backColor. Referenced by Scene::filedraw. |
|
|
set the color index.
Reimplemented in RadianceDisplayDevice. Definition at line 274 of file FileRenderer.h. Referenced by super_set_color. |
|
|
Definition at line 762 of file FileRenderer.C. References execCmd, and stringdup. Referenced by VMDApp::filerender_option, FileRenderList::set_render_option, and SnapshotDisplayDevice::SnapshotDisplayDevice. |
|
|
Definition at line 165 of file FileRenderer.h. References curformat, format, NameList::typecode, and update_exec_cmd. Referenced by FileRenderList::set_format. |
|
||||||||||||
|
Get/set the image size. Return success and places the current values in the passed-in pointers. May fail if the renderer is not able to specify the image size (e.g. snapshot). Passing 0,0 just returns the current values.
Definition at line 141 of file FileRenderer.C. References aspectratio, imgheight, imgwidth, and update_exec_cmd. Referenced by FileRenderList::imagesize, and set_aspectratio. |
|
|
called by super.
Definition at line 308 of file FileRenderer.h. Referenced by render. |
|
|
Reimplemented in POV3DisplayDevice. Definition at line 305 of file FileRenderer.h. References lineWidth. Referenced by render. |
|
|
change material index.
Definition at line 293 of file FileRenderer.h. Referenced by super_set_material. |
|
|
called by super.
Definition at line 312 of file FileRenderer.h. Referenced by PSDisplayDevice::render, render, and sphere_array. |
|
|
called by super.
Definition at line 313 of file FileRenderer.h. Referenced by render. |
|
|
draw a sphere.
Reimplemented in ArtDisplayDevice. Definition at line 1077 of file FileRenderer.C. References NULL, sphereResolution, triangle, vec_copy, and vec_normalize. Referenced by render, and sphere_array. |
|
||||||||||||||||||||||||
|
draw a sphere array.
Reimplemented in LibTachyonDisplayDevice. Definition at line 1259 of file FileRenderer.C. References nearest_index, set_sphere_res, sphere, and super_set_color. Referenced by render. |
|
||||||||||||||||||||||||
|
draw a quadrilateral.
Reimplemented in ArtDisplayDevice. Definition at line 373 of file FileRenderer.h. References triangle. Referenced by render. |
|
|
emit clipping plane group.
Reimplemented in LibTachyonDisplayDevice. Definition at line 1308 of file FileRenderer.C. References clip_mode, FILERENDERER_NOCLIP, VMD_MAX_CLIP_PLANE, and warningflags. Referenced by render. |
|
|
Definition at line 703 of file FileRenderer.C. References load, Stack< Matrix4 >::top, and transMat. |
|
|
Definition at line 690 of file FileRenderer.C. References activate_materials, deactivate_materials, and materials_on. Referenced by render. |
|
|
Definition at line 708 of file FileRenderer.C. References multmatrix, Stack< Matrix4 >::top, and transMat. Referenced by PSDisplayDevice::render, and render. |
|
|
Definition at line 719 of file FileRenderer.C. References rot, Stack< Matrix4 >::top, and transMat. |
|
|
Definition at line 729 of file FileRenderer.C. References scale, Matrix4::scale, Stack< Matrix4 >::top, and transMat. |
|
|
Definition at line 724 of file FileRenderer.C. References scale, Stack< Matrix4 >::top, and transMat. |
|
|
only calls set_color when index changes.
Definition at line 674 of file FileRenderer.C. References colorIndex, and set_color. Referenced by point_array, render, TachyonDisplayDevice::sphere_array, LibTachyonDisplayDevice::sphere_array, sphere_array, tricolor, trifan_singlecolor, trimesh_singlecolor, tristrip_singlecolor, and wiremesh. |
|
|
only call set_material on idx chg.
Definition at line 682 of file FileRenderer.C. References materialIndex, and set_material. Referenced by render. |
|
|
Definition at line 714 of file FileRenderer.C. References Stack< Matrix4 >::top, translate, and transMat. |
|
||||||||||||||||||||
|
draw text at specified location.
Reimplemented in GelatoDisplayDevice. Definition at line 1320 of file FileRenderer.C. References FILERENDERER_NOTEXT, hersheyDrawInitLetter, hersheyDrawNextLine, line, Stack< Matrix4 >::pop, Stack< Matrix4 >::push, Stack< Matrix4 >::top, transMat, warningflags, DisplayDevice::x, and DisplayDevice::y. Referenced by render. |
|
||||||||||||||||
|
Definition at line 259 of file FileRenderer.h. Referenced by super_translate. |
|
||||||||||||||||||||||||||||
|
single color triangle with interpolated surface normals.
Reimplemented in ArtDisplayDevice. Definition at line 382 of file FileRenderer.h. References FILERENDERER_NOGEOM, and warningflags. Referenced by cone_trunc, render, sphere, square, tricolor, trifan_singlecolor, trimesh_n3b_v3f, trimesh_n3f_v3f, trimesh_singlecolor, and tristrip_singlecolor. |
|
||||||||||||||||||||||||||||||||||||||||
|
triangle with interpolated surface normals and vertex colors.
Reimplemented in GelatoDisplayDevice. Definition at line 389 of file FileRenderer.h. References nearest_index, super_set_color, and triangle. Referenced by trimesh_c3f_n3f_v3f, trimesh_c4n3v3, trimesh_c4u_n3b_v3f, trimesh_c4u_n3f_v3f, and tristrip. |
|
||||||||||||||||||||||||||||
|
single-color triangle fans built from a vertex array and vertex index arrays.
Definition at line 652 of file FileRenderer.h. References super_set_color, and triangle. Referenced by cylinder. |
|
||||||||||||||||||||
|
triangle mesh built from a vertex array.
Definition at line 447 of file FileRenderer.h. References tricolor. Referenced by render. |
|
||||||||||||||||||||
|
triangle mesh built from a vertex array and facet vertex index arrays.
Reimplemented in GelatoDisplayDevice. Definition at line 463 of file FileRenderer.h. References tricolor. Referenced by render. |
|
||||||||||||||||||||
|
triangle mesh built from a vertex array.
Reimplemented in POV3DisplayDevice. Definition at line 515 of file FileRenderer.h. References tricolor. Referenced by render. |
|
||||||||||||||||||||
|
triangle mesh built from a vertex array.
Definition at line 483 of file FileRenderer.h. References tricolor. Referenced by render. |
|
||||||||||||||||
|
Definition at line 417 of file FileRenderer.h. References triangle. Referenced by render. |
|
||||||||||||||||
|
triangle mesh built from a vertex array.
Definition at line 405 of file FileRenderer.h. References triangle. Referenced by render. |
|
||||||||||||||||||||||||
|
triangle mesh built from a vertex array and facet vertex index arrays.
Definition at line 561 of file FileRenderer.h. References super_set_color, and triangle. |
|
||||||||||||||||||||||||
|
triangle strips built from a vertex array and vertex index arrays.
Reimplemented in GelatoDisplayDevice. Definition at line 581 of file FileRenderer.h. References tricolor. Referenced by render. |
|
||||||||||||||||||||||||||||
|
single-color triangle strips built from a vertex array and vertex index arrays.
Definition at line 617 of file FileRenderer.h. References super_set_color, and triangle. Referenced by cylinder. |
|
|
don't need to override this (unless you want to do so).
Reimplemented from DisplayDevice. Definition at line 220 of file FileRenderer.h. References close_file, FILERENDERER_NOCLIP, FILERENDERER_NOCUEING, FILERENDERER_NOGEOM, FILERENDERER_NOTEXT, FILERENDERER_NOTEXTURE, FILERENDERER_NOWARNINGS, isOpened, warningflags, and write_trailer. Referenced by Scene::filedraw. |
|
|
Renderer-specific function to update execCmd based on the current state of aasamples, image size, etc. Default implementation is to do nothing.
Reimplemented in TachyonDisplayDevice. Definition at line 73 of file FileRenderer.h. Referenced by set_aasamples, set_aosamples, set_format, and set_imagesize. |
|
|
Definition at line 117 of file FileRenderer.h. References publicName. Referenced by FileRenderList::find_short_name_from_pretty_name. |
|
|
disable volumetric texturing.
Reimplemented in LibTachyonDisplayDevice. Definition at line 702 of file FileRenderer.h. References FILERENDERER_NOTEXTURE, and warningflags. Referenced by render. |
|
|
enable volumetric texturing, either in "replace" or "modulate" mode.
Reimplemented in LibTachyonDisplayDevice. Definition at line 696 of file FileRenderer.h. References FILERENDERER_NOTEXTURE, and warningflags. Referenced by render. |
|
||||||||||||||||||||
|
wire mesh built from a vertex array and an vertex index array.
Definition at line 708 of file FileRenderer.h. References line, nearest_index, and super_set_color. Referenced by render. |
|
|
write the header info. This is an alias for prepare3D.
Reimplemented in ArtDisplayDevice. Definition at line 202 of file FileRenderer.h. Referenced by prepare3D. |
|
|
write any trailer info. This is called by update.
Reimplemented in ArtDisplayDevice. Definition at line 211 of file FileRenderer.h. Referenced by update. |
|
|
antialiasing samples, -1 if unsupported.
Definition at line 56 of file FileRenderer.h. Referenced by FileRenderer, LibTachyonDisplayDevice::LibTachyonDisplayDevice, set_aasamples, TachyonDisplayDevice::TachyonDisplayDevice, and TachyonDisplayDevice::update_exec_cmd. |
|
|
state of advanced lights.
Definition at line 96 of file FileRenderer.h. Referenced by do_activate_adv_light, and do_define_adv_light. |
|
|
ambient occlusion samples, -1 if unsupported.
Definition at line 57 of file FileRenderer.h. Referenced by LibTachyonDisplayDevice::LibTachyonDisplayDevice, set_aosamples, TachyonDisplayDevice::TachyonDisplayDevice, TachyonDisplayDevice::write_header, and LibTachyonDisplayDevice::write_header. |
|
|
Desired aspect ratio.
Definition at line 64 of file FileRenderer.h. Referenced by FileRenderer, set_aspectratio, and set_imagesize. |
|
|
background color, copied into here with set_background is called.
Definition at line 103 of file FileRenderer.h. Referenced by set_background, X3DDisplayDevice::write_header, Vrml2DisplayDevice::write_header, RenderManDisplayDevice::write_header, RayShadeDisplayDevice::write_header, R3dDisplayDevice::write_header, PSDisplayDevice::write_header, POV3DisplayDevice::write_header, LibGelatoDisplayDevice::write_header, GelatoDisplayDevice::write_header, and ArtDisplayDevice::write_header. |
|
|
bottom edge color of background gradient.
Definition at line 107 of file FileRenderer.h. Referenced by set_backgradient, X3DDisplayDevice::write_header, Vrml2DisplayDevice::write_header, and POV3DisplayDevice::write_header. |
|
|
flag indicating background gradient use.
Definition at line 105 of file FileRenderer.h. |
|
|
top edge color of background gradient.
Definition at line 106 of file FileRenderer.h. Referenced by set_backgradient, X3DDisplayDevice::write_header, Vrml2DisplayDevice::write_header, and POV3DisplayDevice::write_header. |
|
|
clipping plane center.
Definition at line 295 of file FileRenderer.h. Referenced by render, TachyonDisplayDevice::start_clipgroup, POV3DisplayDevice::start_clipgroup, and LibTachyonDisplayDevice::start_clipgroup. |
|
|
clipping plane CSG color.
Definition at line 297 of file FileRenderer.h. Referenced by render, and POV3DisplayDevice::start_clipgroup. |
|
|
clipping plane mode.
Definition at line 298 of file FileRenderer.h. Referenced by render, TachyonDisplayDevice::start_clipgroup, POV3DisplayDevice::start_clipgroup, LibTachyonDisplayDevice::start_clipgroup, and start_clipgroup. |
|
|
clipping plane normal.
Definition at line 296 of file FileRenderer.h. Referenced by render, TachyonDisplayDevice::start_clipgroup, POV3DisplayDevice::start_clipgroup, and LibTachyonDisplayDevice::start_clipgroup. |
|
|
|
Currently selected format.
Definition at line 66 of file FileRenderer.h. Referenced by FileRenderer, format, LibTachyonDisplayDevice::LibTachyonDisplayDevice, set_format, and TachyonDisplayDevice::TachyonDisplayDevice. |
|
|
default rendering command.
Definition at line 49 of file FileRenderer.h. Referenced by default_exec_string, FileRenderer, SnapshotDisplayDevice::SnapshotDisplayDevice, and ~FileRenderer. |
|
|
default output filename.
Definition at line 48 of file FileRenderer.h. Referenced by default_filename, FileRenderer, and ~FileRenderer. |
|
|
current version of the post-render command.
Definition at line 51 of file FileRenderer.h. Referenced by FileRenderer, saved_exec_string, set_exec_string, TachyonDisplayDevice::update_exec_cmd, and ~FileRenderer. |
|
|
Output formats supported by this renderer.
Definition at line 65 of file FileRenderer.h. Referenced by LibTachyonDisplayDevice::LibTachyonDisplayDevice, and TachyonDisplayDevice::TachyonDisplayDevice. |
|
|
supports antialiasing; off by default.
Definition at line 55 of file FileRenderer.h. Referenced by FileRenderer, has_antialiasing, LibTachyonDisplayDevice::LibTachyonDisplayDevice, set_aasamples, and TachyonDisplayDevice::TachyonDisplayDevice. |
|
|
True if the renderer can produce an arbitrary-sized image; false by default.
Definition at line 58 of file FileRenderer.h. Referenced by FileRenderer, and has_imagesize. |
|
|
desired size of image.
Definition at line 63 of file FileRenderer.h. Referenced by FileRenderer, and set_imagesize. |
|
|
Definition at line 63 of file FileRenderer.h. Referenced by FileRenderer, and set_imagesize. |
|
|
is the file opened correctly.
Definition at line 53 of file FileRenderer.h. Referenced by WavefrontDisplayDevice::close_file, SnapshotDisplayDevice::close_file, MayaDisplayDevice::close_file, LibTachyonDisplayDevice::close_file, close_file, FileRenderer, WavefrontDisplayDevice::open_file, SnapshotDisplayDevice::open_file, MayaDisplayDevice::open_file, LibTachyonDisplayDevice::open_file, open_file, and update. |
|
|
state of all lights.
Definition at line 81 of file FileRenderer.h. Referenced by do_activate_light, do_define_light, PSDisplayDevice::render, RenderManDisplayDevice::write_header, RayShadeDisplayDevice::write_header, R3dDisplayDevice::write_header, POV3DisplayDevice::write_header, LibGelatoDisplayDevice::write_header, and GelatoDisplayDevice::write_header. |
|
|
drawing characteristics ... line style, sphere resolution, etc.
Reimplemented from DisplayDevice. Definition at line 304 of file FileRenderer.h. Referenced by X3DDisplayDevice::line, WavefrontDisplayDevice::line, Vrml2DisplayDevice::line, TachyonDisplayDevice::line, RenderManDisplayDevice::line, RayShadeDisplayDevice::line, R3dDisplayDevice::line, POV3DisplayDevice::line, MayaDisplayDevice::line, LibTachyonDisplayDevice::line, GelatoDisplayDevice::line, line, ArtDisplayDevice::line, render, and reset_state. |
|
|
drawing characteristics ... line style, sphere resolution, etc.
Reimplemented from DisplayDevice. Definition at line 304 of file FileRenderer.h. Referenced by RayShadeDisplayDevice::cone, TachyonDisplayDevice::line, RenderManDisplayDevice::line, RayShadeDisplayDevice::line, R3dDisplayDevice::line, LibTachyonDisplayDevice::line, LibGelatoDisplayDevice::line, GelatoDisplayDevice::line, line, ArtDisplayDevice::line, TachyonDisplayDevice::point, RenderManDisplayDevice::point, RayShadeDisplayDevice::point, R3dDisplayDevice::point, LibTachyonDisplayDevice::point, LibGelatoDisplayDevice::point, GelatoDisplayDevice::point, point, ArtDisplayDevice::point, render, reset_state, POV3DisplayDevice::set_line_width, set_line_width, and POV3DisplayDevice::write_header. |
|
|
active ambient value.
Definition at line 284 of file FileRenderer.h. Referenced by X3DOMDisplayDevice::line_array, X3DDisplayDevice::line_array, X3DDisplayDevice::point, X3DDisplayDevice::point_array, X3DOMDisplayDevice::polyline_array, X3DDisplayDevice::polyline_array, render, X3DOMDisplayDevice::text, X3DDisplayDevice::text, TachyonDisplayDevice::tricolor, and X3DDisplayDevice::write_colormaterial. |
|
|
active diffuse value.
Definition at line 285 of file FileRenderer.h. Referenced by X3DOMDisplayDevice::line_array, X3DDisplayDevice::line_array, X3DDisplayDevice::point, X3DOMDisplayDevice::polyline_array, X3DDisplayDevice::polyline_array, render, X3DOMDisplayDevice::text, X3DDisplayDevice::text, TachyonDisplayDevice::tricolor, and X3DDisplayDevice::write_colormaterial. |
|
|
|
active outline factor.
Definition at line 289 of file FileRenderer.h. Referenced by render, and TachyonDisplayDevice::tricolor. |
|
|
active outline width.
Definition at line 290 of file FileRenderer.h. Referenced by render, and TachyonDisplayDevice::tricolor. |
|
|
active shininess value.
Definition at line 287 of file FileRenderer.h. Referenced by render, TachyonDisplayDevice::tricolor, and X3DDisplayDevice::write_colormaterial. |
|
|
active specular value.
Definition at line 286 of file FileRenderer.h. Referenced by render, TachyonDisplayDevice::tricolor, and X3DDisplayDevice::write_colormaterial. |
|
|
active transparency mode.
Definition at line 291 of file FileRenderer.h. Referenced by render, and TachyonDisplayDevice::tricolor. |
|
|
|
|
Definition at line 315 of file FileRenderer.h. Referenced by reset_state, and super_materials. |
|
|
|
|
Definition at line 304 of file FileRenderer.h. Referenced by POV3DisplayDevice::point, point_array, render, and reset_state. |
|
|
scripting name of renderer (no spaces).
Definition at line 46 of file FileRenderer.h. Referenced by FileRenderer, visible_name, and ~FileRenderer. |
|
|
name of renderer for use in GUIs.
Definition at line 47 of file FileRenderer.h. Referenced by FileRenderer, pretty_name, and ~FileRenderer. |
|
|
Definition at line 311 of file FileRenderer.h. Referenced by render, reset_state, and sphere. |
|
|
Definition at line 311 of file FileRenderer.h. Referenced by render, and reset_state. |
|
|
label text offset.
Definition at line 68 of file FileRenderer.h. Referenced by FileRenderer, and render. |
|
|
label text offset.
Definition at line 69 of file FileRenderer.h. Referenced by FileRenderer, and render. |
|
|
|
If set, emit a warning message that this subclass doesn't support all of the render features in use by the current scene.
Definition at line 60 of file FileRenderer.h. Referenced by define_volume_texture, FileRenderer, render, TachyonDisplayDevice::start_clipgroup, LibTachyonDisplayDevice::start_clipgroup, start_clipgroup, text, triangle, update, volume_texture_off, and volume_texture_on. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002