]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/kernel/include/marInterface.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / kernel / include / marInterface.h
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: marInterface.h,v $
5   Language:  C++
6   Date:      $Date: 2009/05/14 13:55:08 $
7   Version:   $Revision: 1.1 $
8
9   Copyright: (c) 2002, 2003
10   License:
11   
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.
15
16 =========================================================================*/
17 #ifndef __MAR__KERNEL__INTERFACE__HXX__
18 #define __MAR__KERNEL__INTERFACE__HXX__
19
20 //#include "marDicom.h"
21 #include "marDicomBase.h"
22 #include "marKVolume.h"
23 #include "marExperiment.h"
24
25 class MAR_KERNEL_EXPORT marInterface
26 {
27   public:
28
29     marInterface( );
30     ~marInterface( );
31
32     bool loadParameters( std::string pFile );
33     bool saveParameters( std::string pFile );
34
35     bool loadParameters( ) {return loadParameters(m_paramFileName);}
36     bool saveParameters( ) {return saveParameters(m_paramFileName);}
37
38     bool initExperiment( );
39
40     bool saveExperiment( std::string nFile );
41 //    bool loadExperiment( wxString nFile );
42     bool loadExperiment( std::string nFile );
43
44     void reset( );
45
46         void            SetParamFileName(std::string pFileName); 
47         std::string GetParamFileName();
48         void            SetDicom(marFilesBase *dicom);
49
50 //EED    void SetVolumeData(int dimX,int dimY,int dimZ, float spacingX, float spacingY, float spacingZ, unsigned short * pixels);
51 //              marDicom*               _dicom;
52 //EED   marGdcmDicom*   _dicom;
53
54     marFilesBase*               _dicom;
55
56     marExperiment*      _experiment;
57     marParameters*      _parameters;
58
59 protected:
60         std::string m_paramFileName;
61 };
62
63 #endif // __MAR__KERNEL__INTERFACE__HXX__