Engauge Digitizer
2
Point
PointMatchTriplet.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 POINT_MATCH_TRIPLET_H
8
#define POINT_MATCH_TRIPLET_H
9
10
#include <QPoint>
11
13
class
PointMatchTriplet
14
{
15
public
:
17
PointMatchTriplet
(
int
x
,
18
int
y
,
19
double
correlation
);
20
22
bool
operator<
(
const
PointMatchTriplet
&other)
const
;
23
25
double
correlation
()
const
;
26
28
QPoint
point
()
const
;
29
31
int
x
()
const
;
32
34
int
y
()
const
;
35
36
private
:
37
PointMatchTriplet
();
38
39
int
m_x;
40
int
m_y;
41
double
m_correlation;
42
};
43
44
#endif // POINT_MATCH_TRIPLET_H
PointMatchTriplet
Representation of one matched point as produced from the point match algorithm.
Definition:
PointMatchTriplet.h:12
PointMatchTriplet::operator<
bool operator<(const PointMatchTriplet &other) const
Comparison operator for sorting lists of this class using qSort.
Definition:
PointMatchTriplet.cpp:22
PointMatchTriplet::x
int x() const
Get method for x coordinate.
Definition:
PointMatchTriplet.cpp:49
PointMatchTriplet::correlation
double correlation() const
Get method for correlation.
Definition:
PointMatchTriplet.cpp:17
PointMatchTriplet::y
int y() const
Get method for y coordinate.
Definition:
PointMatchTriplet.cpp:54
PointMatchTriplet::point
QPoint point() const
Return (x,y) coordinates as a point.
Definition:
PointMatchTriplet.cpp:43
Generated on Sat Jan 4 2020 12:00:00 for Engauge Digitizer by
1.8.16