Go to the documentation of this file.
29 #ifndef vtkImageStencil_h
30 #define vtkImageStencil_h
32 #include "vtkImagingStencilModule.h"
77 virtual void SetBackgroundInputData(
vtkImageData *input);
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];
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,...
vtkTypeBool ReverseStencil
Generic filter that has one input.
double GetBackgroundValue()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
topologically and geometrically regular array of data
a simple class to control print indentation
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.
static vtkAlgorithm * New()
combine images via a cookie-cutter operation
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.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.