cheshirekow  v0.1.0
mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator > Class Template Reference

performs search for k-NN within a ball at a specified center and radius More...

#include <mpblocks/kd_tree/euclidean/blocks/KNearestBallCenter.h>

Public Types

typedef Traits::Format_t Format_t
 
typedef Traits::Node Node_t
 
typedef Eigen::Matrix
< Format_t, Traits::NDim, 1 > 
Point_t
 
typedef Search_t::PQueue_t PQueue_t
 
typedef
euclidean::KNearestBallCenter
< Traits, Allocator > 
Search_t
 
typedef KNearestBallCenter
< Traits, Allocator > 
This_t
 
typedef Tree< TraitsTree_t
 

Public Member Functions

 KNearestBallCenter (Tree_t *tree=0)
 
void search (const Point_t &q, const Point_t &c, Format_t r, unsigned int k)
 
void setTree (Tree_t *tree)
 
sigc::slot< void, const
Point_t &, const Point_t
&, Format_t, unsigned int > 
slot_search ()
 

Public Attributes

sigc::signal< void, Node_t * > sig_result
 

Protected Attributes

Search_t m_search
 
Tree_tm_tree
 

Detailed Description

template<class Traits, template< class > class Allocator = std::allocator>
class mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >

performs search for k-NN within a ball at a specified center and radius

Definition at line 40 of file KNearestBallCenter.h.

Member Typedef Documentation

template<class Traits , template< class > class Allocator = std::allocator>
typedef Traits::Format_t mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::Format_t

Definition at line 43 of file KNearestBallCenter.h.

template<class Traits , template< class > class Allocator = std::allocator>
typedef Traits::Node mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::Node_t

Definition at line 44 of file KNearestBallCenter.h.

template<class Traits , template< class > class Allocator = std::allocator>
typedef Eigen::Matrix<Format_t,Traits::NDim,1> mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::Point_t

Definition at line 46 of file KNearestBallCenter.h.

template<class Traits , template< class > class Allocator = std::allocator>
typedef Search_t::PQueue_t mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::PQueue_t

Definition at line 51 of file KNearestBallCenter.h.

template<class Traits , template< class > class Allocator = std::allocator>
typedef euclidean::KNearestBallCenter<Traits,Allocator> mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::Search_t

Definition at line 49 of file KNearestBallCenter.h.

template<class Traits , template< class > class Allocator = std::allocator>
typedef KNearestBallCenter<Traits,Allocator> mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::This_t

Definition at line 48 of file KNearestBallCenter.h.

template<class Traits , template< class > class Allocator = std::allocator>
typedef Tree<Traits> mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::Tree_t

Definition at line 50 of file KNearestBallCenter.h.

Constructor & Destructor Documentation

template<class Traits , template< class > class Allocator = std::allocator>
mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::KNearestBallCenter ( Tree_t tree = 0)
inline

Definition at line 60 of file KNearestBallCenter.h.

Member Function Documentation

template<class Traits , template< class > class Allocator = std::allocator>
void mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::search ( const Point_t q,
const Point_t c,
Format_t  r,
unsigned int  k 
)
inline

Definition at line 67 of file KNearestBallCenter.h.

template<class Traits , template< class > class Allocator = std::allocator>
void mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::setTree ( Tree_t tree)
inline

Definition at line 64 of file KNearestBallCenter.h.

template<class Traits , template< class > class Allocator = std::allocator>
sigc::slot<void,const Point_t&,const Point_t&,Format_t,unsigned int> mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::slot_search ( )
inline

Definition at line 84 of file KNearestBallCenter.h.

Member Data Documentation

template<class Traits , template< class > class Allocator = std::allocator>
Search_t mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::m_search
protected

Definition at line 55 of file KNearestBallCenter.h.

template<class Traits , template< class > class Allocator = std::allocator>
Tree_t* mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::m_tree
protected

Definition at line 54 of file KNearestBallCenter.h.

template<class Traits , template< class > class Allocator = std::allocator>
sigc::signal<void,Node_t*> mpblocks::kd_tree::euclidean::blocks::KNearestBallCenter< Traits, Allocator >::sig_result

Definition at line 58 of file KNearestBallCenter.h.


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