38 #ifndef vtkImageCast_h
39 #define vtkImageCast_h
54 vtkSetMacro(OutputScalarType,
int);
55 vtkGetMacro(OutputScalarType,
int);
70 {this->SetOutputScalarType(
VTK_CHAR);};
80 vtkSetMacro(ClampOverflow,
int);
81 vtkGetMacro(ClampOverflow,
int);
82 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)
#define VTKIMAGINGCORE_EXPORT
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()