|
| KDNodeBase (const cv::Mat &nodePos, const int identity, int splitAxis, int dimension) |
|
double | getClosestNeighbors (QMap< double, QVector< int > > &neighborList, const cv::Mat &position, float sqRange, float cosThreshold, int maxNbNeighbors) const |
| Return a list of closest neighbors, limited by maxNbNeighbors and sqRange.
|
|
int | getDimension () |
|
int | getIdentity () |
| Return identity of the node.
|
|
cv::Mat | getPosition () const |
| Return position vector of a node.
|
|
KDNodeBase * | insert (const cv::Mat &nodePos, const int identity) |
| Insert a new node to the sub-tree.
|
|
virtual NodeCompareResult | nodeCompare (const cv::Mat &queryPosition, const cv::Mat ¤tPosition, float sqRange, float cosThreshold, int nbDimension) const =0 |
|
void | setNodeId (int id) |
| Set database entry ID of the node.
|
|