00001 /*************************************************************************** 00002 *cr 00003 *cr (C) Copyright 1995-2011 The Board of Trustees of the 00004 *cr University of Illinois 00005 *cr All Rights Reserved 00006 *cr 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * RCS INFORMATION: 00011 * 00012 * $RCSfile: SnapshotDisplayDevice.h,v $ 00013 * $Author: johns $ $Locker: $ $State: Exp $ 00014 * $Revision: 1.24 $ $Date: 2010/12/16 04:08:39 $ 00015 * 00016 *************************************************************************** 00017 * DESCRIPTION: 00018 * Dump the screen shot to a file by calling the DisplayDevice routine or 00019 * machine specific external program with the right options. 00020 * 00021 ***************************************************************************/ 00022 00023 00024 #ifndef SNAPSHOTDISPLAYDEVICE 00025 #define SNAPSHOTDISPLAYDEVICE 00026 00027 #include "FileRenderer.h" 00028 00030 class SnapshotDisplayDevice : public FileRenderer { 00031 private: 00032 DisplayDevice *display; 00033 00034 public: 00037 SnapshotDisplayDevice(DisplayDevice *); 00038 virtual int open_file(const char *filename); 00039 virtual void render(const VMDDisplayList*) {} 00040 virtual void close_file(void); 00041 }; 00042 #endif 00043
1.2.14 written by Dimitri van Heesch,
© 1997-2002