#include <vtkImageCast.h>
vtkImageCast filter casts the input type to match the output type in the image processing pipeline. The filter does nothing if the input already has the correct type. To specify the "CastTo" type, use "SetOutputScalarType" method.
Definition at line 36 of file vtkImageCast.h.
vtkImageCast::vtkImageCast | ( | ) | [protected] |
vtkImageCast::~vtkImageCast | ( | ) | [inline, protected] |
Definition at line 76 of file vtkImageCast.h.
static vtkImageCast* vtkImageCast::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual const char* vtkImageCast::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
static int vtkImageCast::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageCast::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkThreadedImageAlgorithm.
static vtkImageCast* vtkImageCast::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
void vtkImageCast::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkThreadedImageAlgorithm.
virtual void vtkImageCast::SetOutputScalarType | ( | int | ) | [virtual] |
Set the desired output scalar type to cast to.
virtual int vtkImageCast::GetOutputScalarType | ( | ) | [virtual] |
Set the desired output scalar type to cast to.
void vtkImageCast::SetOutputScalarTypeToFloat | ( | ) | [inline] |
Set the desired output scalar type to cast to.
Definition at line 47 of file vtkImageCast.h.
void vtkImageCast::SetOutputScalarTypeToDouble | ( | ) | [inline] |
Set the desired output scalar type to cast to.
Definition at line 48 of file vtkImageCast.h.
void vtkImageCast::SetOutputScalarTypeToInt | ( | ) | [inline] |
Set the desired output scalar type to cast to.
Definition at line 49 of file vtkImageCast.h.
void vtkImageCast::SetOutputScalarTypeToUnsignedInt | ( | ) | [inline] |
Set the desired output scalar type to cast to.
Definition at line 50 of file vtkImageCast.h.
void vtkImageCast::SetOutputScalarTypeToLong | ( | ) | [inline] |
Set the desired output scalar type to cast to.
Definition at line 52 of file vtkImageCast.h.
void vtkImageCast::SetOutputScalarTypeToUnsignedLong | ( | ) | [inline] |
Set the desired output scalar type to cast to.
Definition at line 53 of file vtkImageCast.h.
void vtkImageCast::SetOutputScalarTypeToShort | ( | ) | [inline] |
Set the desired output scalar type to cast to.
Definition at line 55 of file vtkImageCast.h.
void vtkImageCast::SetOutputScalarTypeToUnsignedShort | ( | ) | [inline] |
Set the desired output scalar type to cast to.
Definition at line 56 of file vtkImageCast.h.
void vtkImageCast::SetOutputScalarTypeToUnsignedChar | ( | ) | [inline] |
Set the desired output scalar type to cast to.
Definition at line 58 of file vtkImageCast.h.
void vtkImageCast::SetOutputScalarTypeToChar | ( | ) | [inline] |
Set the desired output scalar type to cast to.
Definition at line 60 of file vtkImageCast.h.
virtual void vtkImageCast::SetClampOverflow | ( | int | ) | [virtual] |
When the ClampOverflow flag is on, the data is thresholded so that the output value does not exceed the max or min of the data type. By default ClampOverflow is off.
virtual int vtkImageCast::GetClampOverflow | ( | ) | [virtual] |
When the ClampOverflow flag is on, the data is thresholded so that the output value does not exceed the max or min of the data type. By default ClampOverflow is off.
virtual void vtkImageCast::ClampOverflowOn | ( | ) | [virtual] |
When the ClampOverflow flag is on, the data is thresholded so that the output value does not exceed the max or min of the data type. By default ClampOverflow is off.
virtual void vtkImageCast::ClampOverflowOff | ( | ) | [virtual] |
When the ClampOverflow flag is on, the data is thresholded so that the output value does not exceed the max or min of the data type. By default ClampOverflow is off.
virtual int vtkImageCast::RequestInformation | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkImageAlgorithm.
void vtkImageCast::ThreadedExecute | ( | vtkImageData * | inData, | |
vtkImageData * | outData, | |||
int | ext[6], | |||
int | id | |||
) | [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
int vtkImageCast::ClampOverflow [protected] |
Definition at line 76 of file vtkImageCast.h.
int vtkImageCast::OutputScalarType [protected] |
Definition at line 79 of file vtkImageCast.h.