COPASI API
4.16.103
|
#include <CColorScale.h>
Public Member Functions | |
CColorScaleAverage () | |
virtual void | finishAutomaticParameterCalculation () |
virtual void | passValue (const C_FLOAT64 &number) |
void | setFactor (C_FLOAT64 f) |
virtual void | startAutomaticParameterCalculation () |
![]() | |
CColorScaleSimple () | |
virtual QColor | getColor (const C_FLOAT64 &number) |
void | setLog (bool l) |
void | setMinMax (const C_FLOAT64 &min, const C_FLOAT64 &max) |
void | setSymmetric (bool s) |
![]() | |
CColorScale () | |
bool | isUsed () const |
void | setIsUsed (bool f) |
virtual | ~CColorScale () |
Protected Attributes | |
C_FLOAT64 | mFactor |
C_FLOAT64 | mFloat |
C_INT32 | mInt |
![]() | |
bool | mLog |
C_FLOAT64 | mMax |
C_FLOAT64 | mMin |
bool | mSym |
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.
Definition at line 163 of file CColorScale.h.
CColorScaleAverage::CColorScaleAverage | ( | ) |
Definition at line 162 of file CColorScale.cpp.
|
virtual |
this finishes the calculation of the scaling parameters.
Reimplemented from CColorScaleSimple.
Definition at line 188 of file CColorScale.cpp.
References mFactor, mFloat, mInt, CColorScaleSimple::mMax, and CColorScaleSimple::mMin.
with this method numbers are passed to the automatic scaling algorithm.
Reimplemented from CColorScaleSimple.
Definition at line 177 of file CColorScale.cpp.
References max, mFloat, and mInt.
Definition at line 171 of file CColorScale.h.
References mFactor.
Referenced by CQSensResultWidget::init().
|
virtual |
this method starts the calculation of the scaling parameters.
Reimplemented from CColorScaleSimple.
Definition at line 170 of file CColorScale.cpp.
|
protected |
Definition at line 178 of file CColorScale.h.
Referenced by finishAutomaticParameterCalculation(), and setFactor().
|
protected |
Definition at line 179 of file CColorScale.h.
Referenced by finishAutomaticParameterCalculation(), passValue(), and startAutomaticParameterCalculation().
|
protected |
Definition at line 180 of file CColorScale.h.
Referenced by finishAutomaticParameterCalculation(), passValue(), and startAutomaticParameterCalculation().