Engauge Digitizer 2
Loading...
Searching...
No Matches
CallbackRemovePointsInCurvesGraphs.cpp
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
8#include "CoordSystem.h"
9
10extern const QString AXIS_CURVE_NAME;
11
13 m_coordSystem (coordSystem)
14{
15}
16
18 const Point &point)
19{
20 if (curveName == AXIS_CURVE_NAME) {
21 m_coordSystem.removePointAxis (point.identifier());
22 } else {
23 m_coordSystem.removePointGraph (point.identifier());
24 }
25
27}
const QString AXIS_CURVE_NAME
CallbackSearchReturn
Return values for search callback methods.
@ CALLBACK_SEARCH_RETURN_CONTINUE
Continue normal execution of the search.
CallbackRemovePointsInCurvesGraphs(CoordSystem &coordSystem)
Single constructor.
CallbackSearchReturn callback(const QString &curveName, const Point &point)
Callback method.
Storage of data belonging to one coordinate system.
Definition CoordSystem.h:44
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
Definition Point.h:26
QString identifier() const
Unique identifier for a specific Point.
Definition Point.cpp:268