#include <qwt3dColor.h>
|
| BarColor (Qwt3D::Plot3D *data, unsigned size=100, double min=0, double max=0) |
| Initializes with data and set up a ColorVector with a size of 100 z values (default);. More...
|
|
Qwt3D::ColorVector & | createVector (Qwt3D::ColorVector &vec) |
|
Qwt3D::RGBA | operator() (double x, double y, double z) const |
| Receives z-dependend color from ColorVector. More...
|
|
void | reset (unsigned size=100) |
| Resets the standard colors;. More...
|
|
void | setAlpha (double a) |
| Sets unitary alpha value for all colors. More...
|
|
void | setColorVector (Qwt3D::ColorVector const &cv) |
|
◆ BarColor()
BarColor::BarColor |
( |
Qwt3D::Plot3D * |
data, |
|
|
unsigned |
size = 100 , |
|
|
double |
min = 0 , |
|
|
double |
max = 0 |
|
) |
| |
|
explicit |
Initializes with data and set up a ColorVector with a size of 100 z values (default);.
References data_, max, maxZ, min, minZ, and reset().
◆ createVector()
Qwt3D::ColorVector& BarColor::createVector |
( |
Qwt3D::ColorVector & |
vec | ) |
|
|
inline |
Creates a color vector used by ColorLegend. This is essentially a copy from the internal used vector.
- Returns
- The vector created
◆ operator()()
Qwt3D::RGBA BarColor::operator() |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| const |
◆ reset()
void BarColor::reset |
( |
unsigned |
size = 100 | ) |
|
◆ setAlpha()
void BarColor::setAlpha |
( |
double |
a | ) |
|
Sets unitary alpha value for all colors.
References colors_.
◆ setColorVector()
void BarColor::setColorVector |
( |
Qwt3D::ColorVector const & |
cv | ) |
|
◆ colors_
Qwt3D::ColorVector BarColor::colors_ |
|
protected |
◆ data_
Qwt3D::Plot3D* BarColor::data_ |
|
protected |
◆ maxZ
◆ minZ
The documentation for this class was generated from the following files: