Go to the documentation of this file.
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;
void SetOutputScalarTypeToUnsignedShort()
vtkTypeBool ClampOverflow
void SetOutputScalarTypeToUnsignedLong()
void SetOutputScalarTypeToShort()
#define VTK_UNSIGNED_SHORT
void SetOutputScalarTypeToDouble()
Generic filter that has one input.
void SetOutputScalarTypeToLong()
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToUnsignedChar()
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 PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOutputScalarTypeToChar()
topologically and geometrically regular array of data
a simple class to control print indentation
#define VTK_UNSIGNED_CHAR
#define VTK_UNSIGNED_LONG
static vtkAlgorithm * New()
void SetOutputScalarTypeToFloat()
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
Image Data type Casting Filter.
void SetOutputScalarTypeToUnsignedInt()