|
open_iA 2024.9
|
Class representing a Gaussian function in an iAChartWithFunctionsWidget. More...
#include <iAChartFunctionGaussian.h>
Public Member Functions | |
| iAChartFunctionGaussian (iAChartWithFunctionsWidget *chart, QColor &color, bool reset=true) | |
| void | addColorPoint (int, double, double, double) override |
| int | addPoint (int, int) override |
| void | draw (QPainter &painter) override |
| void | draw (QPainter &painter, QColor color, int lineWidth) override |
| void | drawOnTop (QPainter &) override |
| double | getCovariance () |
| double | getMean () |
| double | getMultiplier () |
| int | getSelectedPoint () const override |
| double | getSigma () |
| bool | isDeletable (int) const override |
| bool | isEndPoint (int) const override |
| void | moveSelectedPoint (int x, int y) override |
| QString | name () const override |
| size_t | numPoints () const override |
| void | removePoint (int) override |
| void | reset () override |
| int | selectPoint (int mouseX, int mouseY) override |
| void | setMean (double mean) |
| void | setMultiplier (double multiplier) |
| void | setSigma (double sigma) |
Public Member Functions inherited from iAChartFunction | |
| iAChartFunction (iAChartWithFunctionsWidget *chart) | |
| virtual void | changeColor () |
| virtual bool | isColored () const |
| virtual void | mouseReleaseEvent (QMouseEvent *) |
| virtual void | mouseReleaseEventAfterNewPoint (QMouseEvent *) |
Additional Inherited Members | |
Static Public Member Functions inherited from iAChartFunction | |
| static int | pointRadius (bool selected) |
| size of a point in pixels | |
Public Attributes inherited from iAChartFunction | |
| iAChartWithFunctionsWidget * | m_chart |
Static Public Attributes inherited from iAChartFunction | |
| static const QColor | DefaultColor |
| static const int | LineWidthSelected = 2 |
| static const int | LineWidthUnselected = 1 |
| static const int | PointRadius = 6 |
| static const int | PointRadiusSelected = 10 |
Class representing a Gaussian function in an iAChartWithFunctionsWidget.
Draws itself, and allows modifying its mean, sigma, "multiplier" (i.e. its height). Can be used e.g. for fitting Gaussian curves to histogram peaks.
| iAChartFunctionGaussian::iAChartFunctionGaussian | ( | iAChartWithFunctionsWidget * | chart, |
| QColor & | color, | ||
| bool | reset = true ) |
|
inlineoverridevirtual |
Implements iAChartFunction.
|
inlineoverridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
inlineoverridevirtual |
Implements iAChartFunction.
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements iAChartFunction.
|
inline |
|
inlineoverridevirtual |
Implements iAChartFunction.
|
inlineoverridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
inlineoverridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
inline |
|
inline |
|
inline |