Go to the documentation of this file.
29 #ifndef vtkImageStencil_h
30 #define vtkImageStencil_h
32 #include "vtkImagingStencilModule.h"
86 this->SetBackgroundColor(val,val,val,val); };
88 return this->BackgroundColor[0]; };
96 vtkSetVector4Macro(BackgroundColor,
double);
97 vtkGetVector4Macro(BackgroundColor,
double);
108 int extent[6],
int id)
override;
111 double BackgroundColor[4];
vtkImageStencilData * GetStencil()
vtkTypeBool ReverseStencil
virtual void SetBackgroundInputData(vtkImageData *input)
Set the second input.
virtual void SetStencilData(vtkImageStencilData *stencil)
Specify the stencil to use.
Generic filter that has one input.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
~vtkImageStencil() override
double GetBackgroundValue()
topologically and geometrically regular array of data
a simple class to control print indentation
vtkImageData * GetBackgroundInput()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetStencilConnection(vtkAlgorithmOutput *outputPort)
Specify the stencil to use.
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
combine images via a cookie-cutter operation
static vtkImageStencil * New()
Proxy object to connect input/output ports.
efficient description of an image stencil
void SetBackgroundValue(double val)
Set the default output value to use when the second input is not set.
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...