copasi API
0.1
|
#include <CColorScale.h>
Public Member Functions | |
CColorScaleAverage () | |
void | setFactor (C_FLOAT64 f) |
virtual void | startAutomaticParameterCalculation () |
virtual void | passValue (const C_FLOAT64 &number) |
virtual void | finishAutomaticParameterCalculation () |
Protected Attributes | |
C_FLOAT64 | mFactor |
C_FLOAT64 | mFloat |
C_INT32 | mInt |
the same mapping as in the base class. However the automatic scaling is done using the average of the absolute values of the provided numbers. The average of the absolute values is multiplied by the factor to give the range.
CColorScaleAverage::CColorScaleAverage | ( | ) |
void CColorScaleAverage::finishAutomaticParameterCalculation | ( | ) | [virtual] |
this finishes the calculation of the scaling parameters.
Reimplemented from CColorScaleSimple.
void CColorScaleAverage::passValue | ( | const C_FLOAT64 & | ) | [virtual] |
with this method numbers are passed to the automatic scaling algorithm.
Reimplemented from CColorScaleSimple.
void CColorScaleAverage::setFactor | ( | C_FLOAT64 | f | ) | [inline] |
void CColorScaleAverage::startAutomaticParameterCalculation | ( | ) | [virtual] |
this method starts the calculation of the scaling parameters.
Reimplemented from CColorScaleSimple.
C_FLOAT64 CColorScaleAverage::mFactor [protected] |
C_FLOAT64 CColorScaleAverage::mFloat [protected] |
C_INT32 CColorScaleAverage::mInt [protected] |