map the input image through a lookup table and window / level it
More...
#include <vtkImageMapToWindowLevelColors2.h>
Inherits vtkImageMapToColors.
|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | SetWindow (double) |
| 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. More...
|
|
virtual double | GetWindow () |
|
virtual void | SetLevel (double) |
| 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. More...
|
|
virtual double | GetLevel () |
|
|
| vtkImageMapToWindowLevelColors2 () |
|
| ~vtkImageMapToWindowLevelColors2 () |
|
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) |
|
map the input image through a lookup table and window / level it
The vtkImageMapToWindowLevelColors2 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.
- See also
- vtkLookupTable vtkScalarsToColors
Definition at line 52 of file vtkImageMapToWindowLevelColors2.h.
◆ Superclass
◆ vtkImageMapToWindowLevelColors2()
vtkImageMapToWindowLevelColors2::vtkImageMapToWindowLevelColors2 |
( |
| ) |
|
|
protected |
◆ ~vtkImageMapToWindowLevelColors2()
vtkImageMapToWindowLevelColors2::~vtkImageMapToWindowLevelColors2 |
( |
| ) |
|
|
protected |
◆ New()
◆ GetClassName()
virtual const char* vtkImageMapToWindowLevelColors2::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkImageMapToWindowLevelColors2::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ IsA()
virtual int vtkImageMapToWindowLevelColors2::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ PrintSelf()
void vtkImageMapToWindowLevelColors2::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ SetWindow()
virtual void vtkImageMapToWindowLevelColors2::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.
◆ GetWindow()
virtual double vtkImageMapToWindowLevelColors2::GetWindow |
( |
| ) |
|
|
virtual |
◆ SetLevel()
virtual void vtkImageMapToWindowLevelColors2::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.
◆ GetLevel()
virtual double vtkImageMapToWindowLevelColors2::GetLevel |
( |
| ) |
|
|
virtual |
◆ RequestInformation()
virtual int vtkImageMapToWindowLevelColors2::RequestInformation |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
◆ ThreadedRequestData()
void vtkImageMapToWindowLevelColors2::ThreadedRequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector, |
|
|
vtkImageData *** |
inData, |
|
|
vtkImageData ** |
outData, |
|
|
int |
extent[6], |
|
|
int |
id |
|
) |
| |
|
protected |
◆ RequestData()
virtual int vtkImageMapToWindowLevelColors2::RequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
◆ Window
double vtkImageMapToWindowLevelColors2::Window |
|
protected |
◆ Level
double vtkImageMapToWindowLevelColors2::Level |
|
protected |
The documentation for this class was generated from the following file: