ALBA
Enumerations | Functions | Variables
albaGUILutPreset.h File Reference
#include "albaColor.h"
#include "vtkLookupTable.h"
Include dependency graph for albaGUILutPreset.h:

Go to the source code of this file.

Enumerations

enum  LUT_PRESETS_IDS { LUT_PRESET_RED_TO_GREEN = 21 , LUT_PRESET_GREEN_TO_RED = 22 }
 

Functions

ALBA_EXPORT void lutPreset (int idx, vtkLookupTable *lut)
 
ALBA_EXPORT int presetsIdxByLut (vtkLookupTable *lut)
 

Variables

const int lutPresetNum
 
wxString LutNames []
 

Enumeration Type Documentation

◆ LUT_PRESETS_IDS

indexes of some LUT presets

Enumerator
LUT_PRESET_RED_TO_GREEN 
LUT_PRESET_GREEN_TO_RED 

Definition at line 24 of file albaGUILutPreset.h.

Function Documentation

◆ lutPreset()

ALBA_EXPORT void lutPreset ( int  idx,
vtkLookupTable *  lut 
)

initialize a given LUT with the idx.th preset

◆ presetsIdxByLut()

ALBA_EXPORT int presetsIdxByLut ( vtkLookupTable *  lut)

Given a lut return the index of the relative presets, -1 if the lut was not found in presets.

Variable Documentation

◆ lutPresetNum

const int lutPresetNum
extern

number of the available LUT presets

◆ LutNames

wxString LutNames[]
extern

names of the available LUT presets