39 #ifndef vtkImageCast_h 40 #define vtkImageCast_h 43 #include "vtkImagingCoreModule.h" 57 vtkSetMacro(OutputScalarType,
int);
58 vtkGetMacro(OutputScalarType,
int);
73 {this->SetOutputScalarType(
VTK_CHAR);};
100 int ext[6],
int id)
override;
Image Data type Casting Filter.
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
#define VTK_UNSIGNED_SHORT
void SetOutputScalarTypeToInt()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToUnsignedChar()
Set the desired output scalar type to cast to.
vtkTypeBool ClampOverflow
Generic filter that has one input.
a simple class to control print indentation
topologically and geometrically regular array of data
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 SetOutputScalarTypeToUnsignedLong()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToDouble()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToShort()
Set the desired output scalar type to cast to.
#define VTK_UNSIGNED_CHAR
void SetOutputScalarTypeToUnsignedInt()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToUnsignedShort()
Set the desired output scalar type to cast to.
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
void SetOutputScalarTypeToLong()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToFloat()
Set the desired output scalar type to cast to.
void SetOutputScalarTypeToChar()
Set the desired output scalar type to cast to.