marInterface.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __MAR__KERNEL__INTERFACE__HXX__
00018 #define __MAR__KERNEL__INTERFACE__HXX__
00019
00020
00021 #include "marDicomBase.h"
00022 #include "marKVolume.h"
00023 #include "marExperiment.h"
00024
00025 class MAR_KERNEL_EXPORT marInterface
00026 {
00027 public:
00028
00029 marInterface( );
00030 ~marInterface( );
00031
00032 bool loadParameters( std::string pFile );
00033 bool saveParameters( std::string pFile );
00034
00035 bool loadParameters( ) {return loadParameters(m_paramFileName);}
00036 bool saveParameters( ) {return saveParameters(m_paramFileName);}
00037
00038 bool initExperiment( );
00039
00040 bool saveExperiment( std::string nFile );
00041
00042 bool loadExperiment( std::string nFile );
00043
00044 void reset( );
00045
00046 void SetParamFileName(std::string pFileName);
00047 std::string GetParamFileName();
00048 void SetDicom(marFilesBase *dicom);
00049
00050
00051
00052
00053
00054 marFilesBase* _dicom;
00055
00056 marExperiment* _experiment;
00057 marParameters* _parameters;
00058
00059 protected:
00060 std::string m_paramFileName;
00061 };
00062
00063 #endif // __MAR__KERNEL__INTERFACE__HXX__