#include <gl_cross_sections.h>
Public Member Functions | |
template<typename value_type > | |
void | operator() (value_type const &val, value_type const &min_val, value_type const &max_val, GLubyte &red, GLubyte &green, GLubyte &blue, GLubyte &alpha) const |
This color functor will create a red and blue ramp corresponding to the negative and positive values.
void OpenTissue::gl::GradientColorFunctor::operator() | ( | value_type const & | val, | |
value_type const & | min_val, | |||
value_type const & | max_val, | |||
GLubyte & | red, | |||
GLubyte & | green, | |||
GLubyte & | blue, | |||
GLubyte & | alpha | |||
) | const [inline] |