Color Class Reference

Abstract base class for color functors. More...

#include <qwt3d_color.h>

Inheritance diagram for Color:

StandardColor List of all members.

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::ColorVectorcreateVector (Qwt3D::ColorVector &vec)
void destroy () const

Protected Member Functions

virtual ~Color ()

Detailed Description

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

Constructor & Destructor Documentation

virtual ~Color (  )  [inline, protected, virtual]

Allow heap based objects only.

Member Function Documentation

virtual Qwt3D::RGBA operator() ( double  x,
double  y,
double  z 
) const [pure virtual]

Implement your color model here.

Implemented in StandardColor.

virtual Qwt3D::ColorVector& createVector ( Qwt3D::ColorVector vec  )  [inline, virtual]

Should create a color vector usable by ColorLegend. The default implementation returns his argument.

Reimplemented in StandardColor.

The documentation for this class was generated from the following file:
Generated on Mon Jun 25 18:47:28 2007 for QwtPlot3D API by  doxygen 1.5.1