1 /*=========================================================================
4 Module: $RCSfile: marDynData.h,v $
6 Date: $Date: 2009/01/15 11:09:47 $
7 Version: $Revision: 1.3 $
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__DYNDATA__HXX__
18 #define __MAR__KERNEL__DYNDATA__HXX__
20 #include "marObject.h"
21 //#include "marAxis.h"
23 #include "marImageData.h"
25 #include <vtkImageData.h>
27 class creaMaracasVisu_EXPORT marDynData : public marObject
31 marDynData( marParameters* p = NULL );
34 void loadData( kVolume* vol, int* voi );
37 // void loadDataDXMM( kVolume* vol, int* voi );
39 float getActualVoxel() { return getParameters()->getVoxelSize( ); }
40 kVolume* getVolume( ) { return( _volume ); };
44 void copyFrom( const marObject& from );
47 bool save( std::ofstream& os );
48 bool load( std::ifstream& is );
50 marImageData* GetMarImageData();
55 marImageData *_marimagedata;
59 #endif // __MAR__KERNEL__DYNDATA__HXX__