30 #ifndef vtkImageMask_h
31 #define vtkImageMask_h
33 #include "vtkImagingCoreModule.h"
53 this->SetMaskedOutputValue(2, v);
61 this->SetMaskedOutputValue(3, v);
73 vtkSetClampMacro(MaskAlpha,
double, 0.0, 1.0);
74 vtkGetMacro(MaskAlpha,
double);
118 int extent[6],
int threadId)
override;
general representation of visualization data
void SetInputData(vtkDataObject *)
Assign a data object as input.
topologically and geometrically regular array of data
Combines a mask and an image.
int MaskedOutputValueLength
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetMaskedOutputValueLength()
static vtkImageMask * New()
double * GetMaskedOutputValue()
void SetImageInputData(vtkImageData *in)
Set the input to be masked.
double * MaskedOutputValue
void SetMaskInputData(vtkImageData *in)
Set the mask to be used.
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId) override
If the subclass does not define an Execute method, then the task will be broken up,...
virtual void SetInput2Data(vtkDataObject *in)
virtual void SetInput1Data(vtkDataObject *in)
Set the two inputs to this filter.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetMaskedOutputValue(double v1, double v2)
void SetMaskedOutputValue(double v1, double v2, double v3)
void SetMaskedOutputValue(int num, double *v)
SetGet the value of the output pixel replaced by mask.
void SetMaskedOutputValue(double v)
a simple class to control print indentation
Generic filter that has one input.