VTK
|
map the input image through a lookup table and window / level it More...
#include <vtkImageMapToWindowLevelColors.h>
map the input image through a lookup table and window / level it
The vtkImageMapToWindowLevelColors filter will take an input image of any valid scalar type, and map the first component of the image through a lookup table. This resulting color will be modulated with value obtained by a window / level operation. The result is an image of type VTK_UNSIGNED_CHAR. If the lookup table is not set, or is set to NULL, then the input data will be passed through if it is already of type UNSIGNED_CHAR.
Definition at line 40 of file vtkImageMapToWindowLevelColors.h.
Reimplemented from vtkImageMapToColors.
Definition at line 44 of file vtkImageMapToWindowLevelColors.h.
vtkImageMapToWindowLevelColors::vtkImageMapToWindowLevelColors | ( | ) | [protected] |
vtkImageMapToWindowLevelColors::~vtkImageMapToWindowLevelColors | ( | ) | [protected] |
static vtkImageMapToWindowLevelColors* vtkImageMapToWindowLevelColors::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkImageMapToColors.
static int vtkImageMapToWindowLevelColors::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageMapToColors.
virtual int vtkImageMapToWindowLevelColors::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkImageMapToColors.
static vtkImageMapToWindowLevelColors* vtkImageMapToWindowLevelColors::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkImageMapToColors.
virtual vtkObjectBase* vtkImageMapToWindowLevelColors::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkImageMapToColors.
Reimplemented from vtkImageMapToColors.
void vtkImageMapToWindowLevelColors::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 vtkImageMapToColors.
virtual void vtkImageMapToWindowLevelColors::SetWindow | ( | double | ) | [virtual] |
Set / Get the Window to use -> modulation will be performed on the color based on (S - (L - W/2))/W where S is the scalar value, L is the level and W is the window.
virtual double vtkImageMapToWindowLevelColors::GetWindow | ( | ) | [virtual] |
Set / Get the Window to use -> modulation will be performed on the color based on (S - (L - W/2))/W where S is the scalar value, L is the level and W is the window.
virtual void vtkImageMapToWindowLevelColors::SetLevel | ( | double | ) | [virtual] |
Set / Get the Level to use -> modulation will be performed on the color based on (S - (L - W/2))/W where S is the scalar value, L is the level and W is the window.
virtual double vtkImageMapToWindowLevelColors::GetLevel | ( | ) | [virtual] |
Set / Get the Level to use -> modulation will be performed on the color based on (S - (L - W/2))/W where S is the scalar value, L is the level and W is the window.
virtual int vtkImageMapToWindowLevelColors::RequestInformation | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.
Reimplemented from vtkImageMapToColors.
void vtkImageMapToWindowLevelColors::ThreadedRequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector, | ||
vtkImageData *** | inData, | ||
vtkImageData ** | outData, | ||
int | extent[6], | ||
int | threadId | ||
) | [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 vtkImageMapToColors.
virtual int vtkImageMapToWindowLevelColors::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkImageMapToColors.
double vtkImageMapToWindowLevelColors::Window [protected] |
Definition at line 77 of file vtkImageMapToWindowLevelColors.h.
double vtkImageMapToWindowLevelColors::Level [protected] |
Definition at line 78 of file vtkImageMapToWindowLevelColors.h.