cheshirekow
v0.1.0
|
A block which wraps the tree insertion operator. More...
#include <mpblocks/kd_tree/blocks/Inserter.h>
Public Types | |
typedef Allocator< Node_t > | Allocator_t |
typedef Traits::Format_t | Format_t |
typedef std::list< Node_t, Allocator_t > | List_t |
typedef Traits::Node | Node_t |
typedef Vector_t | Point_t |
typedef Inserter< Traits > | This_t |
typedef Tree< Traits > | Tree_t |
typedef Eigen::Matrix < Format_t, Traits::NDim, 1 > | Vector_t |
Public Member Functions | |
void | insert (const Point_t &x) |
insert the point and emit the new node More... | |
Inserter (Tree_t *tree=0) | |
construct an inserter block wrapping the specified tree object More... | |
List_t & | nodes () |
return const reference to the node set More... | |
void | reset () |
destroy nodes stored More... | |
void | setTree (Tree_t *tree) |
change the tree object that this block wraps More... | |
sigc::slot< void, const Point_t & > | slot_insert () |
return a slot which calls insert() More... | |
sigc::slot< void > | slot_reset () |
return a slot which calls reset() More... | |
Public Attributes | |
sigc::signal< void, Node_t * > | sig_newNode |
the signal which is emitted when a new node is created by the tree More... | |
Protected Attributes | |
List_t | m_store |
Tree_t * | m_tree |
A block which wraps the tree insertion operator.
It provides one slot which exposes the insert method. When a point is inserted the resulting node that is created is emitted by the sig_newNode signal
Definition at line 46 of file Inserter.h.
typedef Allocator<Node_t> mpblocks::kd_tree::blocks::Inserter< Traits, Allocator >::Allocator_t |
Definition at line 52 of file Inserter.h.
typedef Traits::Format_t mpblocks::kd_tree::blocks::Inserter< Traits, Allocator >::Format_t |
Definition at line 49 of file Inserter.h.
typedef std::list<Node_t,Allocator_t> mpblocks::kd_tree::blocks::Inserter< Traits, Allocator >::List_t |
Definition at line 60 of file Inserter.h.
typedef Traits::Node mpblocks::kd_tree::blocks::Inserter< Traits, Allocator >::Node_t |
Definition at line 50 of file Inserter.h.
typedef Vector_t mpblocks::kd_tree::blocks::Inserter< Traits, Allocator >::Point_t |
Definition at line 54 of file Inserter.h.
typedef Inserter<Traits> mpblocks::kd_tree::blocks::Inserter< Traits, Allocator >::This_t |
Definition at line 59 of file Inserter.h.
typedef Tree<Traits> mpblocks::kd_tree::blocks::Inserter< Traits, Allocator >::Tree_t |
Definition at line 58 of file Inserter.h.
typedef Eigen::Matrix<Format_t,Traits::NDim,1> mpblocks::kd_tree::blocks::Inserter< Traits, Allocator >::Vector_t |
Definition at line 53 of file Inserter.h.
|
inline |
construct an inserter block wrapping the specified tree object
Definition at line 71 of file Inserter.h.
|
inline |
insert the point and emit the new node
Definition at line 80 of file Inserter.h.
|
inline |
return const reference to the node set
Definition at line 102 of file Inserter.h.
|
inline |
destroy nodes stored
Definition at line 90 of file Inserter.h.
|
inline |
change the tree object that this block wraps
Definition at line 76 of file Inserter.h.
|
inline |
return a slot which calls insert()
Definition at line 94 of file Inserter.h.
|
inline |
return a slot which calls reset()
Definition at line 98 of file Inserter.h.
|
protected |
Definition at line 64 of file Inserter.h.
|
protected |
Definition at line 63 of file Inserter.h.
sigc::signal<void,Node_t*> mpblocks::kd_tree::blocks::Inserter< Traits, Allocator >::sig_newNode |
the signal which is emitted when a new node is created by the tree
Definition at line 68 of file Inserter.h.