00001 #ifdef CH_LANG_CC 00002 /* 00003 * _______ __ 00004 * / ___/ / ___ __ _ / / ___ 00005 * / /__/ _ \/ _ \/ V \/ _ \/ _ \ 00006 * \___/_//_/\___/_/_/_/_.__/\___/ 00007 * Please refer to Copyright.txt, in Chombo's root directory. 00008 */ 00009 #endif 00010 00011 #ifndef _VISITCHOMBODRIVER_H_ 00012 #define _VISITCHOMBODRIVER_H_ 00013 00014 #include "VisItPythonConnection.H" 00015 00016 #include "NamespaceHeader.H" 00017 00018 class VisItChomboDriver 00019 { 00020 public: 00021 VisItChomboDriver(); 00022 00023 ~VisItChomboDriver(); 00024 00025 void VisualizeFile(const char *fname); 00026 00027 void BrowseFile(const char *fname); 00028 00029 void Reset(); 00030 00031 private: 00032 enum VisualizationType 00033 { 00034 Pseudocolor, 00035 Spreadsheet 00036 }; 00037 00038 void VisualizeFileHelper(const char *fname, 00039 bool allowRetry, 00040 VisualizationType vistype); 00041 00042 VisItPythonConnection visit; 00043 00044 bool initialized; 00045 }; 00046 00047 #include "NamespaceFooter.H" 00048 00049 #endif