ml::LUTRGBAPoint Class Reference

A LUT sampling point with index position and RGBA channel values,. More...

#include <mlLUTFLinear.h>

List of all members.

Public Member Functions

 LUTRGBAPoint ()
 Default constructor.
 LUTRGBAPoint (double pos, double r, double g, double b, double a)
 Explicit value constructor.
double pos () const
 Get index position of point.
void setPos (double pos)
 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
void setR (double r)
double g () const
void setG (double g)
double b () const
void setB (double b)
double a () const
void setA (double a)
void setL (double l)
 Set R, G, B components to luminance l.
double l () const
 Return luminance (assuming that R == G == B).
void setRGBA (double r, double g, double b, double a)
void setRGB (double r, double g, double b)


Detailed Description

A LUT sampling point with index position and RGBA channel values,.

Definition at line 29 of file mlLUTFLinear.h.


Constructor & Destructor Documentation

ml::LUTRGBAPoint::LUTRGBAPoint (  ) 

Default constructor.

ml::LUTRGBAPoint::LUTRGBAPoint ( double  pos,
double  r,
double  g,
double  b,
double  a 
)

Explicit value constructor.


Member Function Documentation

double ml::LUTRGBAPoint::a (  )  const [inline]

Definition at line 49 of file mlLUTFLinear.h.

double ml::LUTRGBAPoint::b (  )  const [inline]

Definition at line 47 of file mlLUTFLinear.h.

double ml::LUTRGBAPoint::g (  )  const [inline]

Definition at line 45 of file mlLUTFLinear.h.

double ml::LUTRGBAPoint::l (  )  const [inline]

Return luminance (assuming that R == G == B).

Definition at line 58 of file mlLUTFLinear.h.

bool ml::LUTRGBAPoint::operator< ( const LUTRGBAPoint p  )  const [inline]

"Less than" comparison operator, refers to index position

Definition at line 91 of file mlLUTFLinear.h.

References pos().

bool ml::LUTRGBAPoint::operator> ( const LUTRGBAPoint p  )  const [inline]

"Greater than" comparison operator, refers to index position

Definition at line 96 of file mlLUTFLinear.h.

References pos().

const double& ml::LUTRGBAPoint::operator[] ( int  idx  )  const [inline]

Access the components, 0 = pos, 1 = r , 2 = g, 3 = b, 4 = a No check for validity of idx! (Const version).

Definition at line 86 of file mlLUTFLinear.h.

double& ml::LUTRGBAPoint::operator[] ( int  idx  )  [inline]

Access the components, 0 = pos, 1 = r , 2 = g, 3 = b, 4 = a No check for validity of idx!

Definition at line 79 of file mlLUTFLinear.h.

double ml::LUTRGBAPoint::pos (  )  const [inline]

Get index position of point.

Definition at line 38 of file mlLUTFLinear.h.

Referenced by operator<(), and operator>().

double ml::LUTRGBAPoint::r (  )  const [inline]

Definition at line 43 of file mlLUTFLinear.h.

void ml::LUTRGBAPoint::setA ( double  a  )  [inline]

Definition at line 50 of file mlLUTFLinear.h.

void ml::LUTRGBAPoint::setB ( double  b  )  [inline]

Definition at line 48 of file mlLUTFLinear.h.

void ml::LUTRGBAPoint::setG ( double  g  )  [inline]

Definition at line 46 of file mlLUTFLinear.h.

void ml::LUTRGBAPoint::setL ( double  l  )  [inline]

Set R, G, B components to luminance l.

Definition at line 53 of file mlLUTFLinear.h.

void ml::LUTRGBAPoint::setPos ( double  pos  )  [inline]

Set index position of point.

Definition at line 40 of file mlLUTFLinear.h.

void ml::LUTRGBAPoint::setR ( double  r  )  [inline]

Definition at line 44 of file mlLUTFLinear.h.

void ml::LUTRGBAPoint::setRGB ( double  r,
double  g,
double  b 
) [inline]

Definition at line 69 of file mlLUTFLinear.h.

void ml::LUTRGBAPoint::setRGBA ( double  r,
double  g,
double  b,
double  a 
) [inline]

Definition at line 62 of file mlLUTFLinear.h.


The documentation for this class was generated from the following file:

Generated on Sat Sep 3 18:39:38 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8