|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
Standard color model for Plot3D - implements the data driven operator()(double x, double y, double z) More...
#include <qwt3d_color.h>
Public Member Functions | |
| StandardColor (Qwt3D::Plot3D *data, unsigned size=100) | |
| Constructs a StandardColor object. | |
| Qwt3D::RGBA | operator() (double x, double y, double z) const |
| Returns the color for a given z value. | |
| void | setColorVector (Qwt3D::ColorVector const &cv) |
| Assigns a new ColorVector. | |
| void | reset (unsigned size=100) |
| Resets the color vector to a default gradient. | |
| void | setAlpha (double a) |
| Sets the alpha value for all colors. | |
| Qwt3D::ColorVector & | createVector (Qwt3D::ColorVector &vec) |
Public Member Functions inherited from Qwt3D::Color | |
| virtual Qwt3D::RGBA | operator() (Qwt3D::Triple const &t) const |
| void | destroy () const |
Protected Attributes | |
| Qwt3D::ColorVector | colors_ |
| Qwt3D::Plot3D * | data_ |
Standard color model for Plot3D - implements the data driven operator()(double x, double y, double z)
|
explicit |
Constructs a StandardColor object.
|
inlinevirtual |
Reimplemented from Qwt3D::Color.
|
virtual |
Returns the color for a given z value.
Implements Qwt3D::Color.
| void StandardColor::reset | ( | unsigned | size = 100 | ) |
Resets the color vector to a default gradient.
| void StandardColor::setAlpha | ( | double | a | ) |
Sets the alpha value for all colors.
| void StandardColor::setColorVector | ( | Qwt3D::ColorVector const & | cv | ) |
Assigns a new ColorVector.