00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
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