#include <FileRenderList.h>
Public Methods | |
| FileRenderList (VMDApp *) | |
| virtual | ~FileRenderList (void) |
| void | add (FileRenderer *) |
| add a new render class and its corresponding name. More... | |
| int | num (void) |
| figure out how many render classes are installed. More... | |
| const char * | name (int) |
| return the name for the ith class. More... | |
| FileRenderer * | find (const char *) |
| given a render name, return the corresponding class. More... | |
| int | render (const char *filename, const char *method, const char *extcmd) |
| do the rendering. More... | |
| int | set_render_option (const char *, const char *) |
| set the command string to execute after producing the scene file. More... | |
| int | has_antialiasing (const char *method) |
| does renderer support antialiasing. More... | |
| int | aalevel (const char *method, int aalevel) |
| Set the aa level; return the new value. More... | |
| int | imagesize (const char *method, int *width, int *height) |
| Get/set the image size. More... | |
| int | has_imagesize (const char *method) |
| Does the renderer support arbitrary image size? More... | |
| int | aspectratio (const char *method, float *aspect) |
| Get/set the aspect ratio. A negative value will be ignored. Return success and place the new value in the passed-in pointer. More... | |
| int | numformats (const char *method) |
| Number of file formats supported by the given renderer. More... | |
| const char * | format (const char *method, int i=-1) |
| Name of the ith format; by default, returns current format. More... | |
| int | set_format (const char *method, const char *format) |
| Set the output format for the given renderer. Return success. More... | |
Definition at line 32 of file FileRenderList.h.
|
|
Definition at line 61 of file FileRenderList.C. References add, VMDApp::display, and NULL. |
|
|
Definition at line 93 of file FileRenderList.C. References NameList< FileRenderer * >::data, and NameList< FileRenderer * >::num. |
|
||||||||||||
|
Set the aa level; return the new value.
Definition at line 181 of file FileRenderList.C. References aalevel, find, and FileRenderer::set_aalevel. Referenced by aalevel, and VMDApp::filerender_aalevel. |
|
|
add a new render class and its corresponding name.
Definition at line 99 of file FileRenderList.C. References NameList< FileRenderer * >::add_name, and DisplayDevice::name. Referenced by FileRenderList. |
|
||||||||||||
|
Get/set the aspect ratio. A negative value will be ignored. Return success and place the new value in the passed-in pointer.
Definition at line 199 of file FileRenderList.C. References find, and FileRenderer::set_aspectratio. Referenced by VMDApp::filerender_aspectratio. |
|
|
given a render name, return the corresponding class.
Definition at line 118 of file FileRenderList.C. References NameList< FileRenderer * >::data, NULL, and NameList< FileRenderer * >::typecode. Referenced by aalevel, aspectratio, VMDApp::filerender_default_filename, VMDApp::filerender_default_option, VMDApp::filerender_option, VMDApp::filerender_valid, format, has_antialiasing, has_imagesize, imagesize, numformats, render, set_format, and set_render_option. |
|
||||||||||||
|
Name of the ith format; by default, returns current format.
Definition at line 212 of file FileRenderList.C. References find, FileRenderer::format, and NULL. Referenced by VMDApp::filerender_cur_format, VMDApp::filerender_get_format, and set_format. |
|
|
does renderer support antialiasing.
Definition at line 175 of file FileRenderList.C. References find, and FileRenderer::has_antialiasing. Referenced by VMDApp::filerender_has_antialiasing. |
|
|
Does the renderer support arbitrary image size?
Definition at line 193 of file FileRenderList.C. References find, and FileRenderer::has_imagesize. Referenced by VMDApp::filerender_has_imagesize. |
|
||||||||||||||||
|
Get/set the image size.
Definition at line 187 of file FileRenderList.C. References find, and FileRenderer::set_imagesize. Referenced by VMDApp::filerender_imagesize. |
|
|
return the name for the ith class.
Definition at line 110 of file FileRenderList.C. References NameList< FileRenderer * >::name, NULL, and NameList< FileRenderer * >::num. Referenced by VMDApp::filerender_name. |
|
|
figure out how many render classes are installed.
Definition at line 105 of file FileRenderList.C. References NameList< FileRenderer * >::num. Referenced by VMDApp::filerender_num. |
|
|
Number of file formats supported by the given renderer.
Definition at line 206 of file FileRenderList.C. References find, and FileRenderer::numformats. Referenced by VMDApp::filerender_numformats. |
|
||||||||||||||||
|
do the rendering.
Definition at line 127 of file FileRenderList.C. References VMDApp::display, VMDApp::display_get_size, Scene::filedraw, find, JString::gsub, render, VMDApp::scene, DisplayDevice::update, and vmd_system. Referenced by VMDApp::filerender_render, and render. |
|
||||||||||||
|
Set the output format for the given renderer. Return success.
Definition at line 219 of file FileRenderList.C. References find, format, and FileRenderer::set_format. Referenced by VMDApp::filerender_set_format. |
|
||||||||||||
|
set the command string to execute after producing the scene file.
Definition at line 164 of file FileRenderList.C. References find, and FileRenderer::set_exec_string. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002