VTK
|
map the input image through a lookup table and window / level it More...
#include <vtkImageMapToWindowLevelColors.h>
Public Types | |
typedef vtkImageMapToColors | Superclass |
![]() | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageMapToWindowLevelColors * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetWindow (double) |
virtual double | GetWindow () |
virtual void | SetLevel (double) |
virtual double | GetLevel () |
![]() | |
vtkImageMapToColors * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual unsigned long | GetMTime () |
virtual void | SetLookupTable (vtkScalarsToColors *) |
virtual vtkScalarsToColors * | GetLookupTable () |
virtual void | SetOutputFormat (int) |
virtual int | GetOutputFormat () |
void | SetOutputFormatToRGBA () |
void | SetOutputFormatToRGB () |
void | SetOutputFormatToLuminanceAlpha () |
void | SetOutputFormatToLuminance () |
virtual void | SetActiveComponent (int) |
virtual int | GetActiveComponent () |
virtual void | SetPassAlphaToOutput (int) |
virtual void | PassAlphaToOutputOn () |
virtual void | PassAlphaToOutputOff () |
virtual int | GetPassAlphaToOutput () |
Static Public Member Functions | |
static vtkImageMapToWindowLevelColors * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageMapToWindowLevelColors * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkImageMapToColors * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageMapToColors * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageMapToWindowLevelColors () | |
~vtkImageMapToWindowLevelColors () | |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
![]() | |
vtkImageMapToColors () | |
~vtkImageMapToColors () | |
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id) |
Protected Attributes | |
double | Window |
double | Level |
![]() | |
vtkScalarsToColors * | LookupTable |
int | OutputFormat |
int | ActiveComponent |
int | PassAlphaToOutput |
int | DataWasPassed |
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.
Definition at line 44 of file vtkImageMapToWindowLevelColors.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
Reimplemented from vtkImageMapToColors.
|
static |
|
protectedvirtual |
Reimplemented from vtkImageMapToColors.
vtkImageMapToWindowLevelColors* vtkImageMapToWindowLevelColors::NewInstance | ( | ) | const |
void vtkImageMapToWindowLevelColors::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
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 |
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 |
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 |
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.
|
protectedvirtual |
Reimplemented from vtkImageMapToColors.
|
protected |
|
protectedvirtual |
Reimplemented from vtkImageMapToColors.
|
protected |
Definition at line 77 of file vtkImageMapToWindowLevelColors.h.
|
protected |
Definition at line 78 of file vtkImageMapToWindowLevelColors.h.