VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkImageMapToWindowLevelColors Class Reference

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

#include <vtkImageMapToWindowLevelColors.h>

Inheritance diagram for vtkImageMapToWindowLevelColors:
[legend]
Collaboration diagram for vtkImageMapToWindowLevelColors:
[legend]

Public Types

typedef vtkImageMapToColors Superclass
 
- Public Types inherited from vtkImageMapToColors
typedef vtkThreadedImageAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkImageMapToWindowLevelColorsNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetWindow (double)
 
virtual double GetWindow ()
 
virtual void SetLevel (double)
 
virtual double GetLevel ()
 
- Public Member Functions inherited from vtkImageMapToColors
vtkImageMapToColorsNewInstance () 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 Public Member Functions inherited from vtkImageMapToColors
static vtkImageMapToColorsNew ()
 
static int IsTypeOf (const char *type)
 
static vtkImageMapToColorsSafeDownCast (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)
 
- Protected Member Functions inherited from vtkImageMapToColors
 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
 
- Protected Attributes inherited from vtkImageMapToColors
vtkScalarsToColors * LookupTable
 
int OutputFormat
 
int ActiveComponent
 
int PassAlphaToOutput
 
int DataWasPassed
 

Detailed Description

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.

See Also
vtkLookupTable vtkScalarsToColors
Tests:
vtkImageMapToWindowLevelColors (Tests)

Definition at line 40 of file vtkImageMapToWindowLevelColors.h.

Member Typedef Documentation

Definition at line 44 of file vtkImageMapToWindowLevelColors.h.

Constructor & Destructor Documentation

vtkImageMapToWindowLevelColors::vtkImageMapToWindowLevelColors ( )
protected
vtkImageMapToWindowLevelColors::~vtkImageMapToWindowLevelColors ( )
protected

Member Function Documentation

static vtkImageMapToWindowLevelColors* vtkImageMapToWindowLevelColors::New ( )
static
static int vtkImageMapToWindowLevelColors::IsTypeOf ( const char *  type)
static
virtual int vtkImageMapToWindowLevelColors::IsA ( const char *  type)
virtual

Reimplemented from vtkImageMapToColors.

static vtkImageMapToWindowLevelColors* vtkImageMapToWindowLevelColors::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkImageMapToWindowLevelColors::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkImageMapToColors.

vtkImageMapToWindowLevelColors* vtkImageMapToWindowLevelColors::NewInstance ( ) const
void vtkImageMapToWindowLevelColors::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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 *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Reimplemented from vtkImageMapToColors.

void vtkImageMapToWindowLevelColors::ThreadedRequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector,
vtkImageData ***  inData,
vtkImageData **  outData,
int  extent[6],
int  id 
)
protected
virtual int vtkImageMapToWindowLevelColors::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

Reimplemented from vtkImageMapToColors.

Member Data Documentation

double vtkImageMapToWindowLevelColors::Window
protected

Definition at line 77 of file vtkImageMapToWindowLevelColors.h.

double vtkImageMapToWindowLevelColors::Level
protected

Definition at line 78 of file vtkImageMapToWindowLevelColors.h.


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