cheshirekow  v0.1.0
mpblocks::simplex_tree::Node< Traits > Class Template Reference

base class for nodes, implements storage and interface for the simplex tree More...

#include <mpblocks/simplex_tree/Node.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 Eigen::Matrix
< Format_t, Traits::NDim, 1 > 
Vector_t
 

Public Member Functions

const Point_tgetPoint ()
 

Protected Attributes

Point_t m_point
 

Detailed Description

template<class Traits>
class mpblocks::simplex_tree::Node< Traits >

base class for nodes, implements storage and interface for the simplex tree

A node is something which is inserted into the tree. It must provide a notion of a point in {R}^n .

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

Definition at line 48 of file Node.h.

Member Typedef Documentation

template<class Traits >
typedef Traits::Format mpblocks::simplex_tree::Node< Traits >::Format_t

Definition at line 51 of file Node.h.

template<class Traits >
typedef unsigned int mpblocks::simplex_tree::Node< Traits >::Index_t

Definition at line 54 of file Node.h.

template<class Traits >
typedef Traits::Node mpblocks::simplex_tree::Node< Traits >::Node_t

Definition at line 52 of file Node.h.

template<class Traits >
typedef Eigen::Matrix<Format_t,Traits::NDim,1> mpblocks::simplex_tree::Node< Traits >::Point_t

Definition at line 56 of file Node.h.

template<class Traits >
typedef Eigen::Matrix<Format_t,Traits::NDim,1> mpblocks::simplex_tree::Node< Traits >::Vector_t

Definition at line 55 of file Node.h.

Member Function Documentation

template<class Traits >
const Point_t& mpblocks::simplex_tree::Node< Traits >::getPoint ( )

Member Data Documentation

template<class Traits >
Point_t mpblocks::simplex_tree::Node< Traits >::m_point
protected

Definition at line 59 of file Node.h.


The documentation for this class was generated from the following file: