vtkImageViewer2_XYZ.h
Go to the documentation of this file.00001 #ifndef VTKIMAGEVIEWER2_XYZ_H_
00002 #define VTKIMAGEVIEWER2_XYZ_H_
00003
00004
00005
00006
00007
00008 #include "marTypes.h"
00009 #include "vtkImageViewer2.h"
00010 #include "vtkImageMapToWindowLevelColors.h"
00011 #include "vtkColorTransferFunction.h"
00012
00013 class creaMaracasVisu_EXPORT vtkImageViewer2_XYZ{
00014 public:
00015 vtkImageViewer2_XYZ();
00016 ~vtkImageViewer2_XYZ();
00017
00018 void SetExtentDimension(int x1,int x2, int y1,int y2, int z1,int z2);
00019 void SetXSlice(int slice);
00020 void SetYSlice(int slice);
00021 void SetZSlice(int slice);
00022 int GetXSlice();
00023 int GetYSlice();
00024 int GetZSlice();
00025 vtkImageViewer2 *GetVtkImageViewer2();
00026
00027 void setColorTransferFunction(vtkColorTransferFunction* colortable);
00028
00029 private:
00030 int _x1,_x2,_y1,_y2,_z1,_z2;
00031 vtkImageViewer2 *_vtkimageviewer2;
00032 vtkColorTransferFunction* _colortable;
00033 protected:
00034 };
00035
00036
00037 #endif