Engauge Digitizer  2
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
ExportOrdinalsSmooth.h
1 #ifndef EXPORT_ORDINALS_SMOOTH_H
2 #define EXPORT_ORDINALS_SMOOTH_H
3 
4 #include "ExportValuesOrdinal.h"
5 #include "Point.h"
6 #include "Points.h"
7 #include "SplinePair.h"
8 #include <QList>
9 #include <vector>
10 
11 class Transformation;
12 
15 {
16  public:
19 
21  void loadSplinePairsWithoutTransformation (const Points &points,
22  std::vector<double> &t,
23  std::vector<SplinePair> &xy) const;
24 
26  void loadSplinePairsWithTransformation (const Points &points,
27  const Transformation &transformation,
28  std::vector<double> &t,
29  std::vector<SplinePair> &xy) const;
30 
32  ExportValuesOrdinal ordinalsAtIntervalsGraph (const std::vector<double> &t,
33  const std::vector<SplinePair> &xy,
34  double pointsInterval) const;
35 };
36 
37 #endif // EXPORT_ORDINALS_SMOOTH_H
Affine transformation between screen and graph coordinates, based on digitized axis points...
void loadSplinePairsWithTransformation(const Points &points, const Transformation &transformation, std::vector< double > &t, std::vector< SplinePair > &xy) const
Load t (=ordinal) and xy (=screen position) spline pairs, converting screen coordinates to graph coor...
void loadSplinePairsWithoutTransformation(const Points &points, std::vector< double > &t, std::vector< SplinePair > &xy) const
Load t (=ordinal) and xy (=screen position) spline pairs, without any conversion to graph coordinates...
Utility class to interpolate points spaced evenly along a piecewise defined curve with fitted spline...
ExportValuesOrdinal ordinalsAtIntervalsGraph(const std::vector< double > &t, const std::vector< SplinePair > &xy, double pointsInterval) const
Perform the interpolation on the arrays loaded by the other methods.
ExportOrdinalsSmooth()
Single constructor.