]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkImageViewer2_XYZ.h
#3465 SetwxVtkBaseViewSetOpacityAxis box
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / vtkImageViewer2_XYZ.h
index fe9123c805dca0bd991eac3665f883bb2596d755..7bfaa8640f2a663d6ef040567bb07113df37b44e 100644 (file)
 #include "vtkImageMapToWindowLevelColors.h"
 #include "vtkColorTransferFunction.h"
 
-class  creaMaracasVisu_EXPORT vtkImageViewer2_XYZ{
+class  creaMaracasVisu_EXPORT vtkImageViewer2_XYZ
+{
 public:
        vtkImageViewer2_XYZ();
        ~vtkImageViewer2_XYZ();
-
        void                    SetExtentDimension(int x1,int x2, int y1,int y2, int z1,int z2);
        void                    SetXSlice(int slice);
        void                    SetYSlice(int slice);
@@ -47,19 +47,14 @@ public:
        int                             GetXSlice();
        int                             GetYSlice();
        int                             GetZSlice();
-       
-
-       void setColorTransferFunction(vtkColorTransferFunction* colortable);
-
+       void                    setColorTransferFunction(vtkColorTransferFunction* colortable);
+       void                    setScalarsToColors(vtkScalarsToColors* colortable, int outputformat);
        vtkImageViewer2 *GetVtkImageViewer2();
 private:
-       int     _x1,_x2,_y1,_y2,_z1,_z2;
-       vtkImageViewer2 *_vtkimageviewer2;
-       vtkColorTransferFunction* _colortable;
-       
-       
-protected:     
-       
+       int                                     _x1,_x2,_y1,_y2,_z1,_z2;
+       vtkImageViewer2         *_vtkimageviewer2;
+       vtkScalarsToColors      *_colortable;
+protected:
 };