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

Public Methods | |
| SnapshotDisplayDevice (DisplayDevice *) | |
| set up the commands for grabbing images from the screen pass in display to grab image from. More... | |
| virtual int | open_file (const char *filename) |
| open output. More... | |
| virtual void | render (const VMDDisplayList *) |
| ignore renders. More... | |
| virtual void | close_file (void) |
| capture and save the image to a file. More... | |
Definition at line 31 of file SnapshotDisplayDevice.h.
|
|
set up the commands for grabbing images from the screen pass in display to grab image from.
Definition at line 39 of file SnapshotDisplayDevice.C. References DEF_SNAPSHOT_FILENAME, FileRenderer::defaultCommandLine, FileRenderer::set_exec_string, and stringdup. |
|
|
capture and save the image to a file.
Reimplemented from FileRenderer. Definition at line 80 of file SnapshotDisplayDevice.C. References checkfileextension, FileRenderer::isOpened, FileRenderer::my_filename, NULL, FileRenderer::outfile, DisplayDevice::readpixels_rgb3u, vmd_writebmp, vmd_writeppm, vmd_writergb, and vmd_writetga. |
|
|
open output.
Reimplemented from FileRenderer. Definition at line 51 of file SnapshotDisplayDevice.C. References FileRenderer::isOpened, FileRenderer::my_filename, NULL, FileRenderer::outfile, and stringdup. |
|
|
ignore renders.
Reimplemented from FileRenderer. Definition at line 40 of file SnapshotDisplayDevice.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002