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
24extern const int lutPresetNum;
25
27extern wxString LutNames[];
28
30ALBA_EXPORT extern void lutPreset(int idx, vtkLookupTable *lut);
31
33ALBA_EXPORT int presetsIdxByLut(vtkLookupTable *lut);
34
35#endif
36
37
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