]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkImageViewer2_XYZ.h
24cb363903fdf6a5e4aea8598902e1f26fae09fb
[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         vtkImageViewer2 *GetVtkImageViewer2();
26
27         void setColorTransferFunction(vtkColorTransferFunction* colortable);
28
29 private:
30         int     _x1,_x2,_y1,_y2,_z1,_z2;
31         vtkImageViewer2 *_vtkimageviewer2;
32         vtkColorTransferFunction* _colortable;
33 protected:      
34 };
35
36
37 #endif /*VTKIMAGEVIEWER2_XYZ_H_*/