COPASI API
4.16.103
|
#include <CColorScale.h>
Public Member Functions | |
CColorScaleSimple () | |
virtual void | finishAutomaticParameterCalculation () |
virtual QColor | getColor (const C_FLOAT64 &number) |
virtual void | passValue (const C_FLOAT64 &number) |
void | setLog (bool l) |
void | setMinMax (const C_FLOAT64 &min, const C_FLOAT64 &max) |
void | setSymmetric (bool s) |
virtual void | startAutomaticParameterCalculation () |
![]() | |
CColorScale () | |
bool | isUsed () const |
void | setIsUsed (bool f) |
virtual | ~CColorScale () |
Protected Attributes | |
bool | mLog |
C_FLOAT64 | mMax |
C_FLOAT64 | mMin |
bool | mSym |
This maps a range of numbers to a range of colors. Automatic scaling looks for minimum and maximum of the provided numbers
Definition at line 100 of file CColorScale.h.
CColorScaleSimple::CColorScaleSimple | ( | ) |
Definition at line 44 of file CColorScale.cpp.
|
virtual |
this finishes the calculation of the scaling parameters.
Reimplemented from CColorScale.
Reimplemented in CColorScaleAverage.
Definition at line 103 of file CColorScale.cpp.
References C_FLOAT64, mMax, mMin, and mSym.
|
virtual |
this method maps a number to a color.
Implements CColorScale.
Reimplemented in CColorScaleAdvanced.
Definition at line 52 of file CColorScale.cpp.
References C_FLOAT64, mMax, and mMin.
with this method numbers are passed to the automatic scaling algorithm.
Reimplemented from CColorScale.
Reimplemented in CColorScaleAverage.
Definition at line 95 of file CColorScale.cpp.
|
inline |
Set minimum and maximum of number range
Definition at line 108 of file CColorScale.h.
References max, min, mMax, and mMin.
Referenced by CQMathMatrixWidget::CQMathMatrixWidget().
|
inline |
If this is true, the number range (if automatically determined) is centered around 0.0.
Definition at line 120 of file CColorScale.h.
References mSym.
Referenced by CQTSSAResultSubWidget::slotTableChanged().
|
virtual |
this method starts the calculation of the scaling parameters.
Reimplemented from CColorScale.
Reimplemented in CColorScaleAverage.
Definition at line 88 of file CColorScale.cpp.
References max, mMax, and mMin.
|
protected |
Definition at line 131 of file CColorScale.h.
Referenced by setLog().
|
protected |
Definition at line 130 of file CColorScale.h.
Referenced by finishAutomaticParameterCalculation(), CColorScaleAverage::finishAutomaticParameterCalculation(), getColor(), CColorScaleAdvanced::getColor(), passValue(), setMinMax(), and startAutomaticParameterCalculation().
|
protected |
Definition at line 129 of file CColorScale.h.
Referenced by finishAutomaticParameterCalculation(), CColorScaleAverage::finishAutomaticParameterCalculation(), getColor(), CColorScaleAdvanced::getColor(), passValue(), setMinMax(), and startAutomaticParameterCalculation().
|
protected |
Definition at line 132 of file CColorScale.h.
Referenced by finishAutomaticParameterCalculation(), and setSymmetric().