]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/kernel/marKVolume.h
creaMaracasVisu Library
[creaMaracasVisu.git] / lib / maracasVisuLib / src / kernel / marKVolume.h
1 /*=========================================================================
2
3  Program:   wxMaracas
4  Module:    $RCSfile: marKVolume.h,v $
5  Language:  C++
6  Date:      $Date: 2008/10/31 16:32:55 $
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
18 #ifndef __MAR__KERNEL__MARKVOLUME__HXX__
19 #define __MAR__KERNEL__MARKVOLUME__HXX__
20
21
22 #include "volume.hxx"
23
24 class MAR_KERNEL_EXPORT marKVolume {
25         
26 public:
27         
28     marKVolume( );
29     ~marKVolume( );
30
31     bool         volumeLoaded( );
32     kVolume* getVolume( );
33     void         setVolume( kVolume *vol);
34         bool     load( std::ifstream& is );
35         bool     save( std::ofstream& os );
36         void     reset();
37
38   private:
39           
40         kVolume* _volume;
41 };
42
43 #endif // __MAR__KERNEL__MARKVOLUME__HXX__