QwtPlot3D API  0.2.7
Public Member Functions | Protected Attributes | List of all members
StandardColor Class Reference

#include <qwt3d_color.h>

Inheritance diagram for StandardColor:
Color

Public Member Functions

 StandardColor (Qwt3D::Plot3D *data, unsigned size=100)
 
Qwt3D::RGBA operator() (double x, double y, double z) const
 
void setColorVector (Qwt3D::ColorVector const &cv)
 
void reset (unsigned size=100)
 
void setAlpha (double a)
 
Qwt3D::ColorVectorcreateVector (Qwt3D::ColorVector &vec)
 
- Public Member Functions inherited from Color
virtual Qwt3D::RGBA operator() (Qwt3D::Triple const &t) const
 
void destroy () const
 

Protected Attributes

Qwt3D::ColorVector colors_
 
Qwt3D::Plot3Ddata_
 

Additional Inherited Members

- Protected Member Functions inherited from Color
virtual ~Color ()
 

Detailed Description

The class has a ColorVector representing z values, which will be used by operator()(double x, double y, double z)

Member Function Documentation

void setColorVector ( Qwt3D::ColorVector const &  cv)

Assigns a new ColorVector (Also overwrites the constructors size argument)

Qwt3D::ColorVector& createVector ( Qwt3D::ColorVector vec)
inlinevirtual

Creates color vector.

Creates a color vector used by ColorLegend. This is essentially a copy from the internal used vector.

Returns
The vector created

Reimplemented from Color.


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