#include <qwt3d_color.h>
Inheritance diagram for StandardColor:
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::ColorVector & | createVector (Qwt3D::ColorVector &vec) |
Protected Attributes | |
Qwt3D::ColorVector | colors_ |
Qwt3D::Plot3D * | data_ |
|
Initializes with data and set up a ColorVector with a size of 100 z values (default);.
|
|
Receives z-dependend color from ColorVector.
Implements Color. |
|
Assigns a new ColorVector (Also overwrites the constructors size argument) |
|
Resets the standard colors;.
|
|
Sets unitary alpha value for all colors.
|
|
Creates color vector. Creates a color vector used by ColorLegend. This is essentially a copy from the internal used vector.
Reimplemented from Color. |