Engauge Digitizer 2
Loading...
Searching...
No Matches
CallbackDocumentHash.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_BOUNDING_HASH_H
8#define CALLBACK_BOUNDING_HASH_H
9
12#include "DocumentHash.h"
13#include <QCryptographicHash>
14#include <QString>
15
16class Point;
17
20{
21public:
23 CallbackDocumentHash(DocumentAxesPointsRequired documentAxesPointsRequired);
24 virtual ~CallbackDocumentHash ();
25
27 CallbackSearchReturn callback (const QString &curveName,
28 const Point &point);
29
31 DocumentHash hash() const;
32
33private:
35
36 const DocumentAxesPointsRequired m_documentAxesPointsRequired;
37 QCryptographicHash m_documentHash;
38};
39
40#endif // CALLBACK_BOUNDING_HASH_H
CallbackSearchReturn
Return values for search callback methods.
QByteArray DocumentHash
CallbackSearchReturn callback(const QString &curveName, const Point &point)
Callback method.
CallbackDocumentHash(DocumentAxesPointsRequired documentAxesPointsRequired)
Single constructor.
DocumentHash hash() const
Computed hash value.
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
Definition Point.h:26