|
Engauge Digitizer
2
|
Container for all graph curves. The axes point curve is external to this class. More...
#include <CurvesGraphs.h>

Public Member Functions | |
| CurvesGraphs () | |
| void | addGraphCurveAtEnd (const Curve &curve) |
| Append new graph Curve to end of Curve list. More... | |
| void | addPoint (const Point &point) |
| Append new Point to the specified Curve. More... | |
| Curve * | curveForCurveName (const QString &curveName) |
| Return the axis or graph curve for the specified curve name. More... | |
| const Curve * | curveForCurveName (const QString &curveName) const |
| Return the axis or graph curve for the specified curve name. More... | |
| QStringList | curvesGraphsNames () const |
| List of graph curve names. More... | |
| int | curvesGraphsNumPoints (const QString &curveName) const |
| Point count. More... | |
| void | editPointGraph (bool isX, bool isY, double x, double y, const QStringList &identifiers, const Transformation &transformation) |
| Set the x and/or y coordinate values of the specified points. More... | |
| void | iterateThroughCurvePoints (const QString &curveNameWanted, const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > &ftorWithCallback) |
| Apply functor to Points in the specified axis or graph Curve. More... | |
| void | iterateThroughCurveSegments (const QString &curveNameWanted, const Functor2wRet< const Point &, const Point &, CallbackSearchReturn > &ftorWithCallback) const |
| Apply functor to segments on the specified axis or graph Curve. More... | |
| void | iterateThroughCurvesPoints (const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > &ftorWithCallback) |
| Apply functor to Points on all of the Curves. More... | |
| void | iterateThroughCurvesPoints (const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > &ftorWithCallback) const |
| Apply functor to Points on all of the Curves. More... | |
| void | loadPreVersion6 (QDataStream &str) |
| Load from serialized binary pre-version 6 file. More... | |
| void | loadXml (QXmlStreamReader &reader) |
| Load from serialized xml post-version 5 file. More... | |
| int | numCurves () const |
| Current number of graphs curves. More... | |
| void | printStream (QString indentation, QTextStream &str) const |
| Debugging method that supports print method of this class and printStream method of some other class(es) More... | |
| void | removePoint (const QString &pointIdentifier) |
| Remove the Point from its Curve. More... | |
| void | saveXml (QXmlStreamWriter &writer) const |
| Serialize curves. More... | |
| void | updatePointOrdinals (const Transformation &transformation) |
| Update point ordinals to be consistent with their CurveStyle and x/theta coordinate. More... | |
Container for all graph curves. The axes point curve is external to this class.
Definition at line 24 of file CurvesGraphs.h.
| CurvesGraphs::CurvesGraphs | ( | ) |
Definition at line 20 of file CurvesGraphs.cpp.
| void CurvesGraphs::addGraphCurveAtEnd | ( | const Curve & | curve | ) |
Append new graph Curve to end of Curve list.
Definition at line 24 of file CurvesGraphs.cpp.
| void CurvesGraphs::addPoint | ( | const Point & | point | ) |
Append new Point to the specified Curve.
Definition at line 29 of file CurvesGraphs.cpp.
| Curve * CurvesGraphs::curveForCurveName | ( | const QString & | curveName | ) |
Return the axis or graph curve for the specified curve name.
Definition at line 37 of file CurvesGraphs.cpp.
| const Curve * CurvesGraphs::curveForCurveName | ( | const QString & | curveName | ) | const |
Return the axis or graph curve for the specified curve name.
Definition at line 52 of file CurvesGraphs.cpp.
| QStringList CurvesGraphs::curvesGraphsNames | ( | ) | const |
| int CurvesGraphs::curvesGraphsNumPoints | ( | const QString & | curveName | ) | const |
| void CurvesGraphs::editPointGraph | ( | bool | isX, |
| bool | isY, | ||
| double | x, | ||
| double | y, | ||
| const QStringList & | identifiers, | ||
| const Transformation & | transformation | ||
| ) |
Set the x and/or y coordinate values of the specified points.
Definition at line 96 of file CurvesGraphs.cpp.
| void CurvesGraphs::iterateThroughCurvePoints | ( | const QString & | curveNameWanted, |
| const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > & | ftorWithCallback | ||
| ) |
Apply functor to Points in the specified axis or graph Curve.
Definition at line 116 of file CurvesGraphs.cpp.
| void CurvesGraphs::iterateThroughCurveSegments | ( | const QString & | curveNameWanted, |
| const Functor2wRet< const Point &, const Point &, CallbackSearchReturn > & | ftorWithCallback | ||
| ) | const |
Apply functor to segments on the specified axis or graph Curve.
Definition at line 134 of file CurvesGraphs.cpp.
| void CurvesGraphs::iterateThroughCurvesPoints | ( | const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > & | ftorWithCallback | ) |
Apply functor to Points on all of the Curves.
Definition at line 152 of file CurvesGraphs.cpp.
| void CurvesGraphs::iterateThroughCurvesPoints | ( | const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > & | ftorWithCallback | ) | const |
Apply functor to Points on all of the Curves.
Definition at line 162 of file CurvesGraphs.cpp.
| void CurvesGraphs::loadPreVersion6 | ( | QDataStream & | str | ) |
| void CurvesGraphs::loadXml | ( | QXmlStreamReader & | reader | ) |
Load from serialized xml post-version 5 file.
Definition at line 197 of file CurvesGraphs.cpp.
| int CurvesGraphs::numCurves | ( | ) | const |
Current number of graphs curves.
Definition at line 241 of file CurvesGraphs.cpp.
| void CurvesGraphs::printStream | ( | QString | indentation, |
| QTextStream & | str | ||
| ) | const |
Debugging method that supports print method of this class and printStream method of some other class(es)
Definition at line 246 of file CurvesGraphs.cpp.
| void CurvesGraphs::removePoint | ( | const QString & | pointIdentifier | ) |
Remove the Point from its Curve.
Definition at line 262 of file CurvesGraphs.cpp.
| void CurvesGraphs::saveXml | ( | QXmlStreamWriter & | writer | ) | const |
Serialize curves.
Definition at line 270 of file CurvesGraphs.cpp.
| void CurvesGraphs::updatePointOrdinals | ( | const Transformation & | transformation | ) |
Update point ordinals to be consistent with their CurveStyle and x/theta coordinate.
Definition at line 286 of file CurvesGraphs.cpp.
1.8.14