vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
APDYNAMICART::colorGradient Class Reference

#include <Utils.h>

Public Member Functions

osg::Vec4 getColor (double val)
 
void addColor (osg::Vec4 color)
 

Detailed Description

Uniform Color gradient helper class

allow definition of gradient between arbitrary number of colors computes resulting color from gradient for given value (currently only from range <0.0, 1.0>)

Member Function Documentation

void APDYNAMICART::colorGradient::addColor ( osg::Vec4  color)
inline
osg::Vec4 APDYNAMICART::colorGradient::getColor ( double  val)

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