MeVisLab Toolbox Reference
mlLUTFloatRGBA.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2007, MeVis Medical Solutions AG
4
**
5
** The user may use this file in accordance with the license agreement provided with
6
** the Software or, alternatively, in accordance with the terms contained in a
7
** written agreement between the user and MeVis Medical Solutions AG.
8
**
9
** For further information use the contact form at https://www.mevislab.de/contact
10
**
11
**************************************************************************************/
12
13
#ifndef ML_LUTFLOAT_RGBA_H
14
#define ML_LUTFLOAT_RGBA_H
15
16
23
24
#include "
mlLUTSystem.h
"
25
#include "
mlLUTBasic.h
"
26
#include "
mlLUTFunction.h
"
27
#include "
mlLUTData.h
"
28
29
30
31
ML_START_NAMESPACE
32
39
class
MLLUT_EXPORT
LUTFloatRGBA
{
40
41
public
:
42
47
LUTFloatRGBA
(
LUTFunction
* lutFunction,
double
minIndex,
double
maxIndex,
int
lutIndex=0,
bool
continuousIndexRange =
true
);
48
50
~LUTFloatRGBA
();
51
59
float
*
getColorAt
(
double
value);
60
63
bool
isValid
();
64
65
private
:
66
68
double
_minIndex;
70
double
_maxIndex;
71
73
LUTFunction
* _lutFunction;
75
LUTData<float>
* _lutData;
77
float
* _rgbaColorLut;
78
80
double
_indexScale;
82
double
_indexShift;
83
86
bool
_isValid;
87
};
88
89
90
ML_END_NAMESPACE
91
92
93
#endif
// __mlLUTFloatRGBA_H
94
ml::LUTData
Definition
mlLUTData.h:243
ml::LUTFloatRGBA::LUTFloatRGBA
LUTFloatRGBA(LUTFunction *lutFunction, double minIndex, double maxIndex, int lutIndex=0, bool continuousIndexRange=true)
ml::LUTFloatRGBA::~LUTFloatRGBA
~LUTFloatRGBA()
Default destructor.
ml::LUTFloatRGBA::getColorAt
float * getColorAt(double value)
ml::LUTFloatRGBA::isValid
bool isValid()
ml::LUTFunction
Definition
mlLUTFunction.h:55
mlLUTBasic.h
mlLUTData.h
mlLUTFunction.h
mlLUTSystem.h
MLLUT_EXPORT
#define MLLUT_EXPORT
System specific macro definitions.
Definition
mlLUTSystem.h:25
MeVisLab
Standard
Sources
Shared
MLLUT
mlLUTFloatRGBA.h
Generated by
1.15.0