13 #ifndef __vtkMitkLevelWindowFilter_h
14 #define __vtkMitkLevelWindowFilter_h
16 class vtkScalarsToColors;
17 class vtkPiecewiseFunction;
18 #include <vtkImageData.h>
19 #include <vtkThreadedImageAlgorithm.h>
40 vtkMTimeType GetMTime()
override;
42 vtkScalarsToColors *GetLookupTable();
44 void SetLookupTable(vtkScalarsToColors *lookupTable);
51 void SetOpacityPiecewiseFunction(vtkPiecewiseFunction *opacityFunction);
54 void SetMinOpacity(
double minOpacity);
55 inline double GetMinOpacity()
const;
58 void SetMaxOpacity(
double maxOpacity);
59 inline double GetMaxOpacity()
const;
62 void SetClippingBounds(
double *);
76 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
int extent[6],
int id)
override;
79 int RequestInformation(vtkInformation *request,
80 vtkInformationVector **inputVector,
81 vtkInformationVector *outputVector)
override;
87 vtkScalarsToColors *m_LookupTable;
89 vtkPiecewiseFunction *m_OpacityFunction;
95 double m_ClippingBounds[4];