28 #ifndef __vtkImageStencil_h
29 #define __vtkImageStencil_h
31 #include "vtkImagingStencilModule.h"
32 #include "vtkThreadedImageAlgorithm.h"
41 void PrintSelf(ostream& os, vtkIndent indent);
55 this->SetInputConnection(2, outputPort);
61 vtkSetMacro(ReverseStencil,
int);
62 vtkBooleanMacro(ReverseStencil,
int);
63 vtkGetMacro(ReverseStencil,
int);
70 virtual void SetBackgroundInputData(vtkImageData *input);
71 vtkImageData *GetBackgroundInput();
77 this->SetBackgroundColor(val,val,val,val); };
79 return this->BackgroundColor[0]; };
85 vtkSetVector4Macro(BackgroundColor,
double);
86 vtkGetVector4Macro(BackgroundColor,
double);
93 void ThreadedRequestData(vtkInformation *request,
94 vtkInformationVector **inputVector,
95 vtkInformationVector *outputVector,
96 vtkImageData ***inData, vtkImageData **outData,
97 int extent[6],
int id);
100 double BackgroundColor[4];
102 virtual int FillInputPortInformation(
int, vtkInformation*);
efficient description of an image stencil
void SetBackgroundValue(double val)
combine images via a cookie-cutter operation
void SetStencilConnection(vtkAlgorithmOutput *outputPort)
double GetBackgroundValue()