open_iA 2024.7
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
iALUT Class Reference

Class for creating lookup tables from color maps. More...

#include <iALUT.h>

Static Public Member Functions

static iALookupTable Build (double const *lutRange, QString colorMap, int numCols, double alpha, bool reverse=false)
 
static vtkSmartPointer< vtkLookupTable > BuildLabelColorTF (int labelCount, iAColorTheme const *colorTheme)
 
static vtkSmartPointer< vtkPiecewiseFunction > BuildLabelOpacityTF (int labelCount)
 
static int BuildLUT (vtkSmartPointer< vtkLookupTable > pLUT, double const *lutRange, QString colorMap, int numCols=256, bool reverse=false)
 
static int BuildLUT (vtkSmartPointer< vtkLookupTable > pLUT, double rangeFrom, double rangeTo, QString colorMap, int numCols=256, bool reverse=false)
 
static QStringList colorMapNames ()
 
static void loadMaps (QString const &folder)
 

Detailed Description

Class for creating lookup tables from color maps.

Has static helper functions to create vtkLookupTable, vtkPiecewiseFunction or iALookupTable instances with a given colormap. The colormaps are loaded at program startup via iALUT::loadMaps.

Member Function Documentation

◆ Build()

iALookupTable iALUT::Build ( double const * lutRange,
QString colorMap,
int numCols,
double alpha,
bool reverse = false )
static

◆ BuildLabelColorTF()

vtkSmartPointer< vtkLookupTable > iALUT::BuildLabelColorTF ( int labelCount,
iAColorTheme const * colorTheme )
static

◆ BuildLabelOpacityTF()

vtkSmartPointer< vtkPiecewiseFunction > iALUT::BuildLabelOpacityTF ( int labelCount)
static

◆ BuildLUT() [1/2]

int iALUT::BuildLUT ( vtkSmartPointer< vtkLookupTable > pLUT,
double const * lutRange,
QString colorMap,
int numCols = 256,
bool reverse = false )
static

◆ BuildLUT() [2/2]

int iALUT::BuildLUT ( vtkSmartPointer< vtkLookupTable > pLUT,
double rangeFrom,
double rangeTo,
QString colorMap,
int numCols = 256,
bool reverse = false )
static

◆ colorMapNames()

QStringList iALUT::colorMapNames ( )
static

◆ loadMaps()

void iALUT::loadMaps ( QString const & folder)
static

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