Engauge Digitizer  2
CallbackDocumentHash.h
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_BOUNDING_RECTS_H
8 #define CALLBACK_BOUNDING_RECTS_H
9 
10 #include "CallbackSearchReturn.h"
11 #include "DocumentAxesPointsRequired.h"
12 #include "DocumentHash.h"
13 #include <QCryptographicHash>
14 #include <QString>
15 
16 class Point;
17 
20 {
21 public:
23  CallbackDocumentHash(DocumentAxesPointsRequired documentAxesPointsRequired);
24 
26  CallbackSearchReturn callback (const QString &curveName,
27  const Point &point);
28 
30  DocumentHash hash() const;
31 
32 private:
34 
35  const DocumentAxesPointsRequired m_documentAxesPointsRequired;
36  QCryptographicHash m_documentHash;
37 };
38 
39 #endif // CALLBACK_BOUNDING_RECTS_H
CallbackSearchReturn callback(const QString &curveName, const Point &point)
Callback method.
Callback for DocumentHash value for a Document.
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
Definition: Point.h:23
DocumentHash hash() const
Computed hash value.