Engauge Digitizer 2
Loading...
Searching...
No Matches
CallbackNextOrdinal.h
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
7#ifndef CALLBACK_NEXT_ORDINAL_H
8#define CALLBACK_NEXT_ORDINAL_H
9
11#include <QPointF>
12#include <QString>
13
14class Point;
15
18{
19public:
21 CallbackNextOrdinal(const QString &curveName);
22
24 CallbackSearchReturn callback (const QString &curveName,
25 const Point &point);
26
28 double nextOrdinal () const;
29
30private:
32
33 QString m_curveName;
34 double m_maxOrdinalUsed;
35};
36
37#endif // CALLBACK_NEXT_ORDINAL_H
CallbackSearchReturn
Return values for search callback methods.
double nextOrdinal() const
Computed next ordinal.
CallbackSearchReturn callback(const QString &curveName, const Point &point)
Callback method.
CallbackNextOrdinal(const QString &curveName)
Single constructor.
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
Definition Point.h:26