29 #ifndef vtkImageStencil_h
30 #define vtkImageStencil_h
32 #include "vtkImagingStencilModule.h"
68 vtkGetMacro(ReverseStencil,
int);
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);
111 double BackgroundColor[4];
Proxy object to connect input/output ports.
Generic filter that has one input.
a simple class to control print indentation
efficient description of an image stencil
topologically and geometrically regular array of data
void SetBackgroundValue(double val)
Set the default output value to use when the second input is not set.
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
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.
combine images via a cookie-cutter operation
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
static vtkAlgorithm * New()
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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
double GetBackgroundValue()
Set the default output value to use when the second input is not set.