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

FileRenderList.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr                                                                       
00003  *cr            (C) Copyright 1995-2008 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: FileRenderList.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.20 $       $Date: 2008/03/27 19:36:38 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  * 
00019  * The FileRenderList class maintains a database of avbailable FileRenderer
00020  * objects
00021  *
00022  ***************************************************************************/
00023 #ifndef FILERENDERLIST_H
00024 #define FILERENDERLIST_H
00025 
00026 #include "NameList.h"
00027 
00028 class FileRenderer;
00029 class VMDApp;
00030 
00032 class FileRenderList {
00033 private:
00035   NameList<FileRenderer *> renderList;
00036 
00037   VMDApp *app;
00038 
00039 public:
00040   FileRenderList(VMDApp *);
00041   virtual ~FileRenderList(void);
00042   
00044   void add(FileRenderer *);
00045   
00047   int num(void);
00048   
00050   const char * name(int);
00051   
00053   FileRenderer *find(const char *);
00054 
00056   int render(const char *filename, const char *method, const char *extcmd);
00057 
00059   int set_render_option(const char *, const char *);
00060 
00062   int has_antialiasing(const char *method);
00063 
00065   int aalevel(const char *method, int aalevel);
00066 
00068   int imagesize(const char *method, int *width, int *height);
00069 
00071   int has_imagesize(const char *method);
00072 
00075   int aspectratio(const char *method, float *aspect);
00076 
00078   int numformats(const char *method);
00079 
00081   const char *format(const char *method, int i = -1);
00082 
00084   int set_format(const char *method, const char *format);
00085 };
00086   
00087 #endif
00088 

Generated on Fri Sep 5 01:24:52 2008 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002