]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkImageViewer2_XYZ.h
#3363 creaMaracasVisu Feature New - Normal ViewerNV with color RGB images
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / vtkImageViewer2_XYZ.h
index 82acd440963c67490c3aeace4edd17edd75e78d9..b20ea7826248ce234529802c943653ba9e3886f7 100644 (file)
@@ -46,12 +46,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:
 };