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