]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkImageViewer2_XYZ.h
DFCH: ManualPain GUI Cleaned with some new features. :)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / vtkImageViewer2_XYZ.h
1 #ifndef VTKIMAGEVIEWER2_XYZ_H_
2 #define VTKIMAGEVIEWER2_XYZ_H_
3
4
5 //------------------------------------------------------------------
6 //------------------------------------------------------------------
7 //------------------------------------------------------------------
8 #include "marTypes.h"
9 #include "vtkImageViewer2.h"
10 #include "vtkImageMapToWindowLevelColors.h"
11 #include "vtkColorTransferFunction.h"
12
13 class  creaMaracasVisu_EXPORT vtkImageViewer2_XYZ{
14 public:
15         vtkImageViewer2_XYZ();
16         ~vtkImageViewer2_XYZ();
17
18         void                    SetExtentDimension(int x1,int x2, int y1,int y2, int z1,int z2);
19         void                    SetXSlice(int slice);
20         void                    SetYSlice(int slice);
21         void                    SetZSlice(int slice);
22         int                             GetXSlice();
23         int                             GetYSlice();
24         int                             GetZSlice();
25         
26
27         void setColorTransferFunction(vtkColorTransferFunction* colortable);
28
29         vtkImageViewer2 *GetVtkImageViewer2();
30 private:
31         int     _x1,_x2,_y1,_y2,_z1,_z2;
32         vtkImageViewer2 *_vtkimageviewer2;
33         vtkColorTransferFunction* _colortable;
34         
35         
36 protected:      
37         
38 };
39
40
41 #endif /*VTKIMAGEVIEWER2_XYZ_H_*/