#include <chunked_kdtree.h>
Classes | |
class | Chunk |
class | ChunkId |
Public Member Functions | |
ChunkedKdtree (const float chunk_length=20.0, const float max_search_radius=1.0, const bool keep_clouds=false) | |
pcl::PointCloud< POINT_TYPE >::Ptr | getChunkCloud (const POINT_TYPE p) |
pcl::PointCloud< POINT_TYPE >::Ptr | getChunkCloud (const ChunkId &c) |
ChunkId | getChunkId (const POINT_TYPE p) const |
pcl::KdTreeFLANN< POINT_TYPE >::Ptr | getChunkKdtree (const POINT_TYPE p) |
pcl::KdTreeFLANN< POINT_TYPE >::Ptr | getChunkKdtree (const ChunkId &c) |
int | radiusSearch (const POINT_TYPE &p, const float &radius, std::vector< int > &id, std::vector< float > &dist_sq, const size_t &num) |
void | setEpsilon (const float epsilon) |
void | setInputCloud (const typename pcl::PointCloud< POINT_TYPE >::ConstPtr cloud) |
void | setPointRepresentation (boost::shared_ptr< pcl::PointRepresentation< POINT_TYPE >> point_rep) |
Protected Attributes | |
const float | chunk_length_ |
ChunkMap | chunks_ |
float | epsilon_ |
bool | keep_clouds_ |
const float | max_search_radius_ |
boost::shared_ptr < pcl::PointRepresentation < POINT_TYPE > > | point_rep_ |
const float | pos_to_chunk_ |
bool | set_epsilon_ |
Definition at line 44 of file chunked_kdtree.h.
mcl_3dl::ChunkedKdtree< POINT_TYPE >::ChunkedKdtree | ( | const float | chunk_length = 20.0 , |
const float | max_search_radius = 1.0 , |
||
const bool | keep_clouds = false |
||
) | [inline, explicit] |
Definition at line 88 of file chunked_kdtree.h.
pcl::PointCloud<POINT_TYPE>::Ptr mcl_3dl::ChunkedKdtree< POINT_TYPE >::getChunkCloud | ( | const POINT_TYPE | p | ) | [inline] |
Definition at line 241 of file chunked_kdtree.h.
pcl::PointCloud<POINT_TYPE>::Ptr mcl_3dl::ChunkedKdtree< POINT_TYPE >::getChunkCloud | ( | const ChunkId & | c | ) | [inline] |
Definition at line 245 of file chunked_kdtree.h.
ChunkId mcl_3dl::ChunkedKdtree< POINT_TYPE >::getChunkId | ( | const POINT_TYPE | p | ) | const [inline] |
Definition at line 251 of file chunked_kdtree.h.
pcl::KdTreeFLANN<POINT_TYPE>::Ptr mcl_3dl::ChunkedKdtree< POINT_TYPE >::getChunkKdtree | ( | const POINT_TYPE | p | ) | [inline] |
Definition at line 231 of file chunked_kdtree.h.
pcl::KdTreeFLANN<POINT_TYPE>::Ptr mcl_3dl::ChunkedKdtree< POINT_TYPE >::getChunkKdtree | ( | const ChunkId & | c | ) | [inline] |
Definition at line 235 of file chunked_kdtree.h.
int mcl_3dl::ChunkedKdtree< POINT_TYPE >::radiusSearch | ( | const POINT_TYPE & | p, |
const float & | radius, | ||
std::vector< int > & | id, | ||
std::vector< float > & | dist_sq, | ||
const size_t & | num | ||
) | [inline] |
Definition at line 210 of file chunked_kdtree.h.
void mcl_3dl::ChunkedKdtree< POINT_TYPE >::setEpsilon | ( | const float | epsilon | ) | [inline] |
Definition at line 100 of file chunked_kdtree.h.
void mcl_3dl::ChunkedKdtree< POINT_TYPE >::setInputCloud | ( | const typename pcl::PointCloud< POINT_TYPE >::ConstPtr | cloud | ) | [inline] |
Definition at line 118 of file chunked_kdtree.h.
void mcl_3dl::ChunkedKdtree< POINT_TYPE >::setPointRepresentation | ( | boost::shared_ptr< pcl::PointRepresentation< POINT_TYPE >> | point_rep | ) | [inline] |
Definition at line 109 of file chunked_kdtree.h.
const float mcl_3dl::ChunkedKdtree< POINT_TYPE >::chunk_length_ [protected] |
Definition at line 274 of file chunked_kdtree.h.
ChunkMap mcl_3dl::ChunkedKdtree< POINT_TYPE >::chunks_ [protected] |
Definition at line 284 of file chunked_kdtree.h.
float mcl_3dl::ChunkedKdtree< POINT_TYPE >::epsilon_ [protected] |
Definition at line 278 of file chunked_kdtree.h.
bool mcl_3dl::ChunkedKdtree< POINT_TYPE >::keep_clouds_ [protected] |
Definition at line 277 of file chunked_kdtree.h.
const float mcl_3dl::ChunkedKdtree< POINT_TYPE >::max_search_radius_ [protected] |
Definition at line 275 of file chunked_kdtree.h.
boost::shared_ptr<pcl::PointRepresentation<POINT_TYPE> > mcl_3dl::ChunkedKdtree< POINT_TYPE >::point_rep_ [protected] |
Definition at line 279 of file chunked_kdtree.h.
const float mcl_3dl::ChunkedKdtree< POINT_TYPE >::pos_to_chunk_ [protected] |
Definition at line 273 of file chunked_kdtree.h.
bool mcl_3dl::ChunkedKdtree< POINT_TYPE >::set_epsilon_ [protected] |
Definition at line 276 of file chunked_kdtree.h.