#include "vtkImageMapToWindowLevelColors.h"
#include "vtkColorTransferFunction.h"
-class creaMaracasVisu_EXPORT vtkImageViewer2_XYZ{
+class creaMaracasVisu_EXPORT vtkImageViewer2_XYZ
+{
public:
vtkImageViewer2_XYZ();
~vtkImageViewer2_XYZ();
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:
};