Go to the documentation of this file.
31 #ifndef vtkImageStencilToImage_h
32 #define vtkImageStencilToImage_h
34 #include "vtkImagingStencilModule.h"
48 vtkSetMacro(OutsideValue,
double);
49 vtkGetMacro(OutsideValue,
double);
56 vtkSetMacro(InsideValue,
double);
57 vtkGetMacro(InsideValue,
double);
64 vtkSetMacro(OutputScalarType,
int);
65 vtkGetMacro(OutputScalarType,
int);
80 {this->SetOutputScalarType(
VTK_CHAR);};
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
void SetOutputScalarTypeToUnsignedShort()
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToDouble()
#define VTK_UNSIGNED_SHORT
void SetOutputScalarTypeToUnsignedLong()
void SetOutputScalarTypeToLong()
Generic algorithm superclass for image algs.
void SetOutputScalarTypeToUnsignedChar()
void SetOutputScalarTypeToFloat()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
a simple class to control print indentation
#define VTK_UNSIGNED_CHAR
void SetOutputScalarTypeToUnsignedInt()
#define VTK_UNSIGNED_LONG
void SetOutputScalarTypeToChar()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkAlgorithm * New()
void SetOutputScalarTypeToShort()
Convert an image stencil into an image.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.