Engauge Digitizer  2
CallbackGatherXThetasInGridLines.h
Go to the documentation of this file.
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #ifndef CALLBACK_GATHER_X_THETAS_IN_GRID_LINES_H
8 #define CALLBACK_GATHER_X_THETAS_IN_GRID_LINES_H
9 
11 #include "CallbackSearchReturn.h"
12 #include "ExportValuesXOrY.h"
13 #include "Transformation.h"
14 #include <QHash>
15 #include <QString>
16 #include "ValuesVectorXOrY.h"
17 
18 class Document;
19 class MainWindowModel;
20 class Point;
21 
29 {
30 public:
33  const DocumentModelExportFormat &modelExport,
34  const QStringList &curvesIncluded,
36  const Document &document);
37 
39  virtual CallbackSearchReturn callback (const QString &curveName,
40  const Point &point);
41 
42 private:
44 
45  void addGridLines (const MainWindowModel &modelMainWindow,
47  const Document &document);
48 };
49 
50 #endif // CALLBACK_GATHER_X_THETAS_IN_GRID_LINES_H
ExportValuesXOrY.h
CallbackGatherXThetasAbstractBase::transformation
const Transformation & transformation() const
Get method for transformation.
Definition: CallbackGatherXThetasAbstractBase.cpp:70
CallbackSearchReturn
CallbackSearchReturn
Return values for search callback methods.
Definition: CallbackSearchReturn.h:17
CallbackGatherXThetasAbstractBase
Base callback for collecting X/Theta independent variables, for functions, in preparation for exporti...
Definition: CallbackGatherXThetasAbstractBase.h:19
ValuesVectorXOrY.h
Document
Storage of one imported image and the data attached to that image.
Definition: Document.h:40
Transformation
Affine transformation between screen and graph coordinates, based on digitized axis points.
Definition: Transformation.h:30
CallbackGatherXThetasInGridLines
Callback for collecting X/Theta independent variables, for functions, in preparation for exporting,...
Definition: CallbackGatherXThetasInGridLines.h:27
MainWindowModel
Model for DlgSettingsMainWindow.
Definition: MainWindowModel.h:29
Transformation.h
CallbackSearchReturn.h
DocumentModelExportFormat
Model for DlgSettingsExportFormat and CmdSettingsExportFormat.
Definition: DocumentModelExportFormat.h:22
CallbackGatherXThetasAbstractBase::curvesIncluded
QStringList curvesIncluded() const
Get method for included names.
Definition: CallbackGatherXThetasAbstractBase.cpp:60
CallbackGatherXThetasInGridLines::callback
virtual CallbackSearchReturn callback(const QString &curveName, const Point &point)
Callback method.
Definition: CallbackGatherXThetasInGridLines.cpp:73
CallbackGatherXThetasAbstractBase.h
Point
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
Definition: Point.h:24