NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
General functions for altering vtkLookupTables. More...
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) |
General functions for altering vtkLookupTables.