38 #ifndef __vtkImageCast_h
39 #define __vtkImageCast_h
42 #include "vtkImagingCoreModule.h"
50 void PrintSelf(ostream& os, vtkIndent indent);
54 vtkSetMacro(OutputScalarType,
int);
55 vtkGetMacro(OutputScalarType,
int);
60 {this->SetOutputScalarType(VTK_UNSIGNED_INT);};
63 {this->SetOutputScalarType(VTK_UNSIGNED_LONG);};
66 {this->SetOutputScalarType(VTK_UNSIGNED_SHORT);};
68 {this->SetOutputScalarType(VTK_UNSIGNED_CHAR);};
70 {this->SetOutputScalarType(VTK_CHAR);};
77 vtkSetMacro(ClampOverflow,
int);
78 vtkGetMacro(ClampOverflow,
int);
79 vtkBooleanMacro(ClampOverflow,
int);
89 virtual int RequestInformation (vtkInformation *, vtkInformationVector**, vtkInformationVector *);
Image Data type Casting Filter.
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToUnsignedChar()
void PrintSelf(ostream &os, vtkIndent indent)
Generic filter that has one input..
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetOutputScalarTypeToUnsignedLong()
void SetOutputScalarTypeToDouble()
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToUnsignedInt()
void SetOutputScalarTypeToUnsignedShort()
static vtkAlgorithm * New()
void SetOutputScalarTypeToLong()
void SetOutputScalarTypeToFloat()
void SetOutputScalarTypeToChar()