COPASI API
4.16.103
|
#include <qwt3dColor.h>
Public Member Functions | |
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) |
Public Attributes | |
double | maxZ |
double | minZ |
Protected Attributes | |
Qwt3D::ColorVector | colors_ |
Qwt3D::Plot3D * | data_ |
Definition at line 18 of file qwt3dColor.h.
|
explicit |
Initializes with data and set up a ColorVector with a size of 100 z values (default);.
Definition at line 16 of file qwt3dColor.cpp.
References data_, max, maxZ, min, minZ, and reset().
|
inline |
Creates a color vector used by ColorLegend. This is essentially a copy from the internal used vector.
Definition at line 33 of file qwt3dColor.h.
Qwt3D::RGBA BarColor::operator() | ( | double | x, |
double | y, | ||
double | z | ||
) | const |
void BarColor::reset | ( | unsigned | size = 100 | ) |
Resets the standard colors;.
Definition at line 26 of file qwt3dColor.cpp.
References colors_.
Referenced by BarColor().
void BarColor::setAlpha | ( | double | a | ) |
Sets unitary alpha value for all colors.
Definition at line 52 of file qwt3dColor.cpp.
References colors_.
void BarColor::setColorVector | ( | Qwt3D::ColorVector const & | cv | ) |
Assigns a new ColorVector (Also overwrites the constructors size argument)
Definition at line 47 of file qwt3dColor.cpp.
References colors_.
Referenced by CQBarChart::setColors().
|
protected |
Definition at line 38 of file qwt3dColor.h.
Referenced by operator()(), reset(), setAlpha(), and setColorVector().
|
protected |
Definition at line 39 of file qwt3dColor.h.
Referenced by BarColor(), and operator()().
double BarColor::maxZ |
Definition at line 35 of file qwt3dColor.h.
Referenced by BarColor(), and operator()().
double BarColor::minZ |
Definition at line 36 of file qwt3dColor.h.
Referenced by BarColor(), and operator()().