vtkgdcm
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkImageMapToWindowLevelColors2 Class Reference

map the input image through a lookup table and window / level it More...

#include <vtkImageMapToWindowLevelColors2.h>

Inherits vtkImageMapToColors.

Public Types

typedef vtkImageMapToColors Superclass
 

Public Member Functions

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 ()
 

Static Public Member Functions

static vtkImageMapToWindowLevelColors2New ()
 
static int IsTypeOf (const char *type)
 
static vtkImageMapToWindowLevelColors2SafeDownCast (vtkObject *o)
 

Protected Member Functions

 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)
 

Protected Attributes

double Window
 
double Level
 

Detailed Description

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 51 of file vtkImageMapToWindowLevelColors2.h.

Member Typedef Documentation

◆ Superclass

typedef vtkImageMapToColors vtkImageMapToWindowLevelColors2::Superclass

Definition at line 55 of file vtkImageMapToWindowLevelColors2.h.

Constructor & Destructor Documentation

◆ vtkImageMapToWindowLevelColors2()

vtkImageMapToWindowLevelColors2::vtkImageMapToWindowLevelColors2 ( )
protected

◆ ~vtkImageMapToWindowLevelColors2()

vtkImageMapToWindowLevelColors2::~vtkImageMapToWindowLevelColors2 ( )
protected

Member Function Documentation

◆ New()

static vtkImageMapToWindowLevelColors2* vtkImageMapToWindowLevelColors2::New ( )
static

◆ 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()

static vtkImageMapToWindowLevelColors2* vtkImageMapToWindowLevelColors2::SafeDownCast ( vtkObject *  o)
static

◆ 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

Member Data Documentation

◆ Window

double vtkImageMapToWindowLevelColors2::Window
protected

Definition at line 92 of file vtkImageMapToWindowLevelColors2.h.

◆ Level

double vtkImageMapToWindowLevelColors2::Level
protected

Definition at line 93 of file vtkImageMapToWindowLevelColors2.h.


The documentation for this class was generated from the following file: