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);};
void SetOutputScalarTypeToUnsignedChar()
The desired output scalar type.
#define VTK_UNSIGNED_SHORT
void SetOutputScalarTypeToUnsignedShort()
The desired output scalar type.
Convert an image stencil into an image.
void SetOutputScalarTypeToInt()
The desired output scalar type.
void SetOutputScalarTypeToFloat()
The desired output scalar type.
a simple class to control print indentation
void SetOutputScalarTypeToLong()
The desired output scalar type.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetOutputScalarTypeToDouble()
The desired output scalar type.
void SetOutputScalarTypeToUnsignedInt()
The desired output scalar type.
#define VTK_UNSIGNED_CHAR
void SetOutputScalarTypeToShort()
The desired output scalar type.
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
Generic algorithm superclass for image algs.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_UNSIGNED_LONG
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
void SetOutputScalarTypeToUnsignedLong()
The desired output scalar type.
void SetOutputScalarTypeToChar()
The desired output scalar type.