1 #include "CallbackGatherXThetaValuesFunctions.h"
2 #include "DocumentModelExportFormat.h"
3 #include "ExportAlignLinear.h"
4 #include "ExportAlignLog.h"
5 #include "ExportLayoutFunctions.h"
6 #include "ExportPointsSelectionFunctions.h"
11 const QStringList &curvesIncluded,
13 m_transformation (transformation)
15 bool firstCurveForGatherXTheta = (modelExport.
pointsSelectionFunctions() == EXPORT_POINTS_SELECTION_FUNCTIONS_INTERPOLATE_FIRST_CURVE);
18 QStringList::const_iterator itr;
19 for (itr = curvesIncluded.begin(); itr != curvesIncluded.end(); itr++) {
21 QString curveIncluded = *itr;
22 m_curveNamesIncluded [curveIncluded] =
true;
24 if (firstCurveForGatherXTheta) {
36 LOG4CPP_DEBUG_S ((*mainCat)) <<
"CallbackGatherXThetaValuesFunctions::callback"
37 <<
" curveName=" << curveName.toLatin1().data()
38 <<
" point=" << point.
identifier().toLatin1().data();
40 if (m_curveNamesIncluded.contains (curveName)) {
46 m_xThetaValues [posGraph.x ()] =
true;
54 LOG4CPP_INFO_S ((*mainCat)) <<
"CallbackGatherXThetaValuesFunctions::xThetaValuesRaw";
56 return m_xThetaValues;
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
QPointF posScreen() const
Accessor for screen position.
CallbackSearchReturn callback(const QString &curveName, const Point &point)
Callback method.
CallbackSearchReturn
Return values for search callback methods.
QString identifier() const
Unique identifier for a specific Point.
Continue normal execution of the search.
CallbackGatherXThetaValuesFunctions(const DocumentModelExportFormat &modelExport, const QStringList &curveNamesIncluded, const Transformation &transformation)
Single constructor.
ValuesVectorXOrY xThetaValuesRaw() const
Resulting x/theta values for all included functions.