Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

SnapshotDisplayDevice.C File Reference

FileRenderer subclass that saves a DisplayDevice subclass screen shot to an image file. More...

#include <stdio.h>
#include <stdlib.h>
#include "ImageIO.h"
#include "SnapshotDisplayDevice.h"
#include "Inform.h"
#include "utilities.h"
#include "config.h"

Go to the source code of this file.

Defines

#define DEF_SNAPSHOT_FILENAME   "vmdscene.tga"

Functions

int checkfileextension (const char *s, const char *extension)


Detailed Description

FileRenderer subclass that saves a DisplayDevice subclass screen shot to an image file.

SnapshotDisplayDevice has the screen parameters since it's a DisplayDevice, obtaining the info from "display".

Definition in file SnapshotDisplayDevice.C.


Define Documentation

#define DEF_SNAPSHOT_FILENAME   "vmdscene.tga"
 

Definition at line 36 of file SnapshotDisplayDevice.C.

Referenced by SnapshotDisplayDevice::SnapshotDisplayDevice.


Function Documentation

int checkfileextension const char *    s,
const char *    extension
[static]
 

Definition at line 62 of file SnapshotDisplayDevice.C.

References strupncmp.

Referenced by SnapshotDisplayDevice::close_file, LibTachyonDisplayDevice::write_header, write_image_file_rgb3u, and write_image_file_rgba4u.


Generated on Tue Apr 23 04:24:43 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002