1 /*=========================================================================
4 Module: $RCSfile: marInterface.h,v $
6 Date: $Date: 2008/10/31 16:32:55 $
7 Version: $Revision: 1.1 $
9 Copyright: (c) 2002, 2003
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notice for more information.
16 =========================================================================*/
17 #ifndef __MAR__KERNEL__INTERFACE__HXX__
18 #define __MAR__KERNEL__INTERFACE__HXX__
20 //#include "marDicom.h"
21 #include "marDicomBase.h"
22 #include "marKVolume.h"
23 #include "marExperiment.h"
25 class MAR_KERNEL_EXPORT marInterface
32 bool loadParameters( std::string pFile );
33 bool saveParameters( std::string pFile );
35 bool loadParameters( ) {return loadParameters(m_paramFileName);}
36 bool saveParameters( ) {return saveParameters(m_paramFileName);}
38 bool initExperiment( );
40 bool saveExperiment( std::string nFile );
41 // bool loadExperiment( wxString nFile );
42 bool loadExperiment( std::string nFile );
46 void SetParamFileName(std::string pFileName);
47 std::string GetParamFileName();
48 void SetDicom(marFilesBase *dicom);
50 //EED void SetVolumeData(int dimX,int dimY,int dimZ, float spacingX, float spacingY, float spacingZ, unsigned short * pixels);
52 //EED marGdcmDicom* _dicom;
56 marExperiment* _experiment;
57 marParameters* _parameters;
60 std::string m_paramFileName;
63 #endif // __MAR__KERNEL__INTERFACE__HXX__