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

FileRenderList.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr                                                                       
00003  *cr            (C) Copyright 1995-2019 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.30 $       $Date: 2020/04/03 06:37:19 $
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   const char * pretty_name(int);
00054   
00056   FileRenderer *find(const char *);
00057 
00059   FileRenderer *find_pretty_name(const char *);
00060 
00062   const char *find_short_name_from_pretty_name(const char *pretty);
00063 
00065   int render(const char *filename, const char *method, const char *extcmd);
00066 
00068   int set_render_option(const char *, const char *);
00069 
00071   int has_antialiasing(const char *method);
00072 
00074   int aasamples(const char *method, int aasamples);
00075 
00077   int aosamples(const char *method, int aosamples);
00078 
00080   int imagesize(const char *method, int *width, int *height);
00081 
00083   int has_imagesize(const char *method);
00084 
00087   int aspectratio(const char *method, float *aspect);
00088 
00090   int numformats(const char *method);
00091 
00093   const char *format(const char *method, int i = -1);
00094 
00096   int set_format(const char *method, const char *format);
00097 };
00098   
00099 #endif
00100 

Generated on Fri Oct 11 02:43:44 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002