Abstract base class for color functors. More...
#include <qwt3d_color.h>
Public Member Functions | |
virtual Qwt3D::RGBA | operator() (double x, double y, double z) const =0 |
virtual Qwt3D::RGBA | operator() (Qwt3D::Triple const &t) const |
virtual Qwt3D::ColorVector & | createVector (Qwt3D::ColorVector &vec) |
void | destroy () const |
Protected Member Functions | |
virtual | ~Color () |
Use your own color model by providing an implementation of operator()(double x, double y, double z). Colors destructor has been declared protected
, in order to use only heap based objects. Plot3D will handle the objects destruction. See StandardColor for an example