|
copasi API
0.1
|
#include <CColorScale.h>
Public Member Functions | |
| CColorScale1 () | |
| void | setThreshold (const C_FLOAT64 &n) |
| virtual QColor | getColor (const C_FLOAT64 &number) |
Protected Attributes | |
| C_FLOAT64 | m1 |
This returns white, if the absolute value of the number is smaller than the threshold. Otherwise if it is positive, the color is green, if negative red.
| CColorScale1::CColorScale1 | ( | ) |
| QColor CColorScale1::getColor | ( | const C_FLOAT64 & | number | ) | [virtual] |
this method maps a number to a color.
Implements CColorScale.
| void CColorScale1::setThreshold | ( | const C_FLOAT64 & | n | ) | [inline] |
C_FLOAT64 CColorScale1::m1 [protected] |
1.7.5.1