#include <TransferFunction.h>
Public Types | |
typedef std::map< int, Colour >::const_iterator | const_iterator |
typedef std::map< int, Colour >::iterator | iterator |
Public Member Functions | |
TransferFunction () | |
const_iterator | begin () const |
iterator | begin () |
const_iterator | end () const |
iterator | end () |
const_iterator | getControlPoint (const int key) const |
iterator | getControlPoint (const int key) |
const_iterator | getControlPointNear (const int key, const int tolerance) const |
iterator | getControlPointNear (const int key, const int tolerance) |
bool | moveControlPoint (const int from, const int to) |
void | removeControlPoint (const int key) |
void | reset () |
void | setControlPoint (const int key, const Colour &c) |
void | updateTexture () |
operator const GLfloat * () const | |
Static Protected Member Functions | |
template<class MAP, class ITERATOR> | |
static ITERATOR | _getControlPointNear (MAP &m, const int key, const int tolerance) |
Protected Attributes | |
std::map< int, Colour > | mControlPoints |
GLfloat | fvTexture [MAX<< 2] |
typedef std::map<int, Colour>::const_iterator FlowVis::TransferFunction< MAX >::const_iterator |
typedef std::map<int, Colour>::iterator FlowVis::TransferFunction< MAX >::iterator |
FlowVis::TransferFunction< MAX >::TransferFunction | ( | ) | [inline] |
static ITERATOR FlowVis::TransferFunction< MAX >::_getControlPointNear | ( | MAP & | m, | |
const int | key, | |||
const int | tolerance | |||
) | [inline, static, protected] |
const_iterator FlowVis::TransferFunction< MAX >::begin | ( | ) | const [inline] |
iterator FlowVis::TransferFunction< MAX >::begin | ( | ) | [inline] |
const_iterator FlowVis::TransferFunction< MAX >::end | ( | ) | const [inline] |
iterator FlowVis::TransferFunction< MAX >::end | ( | ) | [inline] |
const_iterator FlowVis::TransferFunction< MAX >::getControlPoint | ( | const int | key | ) | const [inline] |
iterator FlowVis::TransferFunction< MAX >::getControlPoint | ( | const int | key | ) | [inline] |
const_iterator FlowVis::TransferFunction< MAX >::getControlPointNear | ( | const int | key, | |
const int | tolerance | |||
) | const [inline] |
iterator FlowVis::TransferFunction< MAX >::getControlPointNear | ( | const int | key, | |
const int | tolerance | |||
) | [inline] |
bool FlowVis::TransferFunction< MAX >::moveControlPoint | ( | const int | from, | |
const int | to | |||
) | [inline] |
void FlowVis::TransferFunction< MAX >::removeControlPoint | ( | const int | key | ) | [inline] |
void FlowVis::TransferFunction< MAX >::reset | ( | ) | [inline] |
void FlowVis::TransferFunction< MAX >::setControlPoint | ( | const int | key, | |
const Colour & | c | |||
) | [inline] |
void FlowVis::TransferFunction< MAX >::updateTexture | ( | ) | [inline] |
FlowVis::TransferFunction< MAX >::operator const GLfloat * | ( | ) | const [inline] |
std::map<int, Colour> FlowVis::TransferFunction< MAX >::mControlPoints [protected] |
GLfloat FlowVis::TransferFunction< MAX >::fvTexture[MAX<< 2] [protected] |