Engauge Digitizer 2
|
Utility class to interpolate points spaced evenly along a piecewise defined curve with fitted spline. More...
#include <ExportOrdinalsSmooth.h>
Public Member Functions | |
ExportOrdinalsSmooth () | |
Single constructor. | |
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. | |
void | loadSplinePairsWithTransformation (const Points &points, const Transformation &transformation, bool isLogXTheta, bool isLogYRadius, std::vector< double > &t, std::vector< SplinePair > &xy) const |
Load t (=ordinal) and xy (=screen position) spline pairs, converting screen coordinates to graph coordinates. | |
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. |
Utility class to interpolate points spaced evenly along a piecewise defined curve with fitted spline.
Definition at line 20 of file ExportOrdinalsSmooth.h.
ExportOrdinalsSmooth::ExportOrdinalsSmooth | ( | ) |
void ExportOrdinalsSmooth::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.
Definition at line 22 of file ExportOrdinalsSmooth.cpp.
void ExportOrdinalsSmooth::loadSplinePairsWithTransformation | ( | const Points & | points, |
const Transformation & | transformation, | ||
bool | isLogXTheta, | ||
bool | isLogYRadius, | ||
std::vector< double > & | t, | ||
std::vector< SplinePair > & | xy ) const |
Load t (=ordinal) and xy (=screen position) spline pairs, converting screen coordinates to graph coordinates.
Definition at line 39 of file ExportOrdinalsSmooth.cpp.
ExportValuesOrdinal ExportOrdinalsSmooth::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.
Definition at line 64 of file ExportOrdinalsSmooth.cpp.