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;
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, multiple threads will be spawned, and each thread will call this method.
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