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
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetOutputScalarTypeToUnsignedLong()
void SetOutputScalarTypeToShort()
#define VTK_UNSIGNED_SHORT
void SetOutputScalarTypeToDouble()
Generic filter that has one input.
void SetOutputScalarTypeToLong()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToUnsignedChar()
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int ext[6], int id) override
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 vtkImageCast * New()
void SetOutputScalarTypeToFloat()
Image Data type Casting Filter.
void SetOutputScalarTypeToUnsignedInt()