cvflann::KDTreeIndex< ELEM_TYPE, DIST_TYPE >::TreeSt Struct Reference

List of all members.

Public Attributes

TreeStchild1
TreeStchild2
int divfeat
DIST_TYPE divval

Detailed Description

template<typename ELEM_TYPE, typename DIST_TYPE = typename DistType<ELEM_TYPE>::type>
struct cvflann::KDTreeIndex< ELEM_TYPE, DIST_TYPE >::TreeSt

A node of the binary k-d tree.

This is All nodes that have vec[divfeat] < divval are placed in the child1 subtree, else child2., A leaf node is indicated if both children are NULL.

Definition at line 132 of file kdtree_index.h.


Member Data Documentation

template<typename ELEM_TYPE, typename DIST_TYPE = typename DistType<ELEM_TYPE>::type>
TreeSt* cvflann::KDTreeIndex< ELEM_TYPE, DIST_TYPE >::TreeSt::child1

The child nodes.

Definition at line 146 of file kdtree_index.h.

template<typename ELEM_TYPE, typename DIST_TYPE = typename DistType<ELEM_TYPE>::type>
TreeSt * cvflann::KDTreeIndex< ELEM_TYPE, DIST_TYPE >::TreeSt::child2

Definition at line 146 of file kdtree_index.h.

template<typename ELEM_TYPE, typename DIST_TYPE = typename DistType<ELEM_TYPE>::type>
int cvflann::KDTreeIndex< ELEM_TYPE, DIST_TYPE >::TreeSt::divfeat

Index of the vector feature used for subdivision. If this is a leaf node (both children are NULL) then this holds vector index for this leaf.

Definition at line 138 of file kdtree_index.h.

template<typename ELEM_TYPE, typename DIST_TYPE = typename DistType<ELEM_TYPE>::type>
DIST_TYPE cvflann::KDTreeIndex< ELEM_TYPE, DIST_TYPE >::TreeSt::divval

The value used for subdivision.

Definition at line 142 of file kdtree_index.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


opencv2
Author(s): Gary Bradski and many others. See web page for a full contributor list. ROS package maintained by James Bowman.
autogenerated on Fri Jan 11 10:00:49 2013