1 #ifndef VTKIMAGEVIEWER2_XYZ_H_
2 #define VTKIMAGEVIEWER2_XYZ_H_
5 //------------------------------------------------------------------
6 //------------------------------------------------------------------
7 //------------------------------------------------------------------
9 #include "vtkImageViewer2.h"
10 #include "vtkImageMapToWindowLevelColors.h"
11 #include "vtkColorTransferFunction.h"
13 class creaMaracasVisu_EXPORT vtkImageViewer2_XYZ{
15 vtkImageViewer2_XYZ();
16 ~vtkImageViewer2_XYZ();
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);
27 void setColorTransferFunction(vtkColorTransferFunction* colortable);
29 vtkImageViewer2 *GetVtkImageViewer2();
31 int _x1,_x2,_y1,_y2,_z1,_z2;
32 vtkImageViewer2 *_vtkimageviewer2;
33 vtkColorTransferFunction* _colortable;
41 #endif /*VTKIMAGEVIEWER2_XYZ_H_*/