7 #include "CoordSystemContext.h"
8 #include "EngaugeAssert.h"
11 const CoordSystemIndex DEFAULT_COORD_SYSTEM_INDEX = 0;
14 m_coordSystemIndex (DEFAULT_COORD_SYSTEM_INDEX)
16 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::CoordSystemContext";
19 CoordSystemContext::~CoordSystemContext()
21 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::~CoordSystemContext";
23 for (
int i = 0; i < m_coordSystems.count(); i++) {
28 m_coordSystems.clear ();
29 m_coordSystemIndex = 0;
33 unsigned int numberCoordSystemToAdd)
35 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::addCoordSystems"
36 <<
" numberToAdd=" << numberCoordSystemToAdd;
39 for (
unsigned int i = 0; i < numberCoordSystemToAdd; i++) {
40 m_coordSystems.push_back (
new CoordSystem (documentAxesPointsRequired));
46 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::addGraphCurveAtEnd";
48 m_coordSystems [m_coordSystemIndex]->addGraphCurveAtEnd(curveName);
52 const QPointF &posGraph,
57 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::addPointAxisWithGeneratedIdentifier";
59 m_coordSystems [m_coordSystemIndex]->addPointAxisWithGeneratedIdentifier(posScreen,
67 const QPointF &posGraph,
68 const QString &identifier,
72 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::addPointAxisWithSpecifiedIdentifier";
74 m_coordSystems [m_coordSystemIndex]->addPointAxisWithSpecifiedIdentifier(posScreen,
82 const QPointF &posScreen,
83 QString &generatedIdentifier,
86 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::addPointGraphWithGeneratedIdentifier";
88 m_coordSystems [m_coordSystemIndex]->addPointGraphWithGeneratedIdentifier(curveName,
95 const QPointF &posScreen,
96 const QString &identifier,
99 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::addPointGraphWithSpecifiedIdentifier";
101 m_coordSystems [m_coordSystemIndex]->addPointGraphWithSpecifiedIdentifier(curveName,
109 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::addPointsInCurvesGraphs";
111 m_coordSystems [m_coordSystemIndex]->addPointsInCurvesGraphs(curvesGraphs);
115 const QPointF &posGraph,
117 QString &errorMessage,
120 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::checkAddPointAxis";
122 m_coordSystems [m_coordSystemIndex]->checkAddPointAxis(posScreen,
130 const QPointF &posScreen,
131 const QPointF &posGraph,
133 QString &errorMessage)
135 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::checkEditPointAxis";
137 m_coordSystems [m_coordSystemIndex]->checkEditPointAxis(pointIdentifier,
146 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::coordSystem";
148 return *(m_coordSystems [m_coordSystemIndex]);
153 return m_coordSystems.count();
158 return m_coordSystemIndex;
163 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::curveAxes";
165 return m_coordSystems [m_coordSystemIndex]->curveAxes();
170 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::curveForCurveName";
172 return m_coordSystems [m_coordSystemIndex]->curveForCurveName(curveName);
177 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::curveForCurveName";
179 return m_coordSystems [m_coordSystemIndex]->curveForCurveName(curveName);
184 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::curvesGraphs";
186 return m_coordSystems [m_coordSystemIndex]->curvesGraphs();
191 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::curvesGraphsNames";
193 return m_coordSystems [m_coordSystemIndex]->curvesGraphsNames();
198 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::curvesGraphsNumPoints";
200 return m_coordSystems [m_coordSystemIndex]->curvesGraphsNumPoints(curveName);
204 const QString &identifier)
206 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::editPointAxis";
208 m_coordSystems [m_coordSystemIndex]->editPointAxis(posGraph,
216 const QStringList &identifiers,
219 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::editPointGraph";
221 m_coordSystems [m_coordSystemIndex]->editPointGraph (isX,
231 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::isXOnly";
233 return m_coordSystems [m_coordSystemIndex]->isXOnly (pointIdentifier);
238 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::iterateThroughCurvePointsAxes";
240 m_coordSystems [m_coordSystemIndex]->iterateThroughCurvePointsAxes(ftorWithCallback);
245 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::iterateThroughCurvePointsAxes";
247 m_coordSystems [m_coordSystemIndex]->iterateThroughCurvePointsAxes(ftorWithCallback);
251 const Functor2wRet<const Point &, const Point &, CallbackSearchReturn> &ftorWithCallback)
const
253 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::iterateThroughCurveSegments";
255 m_coordSystems [m_coordSystemIndex]->iterateThroughCurveSegments(curveName,
261 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::iterateThroughCurvesPointsGraphs";
263 m_coordSystems [m_coordSystemIndex]->iterateThroughCurvesPointsGraphs(ftorWithCallback);
268 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::iterateThroughCurvesPointsGraphs";
270 m_coordSystems [m_coordSystemIndex]->iterateThroughCurvesPointsGraphs(ftorWithCallback);
275 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::loadCurvesFile";
277 return m_coordSystems [m_coordSystemIndex]->loadCurvesFile (curvesFile);
283 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::loadPreVersion6";
285 m_coordSystems [m_coordSystemIndex]->loadPreVersion6 (str,
291 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::loadVersion6";
293 m_coordSystems [m_coordSystemIndex]->loadVersion6 (reader);
297 DocumentAxesPointsRequired documentAxesPointsRequired)
299 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::loadVersion7AndUp";
301 int indexLast = m_coordSystems.count() - 1;
302 m_coordSystems [indexLast]->loadVersions7AndUp (reader,
303 documentAxesPointsRequired);
308 LOG4CPP_DEBUG_S ((*mainCat)) <<
"CoordSystemContext::modelAxesChecker";
310 return m_coordSystems [m_coordSystemIndex]->modelAxesChecker();
315 LOG4CPP_DEBUG_S ((*mainCat)) <<
"CoordSystemContext::modelColorFilter";
317 return m_coordSystems [m_coordSystemIndex]->modelColorFilter();
322 LOG4CPP_DEBUG_S ((*mainCat)) <<
"CoordSystemContext::modelCoords";
324 return m_coordSystems [m_coordSystemIndex]->modelCoords();
329 LOG4CPP_DEBUG_S ((*mainCat)) <<
"CoordSystemContext::modelCurveStyles";
331 return m_coordSystems [m_coordSystemIndex]->modelCurveStyles();
336 LOG4CPP_DEBUG_S ((*mainCat)) <<
"CoordSystemContext::modelDigitizeCurve";
338 return m_coordSystems [m_coordSystemIndex]->modelDigitizeCurve();
343 LOG4CPP_DEBUG_S ((*mainCat)) <<
"CoordSystemContext::modelExport";
345 return m_coordSystems [m_coordSystemIndex]->modelExport();
350 LOG4CPP_DEBUG_S ((*mainCat)) <<
"CoordSystemContext::modelGeneral";
352 return m_coordSystems [m_coordSystemIndex]->modelGeneral();
357 LOG4CPP_DEBUG_S ((*mainCat)) <<
"CoordSystemContext::modelGridDisplay";
359 return m_coordSystems [m_coordSystemIndex]->modelGridDisplay();
364 LOG4CPP_DEBUG_S ((*mainCat)) <<
"CoordSystemContext::modelGridRemoval";
366 return m_coordSystems [m_coordSystemIndex]->modelGridRemoval();
371 LOG4CPP_DEBUG_S ((*mainCat)) <<
"CoordSystemContext::modelPointMatch";
373 return m_coordSystems [m_coordSystemIndex]->modelPointMatch();
378 LOG4CPP_DEBUG_S ((*mainCat)) <<
"CoordSystemContext::modelSegments";
380 return m_coordSystems [m_coordSystemIndex]->modelSegments();
384 const QPointF &deltaScreen)
386 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::movePoint";
388 return m_coordSystems [m_coordSystemIndex]->movePoint(pointIdentifier,
394 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::nextOrdinalForCurve";
396 return m_coordSystems [m_coordSystemIndex]->nextOrdinalForCurve(curveName);
401 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::positionGraph";
403 return m_coordSystems [m_coordSystemIndex]->positionGraph(pointIdentifier);
408 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::addGraphCurveAtEnd";
410 return m_coordSystems [m_coordSystemIndex]->positionScreen(pointIdentifier);
415 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::print";
417 return m_coordSystems [m_coordSystemIndex]->print();
421 QTextStream &str)
const
423 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::printStream";
425 m_coordSystems [m_coordSystemIndex]->printStream(indentation,
431 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::reasonForUnsuccessfulRead";
433 return m_coordSystems [m_coordSystemIndex]->reasonForUnsuccessfulRead();
438 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::removePointAxis";
440 m_coordSystems [m_coordSystemIndex]->removePointAxis(identifier);
445 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::removePointGraph";
447 m_coordSystems [m_coordSystemIndex]->removePointGraph(identifier);
452 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::removePointsInCurvesGraphs";
454 m_coordSystems [m_coordSystemIndex]->removePointsInCurvesGraphs(curvesGraphs);
459 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::saveXml";
461 for (
int index = 0; index < m_coordSystems.count(); index++) {
462 m_coordSystems [index]->saveXml (writer);
468 return m_coordSystems [m_coordSystemIndex]->selectedCurveName();
473 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setCoordSystemIndex"
476 ENGAUGE_ASSERT(coordSystemIndex < (
unsigned int) m_coordSystems.count());
483 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setCurveAxes";
485 m_coordSystems [m_coordSystemIndex]->setCurveAxes(curveAxes);
490 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setCurvesGraphs";
492 m_coordSystems [m_coordSystemIndex]->setCurvesGraphs(curvesGraphs);
497 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setModelAxesChecker";
499 m_coordSystems [m_coordSystemIndex]->setModelAxesChecker(modelAxesChecker);
504 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setModelColorFilter";
506 m_coordSystems [m_coordSystemIndex]->setModelColorFilter(modelColorFilter);
511 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setModelCoords";
513 m_coordSystems [m_coordSystemIndex]->setModelCoords(modelCoords);
518 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setModelCurveStyles";
520 m_coordSystems [m_coordSystemIndex]->setModelCurveStyles(modelCurveStyles);
525 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setModelDigitizeCurve";
527 m_coordSystems [m_coordSystemIndex]->setModelDigitizeCurve(modelDigitizeCurve);
532 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setModelExport";
534 m_coordSystems [m_coordSystemIndex]->setModelExport (modelExport);
539 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setModelGeneral";
541 m_coordSystems [m_coordSystemIndex]->setModelGeneral(modelGeneral);
546 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setModelGridDisplay";
548 m_coordSystems [m_coordSystemIndex]->setModelGridDisplay(modelGridDisplay);
553 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setModelGridRemoval";
555 m_coordSystems [m_coordSystemIndex]->setModelGridRemoval(modelGridRemoval);
560 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setModelPointMatch";
562 m_coordSystems [m_coordSystemIndex]->setModelPointMatch(modelPointMatch);
567 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::setModelSegments";
569 m_coordSystems [m_coordSystemIndex]->setModelSegments(modelSegments);
574 m_coordSystems [m_coordSystemIndex]->setSelectedCurveName(selectedCurveName);
579 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::successfulRead";
581 return m_coordSystems [m_coordSystemIndex]->successfulRead();
586 LOG4CPP_INFO_S ((*mainCat)) <<
"CoordSystemContext::updatePointOrdinals";
588 m_coordSystems [m_coordSystemIndex]->updatePointOrdinals(transformation);
virtual QString selectedCurveName() const
Currently selected curve name. This is used to set the selected curve combobox in MainWindow...
void addCoordSystems(DocumentAxesPointsRequired documentAxesPointsRequired, unsigned int numberCoordSystemToAdd)
Add specified number of coordinate systems to the original one created by the constructor.
virtual DocumentModelGeneral modelGeneral() const
Get method for DocumentModelGeneral.
Model for DlgSettingsGeneral and CmdSettingsGeneral.
virtual void saveXml(QXmlStreamWriter &writer) const
Save graph to xml.
Model for DlgSettingsPointMatch and CmdSettingsPointMatch.
Model for DlgSettingsGridDisplay and CmdSettingsGridDisplay.
virtual bool successfulRead() const
Return true if startup loading succeeded. If the loading failed then reasonForUnsuccessfulRed will ex...
virtual void addPointGraphWithGeneratedIdentifier(const QString &curveName, const QPointF &posScreen, QString &generatedIentifier, double ordinal)
Add a single graph point with a generated point identifier.
Model for DlgSettingsCurveProperties and CmdSettingsCurveProperties.
virtual void editPointAxis(const QPointF &posGraph, const QString &identifier)
Edit the graph coordinates of a single axis point. Call this after checkAddPointAxis to guarantee suc...
virtual DocumentModelGridRemoval modelGridRemoval() const
Get method for DocumentModelGridRemoval.
virtual void checkEditPointAxis(const QString &pointIdentifier, const QPointF &posScreen, const QPointF &posGraph, bool &isError, QString &errorMessage)
Check before calling editPointAxis.
virtual void addPointGraphWithSpecifiedIdentifier(const QString &curveName, const QPointF &posScreen, const QString &identifier, double ordinal)
Add a single graph point with the specified point identifer. Note that PointStyle is not applied to t...
Storage of data belonging to one coordinate system.
const CoordSystem & coordSystem() const
Current CoordSystem.
virtual DocumentModelExportFormat modelExport() const
Get method for DocumentModelExportFormat.
virtual Curve * curveForCurveName(const QString &curveName)
See CurvesGraphs::curveForCurveName, although this also works for AXIS_CURVE_NAME.
unsigned int coordSystemCount() const
Number of CoordSystem.
virtual void checkAddPointAxis(const QPointF &posScreen, const QPointF &posGraph, bool &isError, QString &errorMessage, bool isXOnly)
Check before calling addPointAxis. Also returns the next available ordinal number (to prevent clashes...
CoordSystemIndex coordSystemIndex() const
Index of current CoordSystem.
virtual void removePointsInCurvesGraphs(CurvesGraphs &curvesGraphs)
Remove all points identified in the specified CurvesGraphs. See also addPointsInCurvesGraphs.
virtual void setModelCoords(const DocumentModelCoords &modelCoords)
Set method for DocumentModelCoords.
virtual const Curve & curveAxes() const
Get method for axis curve.
virtual void setModelColorFilter(const DocumentModelColorFilter &modelColorFilter)
Set method for DocumentModelColorFilter.
virtual void setSelectedCurveName(const QString &selectedCurveName)
Save curve name that is selected for the current coordinate system, for the next time the coordinate ...
virtual void setModelGridDisplay(const DocumentModelGridDisplay &modelGridDisplay)
Set method for DocumentModelGridDisplay.
virtual void addPointAxisWithGeneratedIdentifier(const QPointF &posScreen, const QPointF &posGraph, QString &identifier, double ordinal, bool isXOnly)
Add a single axis point with a generated point identifier.
virtual void setCurvesGraphs(const CurvesGraphs &curvesGraphs)
Let CmdAbstract classes overwrite CurvesGraphs. Applies to current coordinate system.
virtual CurveStyles modelCurveStyles() const
Get method for CurveStyles.
virtual void setModelCurveStyles(const CurveStyles &modelCurveStyles)
Set method for CurveStyles.
void loadVersions7AndUp(QXmlStreamReader &reader, DocumentAxesPointsRequired documentAxesPointsRequired)
Load one CoordSystem from file in version 7 format or newer, into the most recent CoordSystem which w...
void loadVersion6(QXmlStreamReader &reader)
Load from file in version 6 format, into the single CoordSystem.
virtual DocumentModelColorFilter modelColorFilter() const
Get method for DocumentModelColorFilter.
virtual void setCurveAxes(const Curve &curveAxes)
Let CmdAbstract classes overwrite axes Curve. Applies to current coordinate system.
virtual void iterateThroughCurveSegments(const QString &curveName, const Functor2wRet< const Point &, const Point &, CallbackSearchReturn > &ftorWithCallback) const
See Curve::iterateThroughCurveSegments, for any axes or graph curve.
virtual void setModelGridRemoval(const DocumentModelGridRemoval &modelGridRemoval)
Set method for DocumentModelGridRemoval.
Model for DlgSettingsDigitizeCurve and CmdSettingsDigitizeCurve.
virtual void setModelAxesChecker(const DocumentModelAxesChecker &modelAxesChecker)
Set method for DocumentModelAxesChecker.
void loadPreVersion6(QDataStream &str, double version)
Load from file in pre-version 6 format.
bool isXOnly(const QString &pointIdentifier) const
True/false if y/x value is empty.
Container for all graph curves. The axes point curve is external to this class.
Model for DlgSettingsColorFilter and CmdSettingsColorFilter.
virtual void setModelExport(const DocumentModelExportFormat &modelExport)
Set method for DocumentModelExportFormat.
void setModelPointMatch(const DocumentModelPointMatch &modelPointMatch)
Set method for DocumentModelPointMatch.
virtual void addPointsInCurvesGraphs(CurvesGraphs &curvesGraphs)
Add all points identified in the specified CurvesGraphs. See also removePointsInCurvesGraphs.
virtual QString reasonForUnsuccessfulRead() const
Return an informative text message explaining why startup loading failed. Applies if successfulRead r...
virtual QStringList curvesGraphsNames() const
See CurvesGraphs::curvesGraphsNames.
virtual void addGraphCurveAtEnd(const QString &curveName)
Add new graph curve to the list of existing graph curves.
virtual void setModelDigitizeCurve(const DocumentModelDigitizeCurve &modelDigitizeCurve)
Set method for DocumentModelDigitizeCurve.
virtual void removePointGraph(const QString &identifier)
Perform the opposite of addPointGraph.
virtual void setModelSegments(const DocumentModelSegments &modelSegments)
Set method for DocumentModelSegments.
Model for DlgSettingsCoords and CmdSettingsCoords.
virtual void removePointAxis(const QString &identifier)
Perform the opposite of addPointAxis.
virtual void print() const
Debugging method for printing directly from symbolic debugger.
virtual DocumentModelAxesChecker modelAxesChecker() const
Get method for DocumentModelAxesChecker.
Container for one set of digitized Points.
virtual int nextOrdinalForCurve(const QString &curveName) const
Default next ordinal value for specified curve.
virtual QPointF positionGraph(const QString &pointIdentifier) const
See Curve::positionGraph.
Model for DlgSettingsAxesChecker and CmdSettingsAxesChecker.
virtual void setModelGeneral(const DocumentModelGeneral &modelGeneral)
Set method for DocumentModelGeneral.
virtual void addPointAxisWithSpecifiedIdentifier(const QPointF &posScreen, const QPointF &posGraph, const QString &identifier, double ordinal, bool isXOnly)
Add a single axis point with the specified point identifier.
virtual void editPointGraph(bool isX, bool isY, double x, double y, const QStringList &identifiers, const Transformation &transformation)
Edit the graph coordinates of one or more graph points.
virtual QPointF positionScreen(const QString &pointIdentifier) const
See Curve::positionScreen.
virtual void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
virtual void iterateThroughCurvePointsAxes(const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > &ftorWithCallback)
See Curve::iterateThroughCurvePoints, for the axes curve.
virtual int curvesGraphsNumPoints(const QString &curveName) const
See CurvesGraphs::curvesGraphsNumPoints.
Model for DlgSettingsSegments and CmdSettingsSegments.
virtual const CurvesGraphs & curvesGraphs() const
Make all Curves available, read only, for CmdAbstract classes only.
virtual void updatePointOrdinals(const Transformation &transformation)
Update point ordinals after point addition/removal or dragging.
virtual DocumentModelPointMatch modelPointMatch() const
Get method for DocumentModelPointMatch.
virtual DocumentModelSegments modelSegments() const
Get method for DocumentModelSegments.
CoordSystemContext()
Default constructor for constructing from opened file.
virtual void movePoint(const QString &pointIdentifier, const QPointF &deltaScreen)
See Curve::movePoint.
virtual DocumentModelGridDisplay modelGridDisplay() const
Get method for DocumentModelGridDisplay.
virtual DocumentModelCoords modelCoords() const
Get method for DocumentModelCoords.
Model for DlgSettingsGridRemoval and CmdSettingsGridRemoval. The settings are unstable until the user...
void setCoordSystemIndex(CoordSystemIndex coordSystemIndex)
Index of current CoordSystem.
virtual bool loadCurvesFile(const QString &curvesFile)
Load the curve names in the specified Engauge file into the current graph. This is called near the en...
virtual void iterateThroughCurvesPointsGraphs(const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > &ftorWithCallback)
See Curve::iterateThroughCurvePoints, for all the graphs curves.
virtual DocumentModelDigitizeCurve modelDigitizeCurve() const
Get method for DocumentModelDigitizeCurve.