Engauge Digitizer
2
Ordinal
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
13
class
Document
;
14
class
Transformation
;
15
18
class
OrdinalGenerator
19
{
20
public
:
21
OrdinalGenerator
();
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
Document
Storage of one imported image and the data attached to that image.
Definition:
Document.h:40
Transformation
Affine transformation between screen and graph coordinates, based on digitized axis points.
Definition:
Transformation.h:30
OrdinalGenerator::OrdinalGenerator
OrdinalGenerator()
Definition:
OrdinalGenerator.cpp:12
OrdinalGenerator::generateAxisPointOrdinal
double generateAxisPointOrdinal(const Document &document)
Select ordinal just for uniqueness, since there is never a curve drawn through the axis points.
Definition:
OrdinalGenerator.cpp:16
OrdinalGenerator::generateCurvePointOrdinal
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.
Definition:
OrdinalGenerator.cpp:34
OrdinalGenerator
Utility class for generating ordinal numbers.
Definition:
OrdinalGenerator.h:17
Generated on Sat Jan 4 2020 12:00:00 for Engauge Digitizer by
1.8.16