#include <TransferFunction.h>
Public Member Functions | |
Colour (const float red=1.0f, const float green=1.0f, const float blue=1.0f, const float alpha=1.0f) | |
GLfloat | red () const |
GLfloat | green () const |
GLfloat | blue () const |
GLfloat | alpha () const |
void | set (const GLfloat red, const GLfloat green, const GLfloat blue) |
void | set (const GLfloat red, const GLfloat green, const GLfloat blue, const GLfloat alpha) |
void | setRed (const GLfloat red) |
void | setGreen (const GLfloat green) |
void | setBlue (const GLfloat blue) |
void | setAlpha (const GLfloat alpha) |
Protected Attributes | |
GLfloat | fRed |
GLfloat | fGreen |
GLfloat | fBlue |
GLfloat | fAlpha |
FlowVis::Colour::Colour | ( | const float | red = 1.0f , |
|
const float | green = 1.0f , |
|||
const float | blue = 1.0f , |
|||
const float | alpha = 1.0f | |||
) |
GLfloat FlowVis::Colour::red | ( | ) | const [inline] |
GLfloat FlowVis::Colour::green | ( | ) | const [inline] |
GLfloat FlowVis::Colour::blue | ( | ) | const [inline] |
GLfloat FlowVis::Colour::alpha | ( | ) | const [inline] |
void FlowVis::Colour::set | ( | const GLfloat | red, | |
const GLfloat | green, | |||
const GLfloat | blue, | |||
const GLfloat | alpha | |||
) |
void FlowVis::Colour::setRed | ( | const GLfloat | red | ) | [inline] |
void FlowVis::Colour::setGreen | ( | const GLfloat | green | ) | [inline] |
void FlowVis::Colour::setBlue | ( | const GLfloat | blue | ) | [inline] |
void FlowVis::Colour::setAlpha | ( | const GLfloat | alpha | ) | [inline] |
GLfloat FlowVis::Colour::fRed [protected] |
GLfloat FlowVis::Colour::fGreen [protected] |
GLfloat FlowVis::Colour::fBlue [protected] |
GLfloat FlowVis::Colour::fAlpha [protected] |