38 #ifndef __vtkImageCast_h
39 #define __vtkImageCast_h
42 #include "vtkImagingCoreModule.h"
43 #include "vtkThreadedImageAlgorithm.h"
45 class VTKIMAGINGCORE_EXPORT
vtkImageCast :
public vtkThreadedImageAlgorithm
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 *);
91 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
Image Data type Casting Filter.
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToUnsignedChar()
void SetOutputScalarTypeToUnsignedLong()
void SetOutputScalarTypeToDouble()
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToUnsignedInt()
void SetOutputScalarTypeToUnsignedShort()
void SetOutputScalarTypeToLong()
void SetOutputScalarTypeToFloat()
void SetOutputScalarTypeToChar()