|
copasi API
0.1
|
#include <CColorScale.h>
Public Member Functions | |
| CColorScaleSimple () | |
| void | setMinMax (const C_FLOAT64 &min, const C_FLOAT64 &max) |
| void | setLog (bool l) |
| void | setSymmetric (bool s) |
| virtual QColor | getColor (const C_FLOAT64 &number) |
| virtual void | startAutomaticParameterCalculation () |
| virtual void | passValue (const C_FLOAT64 &number) |
| virtual void | finishAutomaticParameterCalculation () |
Protected Attributes | |
| C_FLOAT64 | mMin |
| C_FLOAT64 | mMax |
| bool | mLog |
| bool | mSym |
This maps a range of numbers to a range of colors. Automatic scaling looks for minimum and maximum of the provided numbers
| CColorScaleSimple::CColorScaleSimple | ( | ) |
| void CColorScaleSimple::finishAutomaticParameterCalculation | ( | ) | [virtual] |
this finishes the calculation of the scaling parameters.
Reimplemented from CColorScale.
Reimplemented in CColorScaleAverage.
| QColor CColorScaleSimple::getColor | ( | const C_FLOAT64 & | number | ) | [virtual] |
| void CColorScaleSimple::passValue | ( | const C_FLOAT64 & | ) | [virtual] |
with this method numbers are passed to the automatic scaling algorithm.
Reimplemented from CColorScale.
Reimplemented in CColorScaleAverage.
| void CColorScaleSimple::setLog | ( | bool | l | ) | [inline] |
Log scaling is not yet implemented
| void CColorScaleSimple::setMinMax | ( | const C_FLOAT64 & | min, |
| const C_FLOAT64 & | max | ||
| ) | [inline] |
Set minimum and maximum of number range
| void CColorScaleSimple::setSymmetric | ( | bool | s | ) | [inline] |
If this is true, the number range (if automatically determined) is centered around 0.0.
| void CColorScaleSimple::startAutomaticParameterCalculation | ( | ) | [virtual] |
this method starts the calculation of the scaling parameters.
Reimplemented from CColorScale.
Reimplemented in CColorScaleAverage.
bool CColorScaleSimple::mLog [protected] |
C_FLOAT64 CColorScaleSimple::mMax [protected] |
C_FLOAT64 CColorScaleSimple::mMin [protected] |
bool CColorScaleSimple::mSym [protected] |
1.7.5.1