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

map the input image through a lookup table More...

#include <vtkImageMapToColors16.h>

Inherits vtkThreadedImageAlgorithm.

Public Types

typedef vtkThreadedImageAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetLookupTable (vtkScalarsToColors *)
 Set the lookup table. More...
 
virtual vtkScalarsToColors * GetLookupTable ()
 
virtual void SetOutputFormat (int)
 Set the output format, the default is RGBA. More...
 
virtual int GetOutputFormat ()
 
void SetOutputFormatToRGBA ()
 
void SetOutputFormatToRGB ()
 
void SetOutputFormatToLuminanceAlpha ()
 
void SetOutputFormatToLuminance ()
 
virtual void SetActiveComponent (int)
 Set the component to map for multi-component images (default: 0) More...
 
virtual int GetActiveComponent ()
 
virtual void SetPassAlphaToOutput (int)
 Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA) More...
 
virtual void PassAlphaToOutputOn ()
 
virtual void PassAlphaToOutputOff ()
 
virtual int GetPassAlphaToOutput ()
 
virtual unsigned long GetMTime ()
 We need to check the modified time of the lookup table too. More...
 

Static Public Member Functions

static vtkImageMapToColors16New ()
 
static int IsTypeOf (const char *type)
 
static vtkImageMapToColors16SafeDownCast (vtkObject *o)
 

Protected Member Functions

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

vtkScalarsToColors * LookupTable
 
int OutputFormat
 
int ActiveComponent
 
int PassAlphaToOutput
 
int DataWasPassed
 

Detailed Description

map the input image through a lookup table

The vtkImageMapToColors16 filter will take an input image of any valid scalar type, and map the first component of the image through a lookup table. 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 VTK_UNSIGNED_CHAR.

See also
vtkLookupTable vtkScalarsToColors

Definition at line 53 of file vtkImageMapToColors16.h.

Member Typedef Documentation

◆ Superclass

typedef vtkThreadedImageAlgorithm vtkImageMapToColors16::Superclass

Definition at line 57 of file vtkImageMapToColors16.h.

Constructor & Destructor Documentation

◆ vtkImageMapToColors16()

vtkImageMapToColors16::vtkImageMapToColors16 ( )
protected

◆ ~vtkImageMapToColors16()

vtkImageMapToColors16::~vtkImageMapToColors16 ( )
protected

Member Function Documentation

◆ New()

static vtkImageMapToColors16* vtkImageMapToColors16::New ( )
static

◆ GetClassName()

virtual const char* vtkImageMapToColors16::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkImageMapToColors16::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkImageMapToColors16::IsA ( const char *  type)
virtual

◆ SafeDownCast()

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

◆ PrintSelf()

void vtkImageMapToColors16::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ SetLookupTable()

virtual void vtkImageMapToColors16::SetLookupTable ( vtkScalarsToColors *  )
virtual

Set the lookup table.

◆ GetLookupTable()

virtual vtkScalarsToColors* vtkImageMapToColors16::GetLookupTable ( )
virtual

◆ SetOutputFormat()

virtual void vtkImageMapToColors16::SetOutputFormat ( int  )
virtual

Set the output format, the default is RGBA.

◆ GetOutputFormat()

virtual int vtkImageMapToColors16::GetOutputFormat ( )
virtual

◆ SetOutputFormatToRGBA()

void vtkImageMapToColors16::SetOutputFormatToRGBA ( )
inline

Definition at line 74 of file vtkImageMapToColors16.h.

◆ SetOutputFormatToRGB()

void vtkImageMapToColors16::SetOutputFormatToRGB ( )
inline

Definition at line 75 of file vtkImageMapToColors16.h.

◆ SetOutputFormatToLuminanceAlpha()

void vtkImageMapToColors16::SetOutputFormatToLuminanceAlpha ( )
inline

Definition at line 76 of file vtkImageMapToColors16.h.

◆ SetOutputFormatToLuminance()

void vtkImageMapToColors16::SetOutputFormatToLuminance ( )
inline

Definition at line 77 of file vtkImageMapToColors16.h.

◆ SetActiveComponent()

virtual void vtkImageMapToColors16::SetActiveComponent ( int  )
virtual

Set the component to map for multi-component images (default: 0)

◆ GetActiveComponent()

virtual int vtkImageMapToColors16::GetActiveComponent ( )
virtual

◆ SetPassAlphaToOutput()

virtual void vtkImageMapToColors16::SetPassAlphaToOutput ( int  )
virtual

Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA)

◆ PassAlphaToOutputOn()

virtual void vtkImageMapToColors16::PassAlphaToOutputOn ( )
virtual

◆ PassAlphaToOutputOff()

virtual void vtkImageMapToColors16::PassAlphaToOutputOff ( )
virtual

◆ GetPassAlphaToOutput()

virtual int vtkImageMapToColors16::GetPassAlphaToOutput ( )
virtual

◆ GetMTime()

virtual unsigned long vtkImageMapToColors16::GetMTime ( )
virtual

We need to check the modified time of the lookup table too.

◆ RequestInformation()

virtual int vtkImageMapToColors16::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

◆ ThreadedRequestData()

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

◆ RequestData()

virtual int vtkImageMapToColors16::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

Member Data Documentation

◆ LookupTable

vtkScalarsToColors* vtkImageMapToColors16::LookupTable
protected

Definition at line 125 of file vtkImageMapToColors16.h.

◆ OutputFormat

int vtkImageMapToColors16::OutputFormat
protected

Definition at line 126 of file vtkImageMapToColors16.h.

◆ ActiveComponent

int vtkImageMapToColors16::ActiveComponent
protected

Definition at line 128 of file vtkImageMapToColors16.h.

◆ PassAlphaToOutput

int vtkImageMapToColors16::PassAlphaToOutput
protected

Definition at line 129 of file vtkImageMapToColors16.h.

◆ DataWasPassed

int vtkImageMapToColors16::DataWasPassed
protected

Definition at line 131 of file vtkImageMapToColors16.h.


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