Engauge Digitizer  2
ExportOrdinalsStraight.h
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 EXPORT_ORDINALS_STRAIGHT_H
8 #define EXPORT_ORDINALS_STRAIGHT_H
9 
10 #include "ExportValuesOrdinal.h"
11 #include "Point.h"
12 #include "Points.h"
13 #include <QList>
14 #include <QPointF>
15 
16 class Transformation;
17 
20 {
21  public:
24 
26  ExportValuesOrdinal ordinalsAtIntervalsGraphWithoutTransformation (const Points &points,
27  double pointsInterval) const;
28 
30  ExportValuesOrdinal ordinalsAtIntervalsGraphWithTransformation (const Points &points,
31  const Transformation &transformation,
32  double pointsInterval) const;
33 
34 };
35 
36 #endif // EXPORT_ORDINALS_STRAIGHT_H
ExportValuesOrdinal ordinalsAtIntervalsGraphWithTransformation(const Points &points, const Transformation &transformation, double pointsInterval) const
Compute ordinals, converting screen coordinates to graph coordinates.
ExportOrdinalsStraight()
Single constructor.
Affine transformation between screen and graph coordinates, based on digitized axis points...
Utility class to interpolate points spaced evenly along a piecewise defined curve with line segments ...
ExportValuesOrdinal ordinalsAtIntervalsGraphWithoutTransformation(const Points &points, double pointsInterval) const
Compute ordinals, without any conversion to graph coordinates.