ALBA
albaGUILutPreset.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaGUILutPreset
5 Authors: Silvano Imboden
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16
17#ifndef __albaGUILutPreset_H__
18#define __albaGUILutPreset_H__
19
20#include "albaColor.h"
21#include "vtkLookupTable.h"
22
25{
28};
29
31extern const int lutPresetNum;
32
34extern wxString LutNames[];
35
37ALBA_EXPORT extern void lutPreset(int idx, vtkLookupTable *lut);
38
40ALBA_EXPORT int presetsIdxByLut(vtkLookupTable *lut);
41
42#endif
43
44
const int lutPresetNum
number of the available LUT presets
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.
ALBA_EXPORT void lutPreset(int idx, vtkLookupTable *lut)
initialize a given LUT with the idx.th preset
wxString LutNames[]
names of the available LUT presets
LUT_PRESETS_IDS
indexes of some LUT presets
@ LUT_PRESET_RED_TO_GREEN
@ LUT_PRESET_GREEN_TO_RED