cheshirekow
v0.1.0
|
base class for nodes, implements storage and interface for the simplex tree More...
#include <mpblocks/simplex_tree/Tree.h>
Public Types | |
typedef Traits::Format | Format_t |
typedef unsigned int | Index_t |
typedef Traits::Node | Node_t |
typedef Eigen::Matrix < Format_t, Traits::NDim, 1 > | Point_t |
typedef Simplex< Traits > | Simplex_t |
typedef Eigen::Matrix < Format_t, Traits::NDim, 1 > | Vector_t |
typedef Eigen::Matrix < Format_t, Traits::NDim, Eigen::Dynamic > | Vertices_t |
Public Member Functions | |
void | insert (Node_t *) |
recursively inserts a point and returns the simplex which it was inserted into More... | |
Protected Attributes | |
Simplex_t | m_root |
base class for nodes, implements storage and interface for the simplex tree
The proper usage is to define a member class of Traits which is the actual node class, and which derives from this class. By CTRP it will contain storage and the necessary interface for the simplex tree, but the derived class is always returned through API calls
typedef Traits::Format mpblocks::simplex_tree::Tree< Traits >::Format_t |
typedef unsigned int mpblocks::simplex_tree::Tree< Traits >::Index_t |
typedef Traits::Node mpblocks::simplex_tree::Tree< Traits >::Node_t |
typedef Eigen::Matrix<Format_t,Traits::NDim,1> mpblocks::simplex_tree::Tree< Traits >::Point_t |
typedef Simplex<Traits> mpblocks::simplex_tree::Tree< Traits >::Simplex_t |
typedef Eigen::Matrix<Format_t,Traits::NDim,1> mpblocks::simplex_tree::Tree< Traits >::Vector_t |
typedef Eigen::Matrix<Format_t,Traits::NDim,Eigen::Dynamic> mpblocks::simplex_tree::Tree< Traits >::Vertices_t |
void mpblocks::simplex_tree::Tree< Traits >::insert | ( | Node_t * | x | ) |
|
protected |