#include <chunked_kdtree.h>
Classes | |
class | Chunk |
class | ChunkId |
Public Types | |
using | Ptr = std::shared_ptr< ChunkedKdtree > |
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) |
const pcl::PointCloud< POINT_TYPE >::ConstPtr & | getInputCloud () const |
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 Types | |
using | ChunkCloud = std::unordered_map< ChunkId, typename pcl::PointCloud< POINT_TYPE >, ChunkId > |
using | ChunkMap = std::unordered_map< ChunkId, Chunk, ChunkId > |
using | ChunkOriginalIds = std::unordered_map< ChunkId, std::vector< size_t >, ChunkId > |
Protected Attributes | |
const float | chunk_length_ |
ChunkMap | chunks_ |
float | epsilon_ |
pcl::PointCloud< POINT_TYPE >::ConstPtr | input_cloud_ |
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 46 of file chunked_kdtree.h.
|
protected |
Definition at line 289 of file chunked_kdtree.h.
|
protected |
Definition at line 288 of file chunked_kdtree.h.
|
protected |
Definition at line 290 of file chunked_kdtree.h.
using mcl_3dl::ChunkedKdtree< POINT_TYPE >::Ptr = std::shared_ptr<ChunkedKdtree> |
Definition at line 49 of file chunked_kdtree.h.
|
inlineexplicit |
Definition at line 90 of file chunked_kdtree.h.
|
inline |
Definition at line 248 of file chunked_kdtree.h.
|
inline |
Definition at line 252 of file chunked_kdtree.h.
|
inline |
Definition at line 258 of file chunked_kdtree.h.
|
inline |
Definition at line 238 of file chunked_kdtree.h.
|
inline |
Definition at line 242 of file chunked_kdtree.h.
|
inline |
Definition at line 120 of file chunked_kdtree.h.
|
inline |
Definition at line 217 of file chunked_kdtree.h.
|
inline |
Definition at line 102 of file chunked_kdtree.h.
|
inline |
Definition at line 124 of file chunked_kdtree.h.
|
inline |
Definition at line 111 of file chunked_kdtree.h.
|
protected |
Definition at line 281 of file chunked_kdtree.h.
|
protected |
Definition at line 291 of file chunked_kdtree.h.
|
protected |
Definition at line 285 of file chunked_kdtree.h.
|
protected |
Definition at line 292 of file chunked_kdtree.h.
|
protected |
Definition at line 284 of file chunked_kdtree.h.
|
protected |
Definition at line 282 of file chunked_kdtree.h.
|
protected |
Definition at line 286 of file chunked_kdtree.h.
|
protected |
Definition at line 280 of file chunked_kdtree.h.
|
protected |
Definition at line 283 of file chunked_kdtree.h.