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 ~VisItChomboDriver(); 00023 void VisualizeFile(const char *fname); 00024 void BrowseFile(const char *fname); 00025 void Reset(); 00026 private: 00027 enum VisualizationType { Pseudocolor, Spreadsheet }; 00028 00029 void VisualizeFileHelper(const char *fname, 00030 bool allowRetry, 00031 VisualizationType vistype); 00032 VisItPythonConnection visit; 00033 bool initialized; 00034 }; 00035 00036 #include "NamespaceFooter.H" 00037 00038 #endif