Public Member Functions

OpenTissue::gl::SignColorFunctor 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 &, value_type const &, GLubyte &red, GLubyte &green, GLubyte &blue, GLubyte &alpha) const

Detailed Description

This color functor can be used to assign blue colors to positive values and red to negative values.


Member Function Documentation

template<typename value_type >
void OpenTissue::gl::SignColorFunctor::operator() ( value_type const &  val,
value_type const &  ,
value_type const &  ,
GLubyte red,
GLubyte green,
GLubyte blue,
GLubyte alpha 
) const [inline]

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