vtkImageShiftScale Class Reference
#include <vtkImageShiftScale.h>
Inheritance diagram for vtkImageShiftScale:
[legend]Collaboration diagram for vtkImageShiftScale:
[legend]List of all members.
Detailed Description
shift and scale an input image
With vtkImageShiftScale Pixels are shifted and then scaled. As a convenience, this class allows you to set the output scalar type similar to vtkImageCast. This is because shift scale operations frequently convert data types.
- Examples:
- vtkImageShiftScale (Examples)
- Tests:
- vtkImageShiftScale (Tests)
Definition at line 36 of file vtkImageShiftScale.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkImageShiftScale::vtkImageShiftScale |
( |
|
) |
[protected] |
|
Member Function Documentation
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
|
virtual const char* vtkImageShiftScale::GetClassName |
( |
|
) |
[virtual] |
|
int vtkImageShiftScale::IsTypeOf |
( |
const char * |
type |
) |
[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 vtkImageToImageFilter.
|
virtual int vtkImageShiftScale::IsA |
( |
const char * |
type |
) |
[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 vtkImageToImageFilter.
|
void vtkImageShiftScale::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 vtkImageToImageFilter.
|
virtual void vtkImageShiftScale::SetShift |
( |
double |
|
) |
[virtual] |
|
virtual double vtkImageShiftScale::GetShift |
( |
|
) |
[virtual] |
|
virtual void vtkImageShiftScale::SetScale |
( |
double |
|
) |
[virtual] |
|
virtual double vtkImageShiftScale::GetScale |
( |
|
) |
[virtual] |
|
virtual void vtkImageShiftScale::SetOutputScalarType |
( |
int |
|
) |
[virtual] |
|
|
Set the desired output scalar type. The result of the shift and scale operations is cast to the type specified. |
virtual int vtkImageShiftScale::GetOutputScalarType |
( |
|
) |
[virtual] |
|
|
Set the desired output scalar type. The result of the shift and scale operations is cast to the type specified. |
void vtkImageShiftScale::SetOutputScalarTypeToDouble |
( |
|
) |
[inline] |
|
|
Set the desired output scalar type. The result of the shift and scale operations is cast to the type specified. Definition at line 60 of file vtkImageShiftScale.h.
References VTK_DOUBLE. |
void vtkImageShiftScale::SetOutputScalarTypeToFloat |
( |
|
) |
[inline] |
|
|
Set the desired output scalar type. The result of the shift and scale operations is cast to the type specified. Definition at line 62 of file vtkImageShiftScale.h.
References VTK_FLOAT. |
void vtkImageShiftScale::SetOutputScalarTypeToLong |
( |
|
) |
[inline] |
|
|
Set the desired output scalar type. The result of the shift and scale operations is cast to the type specified. Definition at line 64 of file vtkImageShiftScale.h.
References VTK_LONG. |
void vtkImageShiftScale::SetOutputScalarTypeToUnsignedLong |
( |
|
) |
[inline] |
|
void vtkImageShiftScale::SetOutputScalarTypeToInt |
( |
|
) |
[inline] |
|
|
Set the desired output scalar type. The result of the shift and scale operations is cast to the type specified. Definition at line 68 of file vtkImageShiftScale.h.
References VTK_INT. |
void vtkImageShiftScale::SetOutputScalarTypeToUnsignedInt |
( |
|
) |
[inline] |
|
|
Set the desired output scalar type. The result of the shift and scale operations is cast to the type specified. Definition at line 70 of file vtkImageShiftScale.h.
References VTK_UNSIGNED_INT. |
void vtkImageShiftScale::SetOutputScalarTypeToShort |
( |
|
) |
[inline] |
|
|
Set the desired output scalar type. The result of the shift and scale operations is cast to the type specified. Definition at line 72 of file vtkImageShiftScale.h.
References VTK_SHORT. |
void vtkImageShiftScale::SetOutputScalarTypeToUnsignedShort |
( |
|
) |
[inline] |
|
void vtkImageShiftScale::SetOutputScalarTypeToChar |
( |
|
) |
[inline] |
|
|
Set the desired output scalar type. The result of the shift and scale operations is cast to the type specified. Definition at line 76 of file vtkImageShiftScale.h.
References VTK_CHAR. |
void vtkImageShiftScale::SetOutputScalarTypeToUnsignedChar |
( |
|
) |
[inline] |
|
virtual void vtkImageShiftScale::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 vtkImageShiftScale::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 vtkImageShiftScale::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 vtkImageShiftScale::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. |
void vtkImageShiftScale::ExecuteInformation |
( |
|
) |
[inline, protected, virtual] |
|
void vtkImageShiftScale::ThreadedExecute |
( |
vtkImageData * |
inData, |
|
|
vtkImageData * |
outData, |
|
|
int |
extent[6], |
|
|
int |
id |
|
) |
[protected, virtual] |
|
|
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.
Reimplemented from vtkImageToImageFilter.
|
Member Data Documentation
The documentation for this class was generated from the following file: