|
MeVisLab Toolbox Reference
|
A LUT sampling point with index position and RGBA channel values,. More...
#include <mlLUTFLinear.h>
Public Member Functions | |
| LUTRGBAPoint () | |
| Default constructor. | |
| LUTRGBAPoint (double posArg, double rArg, double gArg, double bArg, double aArg) | |
| Explicit value constructor. | |
| double | pos () const |
| Get index position of point. | |
| void | setPos (double posArg) |
| Set index position of point. | |
| double & | operator[] (int idx) |
| Access the components, 0 = pos, 1 = r , 2 = g, 3 = b, 4 = a No check for validity of idx! | |
| const double & | operator[] (int idx) const |
| Access the components, 0 = pos, 1 = r , 2 = g, 3 = b, 4 = a No check for validity of idx! (Const version) | |
| bool | operator< (const LUTRGBAPoint &p) const |
| "Less than" comparison operator, refers to index position | |
| bool | operator> (const LUTRGBAPoint &p) const |
| "Greater than" comparison operator, refers to index position | |
| double | r () const |
| Access the color/alpha components. | |
| void | setR (double rArg) |
| double | g () const |
| void | setG (double gArg) |
| double | b () const |
| void | setB (double bArg) |
| double | a () const |
| void | setA (double aArg) |
| void | setL (double lArg) |
| Set R, G, B components to luminance l. | |
| double | l () const |
| Return luminance (assuming that R == G == B) | |
| void | setRGBA (double rArg, double gArg, double bArg, double aArg) |
| void | setRGB (double rArg, double gArg, double bArg) |
A LUT sampling point with index position and RGBA channel values,.
Definition at line 29 of file mlLUTFLinear.h.
| ml::LUTRGBAPoint::LUTRGBAPoint | ( | ) |
Default constructor.
| ml::LUTRGBAPoint::LUTRGBAPoint | ( | double | posArg, |
| double | rArg, | ||
| double | gArg, | ||
| double | bArg, | ||
| double | aArg ) |
Explicit value constructor.
|
inline |
Definition at line 73 of file mlLUTFLinear.h.
|
inline |
Definition at line 65 of file mlLUTFLinear.h.
|
inline |
Definition at line 57 of file mlLUTFLinear.h.
|
inline |
Return luminance (assuming that R == G == B)
Definition at line 91 of file mlLUTFLinear.h.
|
inline |
"Less than" comparison operator, refers to index position
Definition at line 129 of file mlLUTFLinear.h.
References pos().
|
inline |
"Greater than" comparison operator, refers to index position
Definition at line 135 of file mlLUTFLinear.h.
References pos().
Access the components, 0 = pos, 1 = r , 2 = g, 3 = b, 4 = a No check for validity of idx!
Definition at line 115 of file mlLUTFLinear.h.
References mlrange_cast().
Access the components, 0 = pos, 1 = r , 2 = g, 3 = b, 4 = a No check for validity of idx! (Const version)
Definition at line 123 of file mlLUTFLinear.h.
References mlrange_cast().
|
inline |
Get index position of point.
Definition at line 38 of file mlLUTFLinear.h.
Referenced by operator<(), and operator>().
|
inline |
Access the color/alpha components.
Definition at line 49 of file mlLUTFLinear.h.
Definition at line 77 of file mlLUTFLinear.h.
References mlrange_cast().
Definition at line 69 of file mlLUTFLinear.h.
References mlrange_cast().
Definition at line 61 of file mlLUTFLinear.h.
References mlrange_cast().
Set R, G, B components to luminance l.
Definition at line 83 of file mlLUTFLinear.h.
References mlrange_cast().
Set index position of point.
Definition at line 43 of file mlLUTFLinear.h.
References mlrange_cast().
Definition at line 53 of file mlLUTFLinear.h.
References mlrange_cast().
Definition at line 104 of file mlLUTFLinear.h.
References mlrange_cast().
Definition at line 96 of file mlLUTFLinear.h.
References mlrange_cast().