Engauge Digitizer  2
Public Member Functions | List of all members
CurvesGraphs Class Reference

Container for all graph curves. The axes point curve is external to this class. More...

#include <CurvesGraphs.h>

Public Member Functions

void addGraphCurveAtEnd (Curve curve)
 Append new graph Curve to end of Curve list.
 
void addPoint (const Point &point)
 Append new Point to the specified Curve.
 
CurvecurveForCurveName (const QString &curveName)
 Return the axis or graph curve for the specified curve name.
 
const CurvecurveForCurveName (const QString &curveName) const
 Return the axis or graph curve for the specified curve name.
 
QStringList curvesGraphsNames () const
 List of graph curve names.
 
int curvesGraphsNumPoints (const QString &curveName) const
 Point count.
 
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.
 
void iterateThroughCurvePoints (const QString &curveNameWanted, const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > &ftorWithCallback)
 Apply functor to Points in the specified axis or graph Curve.
 
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.
 
void iterateThroughCurvesPoints (const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > &ftorWithCallback)
 Apply functor to Points on all of the Curves.
 
void iterateThroughCurvesPoints (const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > &ftorWithCallback) const
 Apply functor to Points on all of the Curves.
 
void loadPreVersion6 (QDataStream &str)
 Load from serialized binary pre-version 6 file.
 
void loadXml (QXmlStreamReader &reader)
 Load from serialized xml post-version 5 file.
 
int numCurves () const
 Current number of graphs curves.
 
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 &pointIdentifier)
 Remove the Point from its Curve.
 
void saveXml (QXmlStreamWriter &writer) const
 Serialize curves.
 
void updatePointOrdinals (const Transformation &transformation)
 Update point ordinals to be consistent with their CurveStyle and x/theta coordinate.
 

Detailed Description

Container for all graph curves. The axes point curve is external to this class.

Definition at line 24 of file CurvesGraphs.h.


The documentation for this class was generated from the following files: