Engauge Digitizer  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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,
46  const Transformation &transformation,
47  const Document &document);
48 };
49 
50 #endif // CALLBACK_GATHER_X_THETAS_IN_GRID_LINES_H
Model for DlgSettingsExportFormat and CmdSettingsExportFormat.
Base callback for collecting X/Theta independent variables, for functions, in preparation for exporti...
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
Definition: Point.h:25
CallbackSearchReturn
Return values for search callback methods.
Affine transformation between screen and graph coordinates, based on digitized axis points...
Model for DlgSettingsMainWindow.
const Transformation & transformation() const
Get method for transformation.
Storage of one imported image and the data attached to that image.
Definition: Document.h:41
virtual CallbackSearchReturn callback(const QString &curveName, const Point &point)
Callback method.
Callback for collecting X/Theta independent variables, for functions, in preparation for exporting...
QStringList curvesIncluded() const
Get method for included names.