marInterface.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   wxMaracas
00004   Module:    $RCSfile: marInterface.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009/05/14 13:55:08 $
00007   Version:   $Revision: 1.1 $
00008 
00009   Copyright: (c) 2002, 2003
00010   License:
00011   
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notice for more information.
00015 
00016 =========================================================================*/
00017 #ifndef __MAR__KERNEL__INTERFACE__HXX__
00018 #define __MAR__KERNEL__INTERFACE__HXX__
00019 
00020 //#include "marDicom.h"
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 //    bool loadExperiment( wxString nFile );
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 //EED    void SetVolumeData(int dimX,int dimY,int dimZ, float spacingX, float spacingY, float spacingZ, unsigned short * pixels);
00051 //              marDicom*               _dicom;
00052 //EED   marGdcmDicom*   _dicom;
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__

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1