Public Member Functions

OpenTissue::gl::GradientColorFunctor Class Reference

#include <gl_cross_sections.h>

List of all members.

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

Detailed Description

This color functor will create a red and blue ramp corresponding to the negative and positive values.


Member Function Documentation

template<typename value_type >
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]

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