Go to the documentation of this file.
33 #ifndef vtkImageMask_h
34 #define vtkImageMask_h
37 #include "vtkImagingCoreModule.h"
50 void SetMaskedOutputValue(
int num,
double *v);
53 {
double v[2]; v[0]=v1; v[1]=v2; this->SetMaskedOutputValue(2, v);}
55 {
double v[3]; v[0]=v1; v[1]=v2; v[2]=v3; this->SetMaskedOutputValue(3, v);}
66 vtkSetClampMacro ( MaskAlpha,
double, 0.0, 1.0 );
67 vtkGetMacro ( MaskAlpha,
double );
117 int extent[6],
int threadId)
override;
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,...
double * MaskedOutputValue
virtual void SetInput1Data(vtkDataObject *in)
Set the two inputs to this filter.
Combines a mask and an image.
Generic filter that has one input.
void SetMaskedOutputValue(double v)
void SetInputData(vtkDataObject *)
Assign a data object as input.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetMaskedOutputValue(double v1, double v2)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int MaskedOutputValueLength
topologically and geometrically regular array of data
a simple class to control print indentation
int GetMaskedOutputValueLength()
static vtkAlgorithm * New()
virtual void SetInput2Data(vtkDataObject *in)
double * GetMaskedOutputValue()
general representation of visualization data
void SetMaskedOutputValue(double v1, double v2, double v3)