#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);
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:
};