Engauge Digitizer  2
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
OrdinalGenerator.h
1 #ifndef ORDINAL_GENERATOR_H
2 #define ORDINAL_GENERATOR_H
3 
4 #include <QPointF>
5 #include <QString>
6 
7 class Document;
8 class Transformation;
9 
13 {
14  public:
16 
18  double generateAxisPointOrdinal (const Document &document);
19 
21  double generateCurvePointOrdinal (const Document &document,
22  const Transformation &transformation,
23  const QPointF &posScreen,
24  const QString &curveName);
25 
26 };
27 
28 #endif // ORDINAL_GENERATOR_H
Affine transformation between screen and graph coordinates, based on digitized axis points...
Storage of one imported image and the data attached to that image.
Definition: Document.h:29
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.