7 #include "CallbackPointOrdinal.h" 9 #include "OrdinalGenerator.h" 10 #include "Transformation.h" 12 OrdinalGenerator::OrdinalGenerator ()
19 QPointF posScreen (0, 0);
26 Functor2wRet<const Point&, const Point&, CallbackSearchReturn> ftorWithCallback = functor_ret (ftor,
31 return ftor.ordinal () + 1.0;
36 const QPointF &posScreen,
37 const QString &curveName)
43 Functor2wRet<const Point&, const Point&, CallbackSearchReturn> ftorWithCallback = functor_ret (ftor,
48 return ftor.ordinal () + 1.0;
CallbackSearchReturn callback(const Point &pointStart, const Point &pointStop)
Callback method.
Callback for computing the ordinal for a specified point, as a function of the LineStyle and curve ge...
const LineStyle lineStyle(const QString &curveName) const
Get method for copying one line style in one step.
Storage of one imported image and the data attached to that image.
double generateAxisPointOrdinal(const Document &document)
Select ordinal just for uniqueness, since there is never a curve drawn through the axis points...
void iterateThroughCurveSegments(const QString &curveName, const Functor2wRet< const Point &, const Point &, CallbackSearchReturn > &ftorWithCallback) const
See Curve::iterateThroughCurveSegments, for any axes or graph curve.
CurveStyles modelCurveStyles() const
Get method for CurveStyles.
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.