vrecko
virtual reality framework
|
#include <Utils.h>
Public Member Functions | |
osg::Vec4 | getColor (double val) |
void | addColor (osg::Vec4 color) |
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>)
|
inline |
osg::Vec4 APDYNAMICART::colorGradient::getColor | ( | double | val | ) |