7#include "CallbackGatherXThetaValuesFunctions.h"
8#include "DocumentModelExportFormat.h"
9#include "ExportAlignLinear.h"
10#include "ExportAlignLog.h"
11#include "ExportLayoutFunctions.h"
12#include "ExportPointsSelectionFunctions.h"
17 const QStringList &curvesIncluded,
19 m_transformation (transformation)
21 bool firstCurveForGatherXTheta = (modelExport.
pointsSelectionFunctions() == EXPORT_POINTS_SELECTION_FUNCTIONS_INTERPOLATE_FIRST_CURVE);
24 QStringList::const_iterator itr;
25 for (itr = curvesIncluded.begin(); itr != curvesIncluded.end(); itr++) {
27 QString curveIncluded = *itr;
28 m_curveNamesIncluded [curveIncluded] =
true;
30 if (firstCurveForGatherXTheta) {
42 LOG4CPP_DEBUG_S ((*mainCat)) <<
"CallbackGatherXThetaValuesFunctions::callback"
43 <<
" curveName=" << curveName.toLatin1().data()
44 <<
" point=" << point.
identifier().toLatin1().data();
46 if (m_curveNamesIncluded.contains (curveName)) {
52 m_xThetaValues [posGraph.x ()] =
true;
60 LOG4CPP_INFO_S ((*mainCat)) <<
"CallbackGatherXThetaValuesFunctions::xThetaValuesRaw";
62 return m_xThetaValues;
CallbackSearchReturn
Return values for search callback methods.
@ CALLBACK_SEARCH_RETURN_CONTINUE
Continue normal execution of the search.
CallbackSearchReturn callback(const QString &curveName, const Point &point)
Callback method.
CallbackGatherXThetaValuesFunctions(const DocumentModelExportFormat &modelExport, const QStringList &curveNamesIncluded, const Transformation &transformation)
Single constructor.
ValuesVectorXOrY xThetaValuesRaw() const
Resulting x/theta values for all included functions.
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
QPointF posScreen() const
Accessor for screen position.
QString identifier() const
Unique identifier for a specific Point.