NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Namespaces | Typedefs | Functions
niftkVtkLookupTableUtils.h File Reference

General functions for altering vtkLookupTables. More...

Include dependency graph for niftkVtkLookupTableUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 niftk
 

Typedefs

typedef std::pair< int,
std::string
niftk::LabelType
 
typedef std::vector< LabelType > niftk::LabelsListType
 
typedef std::vector< QColor > niftk::ColorListType
 

Functions

vtkLookupTable * niftk::ChangeColor (vtkLookupTable *lut, int value, const QColor &newColor)
 Replace the color in the LookupTable at the given index. More...
 
vtkLookupTable * niftk::SwapColors (vtkLookupTable *lut, int value1, int value2)
 Swap colors in the LookupTable at the given indices. More...
 
vtkLookupTable * niftk::ResizeLookupTable (vtkLookupTable *lut, double newMaximum)
 Resize the LookupTable while retaining all of the previously set values. Newly added values are assigned the nan color. More...
 
vtkLookupTable * niftk::CreateEmptyLookupTable (const QColor &lowColor, const QColor &highColor)
 

Detailed Description

General functions for altering vtkLookupTables.