52#include "vtkImagingCoreModule.h"
72 this->SetMaskedOutputValue(2, v);
80 this->SetMaskedOutputValue(3, v);
92 vtkSetClampMacro(MaskAlpha,
double, 0.0, 1.0);
93 vtkGetMacro(MaskAlpha,
double);
137 int outExt[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
double * GetMaskedOutputValue()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetMaskedOutputValueLength()
static vtkImageMask * New()
void SetImageInputData(vtkImageData *in)
Set the input to be masked.
double * MaskedOutputValue
void SetMaskInputData(vtkImageData *in)
Set the mask to be used.
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 ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int threadId) override
If the subclass does not define an Execute method, then the task will be broken up,...
void SetMaskedOutputValue(double v)
a simple class to control print indentation
Generic filter that has one input.