17 #ifndef __vtkMitkLevelWindowFilter_h
18 #define __vtkMitkLevelWindowFilter_h
20 class vtkScalarsToColors;
21 class vtkPiecewiseFunction;
22 #include <vtkImageData.h>
23 #include <vtkThreadedImageAlgorithm.h>
45 virtual unsigned long int GetMTime()
override;
47 vtkScalarsToColors *GetLookupTable();
49 void SetLookupTable(vtkScalarsToColors *lookupTable);
56 void SetOpacityPiecewiseFunction(vtkPiecewiseFunction *opacityFunction);
59 void SetMinOpacity(
double minOpacity);
60 inline double GetMinOpacity()
const;
63 void SetMaxOpacity(
double maxOpacity);
64 inline double GetMaxOpacity()
const;
67 void SetClippingBounds(
double *);
81 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
int extent[6],
int id)
override;
84 int RequestInformation(vtkInformation *request,
85 vtkInformationVector **inputVector,
86 vtkInformationVector *outputVector)
override;
92 vtkScalarsToColors *m_LookupTable;
94 vtkPiecewiseFunction *m_OpacityFunction;
100 double m_ClippingBounds[4];
vtkPiecewiseFunction * GetOpacityPiecewiseFunction()
Get the piecewise function used to map scalar to alpha component value (only used when the lookupTabl...
Applies the grayvalue or color/opacity level window to scalar or RGB(A) images.
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.