#include <geometric_hash.h>
Public Member Functions | |
AffineBasis (cv::Point2f _origin, const cv::Point2f *_basis, int _model_id) | |
AffineBasis (cv::Point2f _origin, cv::Point2f point1, cv::Point2f point2, int _model_id) | |
float | getAngle () const |
void | getBasis (cv::Point2f *_basis) const |
cv::Point2f | getCoords (cv::Point2f point) const |
int | getModelID () const |
cv::Point2f | getOrigin () const |
cv::Point2f | getPoint (cv::Point2f coords) const |
~AffineBasis () | |
Protected Attributes | |
cv::Point2f | basis [2] |
int | model_id |
cv::Point2f | origin |
Definition at line 41 of file geometric_hash.h.
AffineBasis::AffineBasis | ( | cv::Point2f | _origin, |
const cv::Point2f * | _basis, | ||
int | _model_id | ||
) | [inline] |
Definition at line 49 of file geometric_hash.h.
AffineBasis::AffineBasis | ( | cv::Point2f | _origin, |
cv::Point2f | point1, | ||
cv::Point2f | point2, | ||
int | _model_id | ||
) | [inline] |
Definition at line 56 of file geometric_hash.h.
AffineBasis::~AffineBasis | ( | ) | [inline] |
Definition at line 64 of file geometric_hash.h.
float AffineBasis::getAngle | ( | ) | const [inline] |
Definition at line 78 of file geometric_hash.h.
void AffineBasis::getBasis | ( | cv::Point2f * | _basis | ) | const [inline] |
Definition at line 67 of file geometric_hash.h.
cv::Point2f AffineBasis::getCoords | ( | cv::Point2f | point | ) | const |
Definition at line 13 of file geometric_hash.cpp.
int AffineBasis::getModelID | ( | ) | const [inline] |
Definition at line 76 of file geometric_hash.h.
cv::Point2f AffineBasis::getOrigin | ( | ) | const [inline] |
Definition at line 66 of file geometric_hash.h.
cv::Point2f AffineBasis::getPoint | ( | cv::Point2f | coords | ) | const |
Definition at line 25 of file geometric_hash.cpp.
cv::Point2f AffineBasis::basis[2] [protected] |
Definition at line 46 of file geometric_hash.h.
int AffineBasis::model_id [protected] |
Definition at line 44 of file geometric_hash.h.
cv::Point2f AffineBasis::origin [protected] |
Definition at line 45 of file geometric_hash.h.