|
Engauge Digitizer
2
|
Container for one set of digitized Points. More...
#include <Curve.h>
Public Member Functions | |
| Curve (const QString &curveName, const ColorFilterSettings &colorFilterSettings, const CurveStyle &curveStyle) | |
| Constructor from scratch. | |
| Curve (QDataStream &str) | |
| Constructor from serialized binary pre-version 6 file. | |
| Curve (QXmlStreamReader &reader) | |
| Constructor for use when loading from serialized xml. | |
| Curve (const Curve &curve) | |
| Copy constructor. Copying a Curve only helps for making a copy, since access to any Points inside must be via functor. | |
| Curve & | operator= (const Curve &curve) |
| Assignment constructor. | |
| void | addPoint (Point point) |
| Add Point to this Curve. | |
| ColorFilterSettings | colorFilterSettings () const |
| Return the color filter. | |
| QString | curveName () const |
| Name of this Curve. | |
| CurveStyle | curveStyle () const |
| Return the curve style. | |
| void | editPoint (const QPointF &posGraph, const QString &identifier) |
| Edit the graph coordinates of an axis point. This method does not apply to a graph point. | |
| void | exportToClipboard (const QHash< QString, bool > &selectedHash, const Transformation &transformation, QTextStream &strCsv, QTextStream &strHtml, CurvesGraphs &curvesGraphs) const |
| Export points in this Curve found in the specified point list. | |
| void | iterateThroughCurvePoints (const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > &ftorWithCallback) const |
| Apply functor to Points on Curve. | |
| void | iterateThroughCurveSegments (const Functor2wRet< const Point &, const Point &, CallbackSearchReturn > &ftorWithCallback) const |
| Apply functor to successive Points, as line segments, on Curve. This could be a bit slow. | |
| void | movePoint (const QString &pointIdentifier, const QPointF &deltaScreen) |
| Translate the position of a point by the specified distance vector. | |
| int | numPoints () const |
| Number of points. | |
| const Points | points () const |
| Return a shallow copy of the Points. | |
| QPointF | positionGraph (const QString &pointIdentifier) const |
| Return the position, in graph coordinates, of the specified Point. | |
| QPointF | positionScreen (const QString &pointIdentifier) const |
| Return the position, in screen coordinates, of the specified Point. | |
| void | printStream (QString indentation, QTextStream &str) const |
| Debugging method that supports print method of this class and printStream method of some other class(es) | |
| void | removePoint (const QString &identifier) |
| Perform the opposite of addPointAtEnd. | |
| void | saveXml (QXmlStreamWriter &writer) const |
| Serialize curve. | |
| void | setColorFilterSettings (const ColorFilterSettings &colorFilterSettings) |
| Set color filter. | |
| void | setCurveName (const QString &curveName) |
| Change the curve name. | |
| void | setCurveStyle (const CurveStyle &curveStyle) |
| Set curve style. | |
| void | updatePointOrdinals (const Transformation &transformation) |
| See CurveGraphs::updatePointOrdinals. More... | |
| void Curve::updatePointOrdinals | ( | const Transformation & | transformation | ) |
1.8.9.1