Engauge Digitizer 2
Loading...
Searching...
No Matches
OrdinalGenerator.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 ORDINAL_GENERATOR_H
8#define ORDINAL_GENERATOR_H
9
10#include <QPointF>
11#include <QString>
12
13class Document;
14class Transformation;
15
19{
20 public:
22
24 double generateAxisPointOrdinal (const Document &document);
25
27 double generateCurvePointOrdinal (const Document &document,
28 const Transformation &transformation,
29 const QPointF &posScreen,
30 const QString &curveName);
31
32};
33
34#endif // ORDINAL_GENERATOR_H
const int INNER_RADIUS_MIN
Storage of one imported image and the data attached to that image.
Definition Document.h:42
Utility class for generating ordinal numbers.
double generateAxisPointOrdinal(const Document &document)
Select ordinal just for uniqueness, since there is never a curve drawn through the axis points.
double generateCurvePointOrdinal(const Document &document, const Transformation &transformation, const QPointF &posScreen, const QString &curveName)
Select ordinal so new point curve passes smoothly through existing points.
Affine transformation between screen and graph coordinates, based on digitized axis points.