]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkImageViewer2_XYZ.h
#3418 creaMaracasVisu Feature New Normal - ManualPaint_model with openmp
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / vtkImageViewer2_XYZ.h
index 82acd440963c67490c3aeace4edd17edd75e78d9..7bfaa8640f2a663d6ef040567bb07113df37b44e 100644 (file)
@@ -35,7 +35,8 @@
 #include "vtkImageMapToWindowLevelColors.h"
 #include "vtkColorTransferFunction.h"
 
-class  creaMaracasVisu_EXPORT vtkImageViewer2_XYZ{
+class  creaMaracasVisu_EXPORT vtkImageViewer2_XYZ
+{
 public:
        vtkImageViewer2_XYZ();
        ~vtkImageViewer2_XYZ();
@@ -46,12 +47,13 @@ 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;
+       int                                     _x1,_x2,_y1,_y2,_z1,_z2;
+       vtkImageViewer2         *_vtkimageviewer2;
+       vtkScalarsToColors      *_colortable;
 protected:
 };