My Project
|
00001 /* 00002 $Id: ContainerViewer.hh 2383 2012-04-27 01:11:45Z jisuzuki $ 00003 */ 00004 00005 #ifndef CONTAINERVIEWER 00006 #define CONTAINERVIEWER 00007 00008 00009 #include "Header.hh" 00010 #include "GnuplotInterface.hh" 00011 #include "ElementContainer.hh" 00012 #include "ElementContainerArray.hh" 00013 #include "ElementContainerMatrix.hh" 00014 #include "StringTools.hh" 00015 #include "WriteTextFile.hh" 00016 00017 00018 class ContainerViewer : public GnuplotInterface 00019 { 00020 private: 00021 void mplot(); 00022 void splot(); 00023 StringTools *st; 00024 public: 00025 ContainerViewer( string Command="gnuplot" ); 00026 ~ContainerViewer(); 00027 00028 void MapPlot( ElementContainerMatrix M, string key ); 00029 void MapPlot( ElementContainerMatrix M, string key, UInt4 tof ); 00030 00031 void SurfacePlot( ElementContainerMatrix M, string key ); 00032 void SurfacePlot( ElementContainerMatrix M, string key, UInt4 tof ); 00033 00034 void SetGrayColor(); 00035 00036 void Histogram( ElementContainer ec ); 00037 void WriteGnuPlotData( ElementContainer ec, string FileName ); 00038 00039 }; 00040 00041 #endif 00042