38 #ifndef __vtkImageCast_h
39 #define __vtkImageCast_h
53 vtkSetMacro(OutputScalarType,
int);
54 vtkGetMacro(OutputScalarType,
int);
69 {this->SetOutputScalarType(
VTK_CHAR);};
76 vtkSetMacro(ClampOverflow,
int);
77 vtkGetMacro(ClampOverflow,
int);
78 vtkBooleanMacro(ClampOverflow,
int);
Image Data type Casting Filter.
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
#define VTK_UNSIGNED_SHORT
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToUnsignedChar()
void PrintSelf(ostream &os, vtkIndent indent)
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)
void SetOutputScalarTypeToUnsignedLong()
void SetOutputScalarTypeToDouble()
void SetOutputScalarTypeToShort()
#define VTK_UNSIGNED_CHAR
void SetOutputScalarTypeToUnsignedInt()
void SetOutputScalarTypeToUnsignedShort()
static vtkAlgorithm * New()
#define VTK_UNSIGNED_LONG
void SetOutputScalarTypeToLong()
void SetOutputScalarTypeToFloat()
void SetOutputScalarTypeToChar()