#include <geometric_hash.h>
Public Member Functions | |
ModelBasisID | addBasis (const AffineBasis &basis) |
ModelBasisID | addBasis (const AffineBasis &basis) |
void | addEntry (const ModelBasisID &basisID, CvSeq *seq, int idx_offset, int idx_point) |
void | addEntry (const ModelBasisID &basisID, CvSeq *seq, int idx_offset, int idx_point) |
GeometricHash3D (cv::Point3i _size, const cv::Point3f *_range) | |
GeometricHash3D (cv::Point3i _size, const cv::Point3f *_range) | |
const std::vector< AffineBasis > & | getBases () const |
const std::vector< AffineBasis > & | getBases () const |
const std::list< ModelBasisID > & | getEntries (cv::Point3f point) const |
const std::list< ModelBasisID > & | getEntries (cv::Point3f point) const |
Protected Member Functions | |
int | getBin (cv::Point3f coords) const |
int | getBin (cv::Point3f coords) const |
Protected Attributes | |
std::vector< AffineBasis > | bases |
std::list< ModelBasisID > | empty_list |
std::vector< std::list < ModelBasisID > > | hash |
cv::Point3f | range [2] |
cv::Point3i | size |
Definition at line 103 of file detail/geometric_hash.h.
GeometricHash3D::GeometricHash3D | ( | cv::Point3i | _size, |
const cv::Point3f * | _range | ||
) |
Definition at line 94 of file geometric_hash.cpp.
GeometricHash3D::GeometricHash3D | ( | cv::Point3i | _size, |
const cv::Point3f * | _range | ||
) |
ModelBasisID GeometricHash3D::addBasis | ( | const AffineBasis & | basis | ) |
Definition at line 117 of file geometric_hash.cpp.
ModelBasisID GeometricHash3D::addBasis | ( | const AffineBasis & | basis | ) |
void GeometricHash3D::addEntry | ( | const ModelBasisID & | basisID, |
CvSeq * | seq, | ||
int | idx_offset, | ||
int | idx_point | ||
) |
Definition at line 137 of file geometric_hash.cpp.
void GeometricHash3D::addEntry | ( | const ModelBasisID & | basisID, |
CvSeq * | seq, | ||
int | idx_offset, | ||
int | idx_point | ||
) |
const std::vector<AffineBasis>& GeometricHash3D::getBases | ( | ) | const |
const std::vector< AffineBasis > & GeometricHash3D::getBases | ( | ) | const |
Definition at line 169 of file geometric_hash.cpp.
int GeometricHash3D::getBin | ( | cv::Point3f | coords | ) | const [protected] |
Definition at line 103 of file geometric_hash.cpp.
int GeometricHash3D::getBin | ( | cv::Point3f | coords | ) | const [protected] |
const std::list<ModelBasisID>& GeometricHash3D::getEntries | ( | cv::Point3f | point | ) | const |
const std::list< ModelBasisID > & GeometricHash3D::getEntries | ( | cv::Point3f | point | ) | const |
Definition at line 156 of file geometric_hash.cpp.
std::vector< AffineBasis > GeometricHash3D::bases [protected] |
Definition at line 108 of file detail/geometric_hash.h.
std::list< ModelBasisID > GeometricHash3D::empty_list [protected] |
Definition at line 110 of file detail/geometric_hash.h.
std::vector< std::list< ModelBasisID > > GeometricHash3D::hash [protected] |
Definition at line 109 of file detail/geometric_hash.h.
cv::Point3f GeometricHash3D::range [protected] |
Definition at line 107 of file detail/geometric_hash.h.
cv::Point3i GeometricHash3D::size [protected] |
Definition at line 106 of file detail/geometric_hash.h.