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