cpp-toolbox  0.0.1
A toolbox library for C++
Loading...
Searching...
No Matches
toolbox::pcl::super_four_pcs_registration_t< DataType >::smart_index_t Class Reference

智能索引结构 / Smart index structure More...

#include <super_four_pcs_registration.hpp>

Public Member Functions

 smart_index_t (DataType cell_size)
 
void build (const point_cloud_ptr &cloud, const std::vector< std::size_t > &indices)
 构建索引 / Build index
 
std::vector< point_pair_tfind_pairs_in_range (DataType distance, DataType epsilon, std::size_t max_pairs=1000) const
 查找指定距离范围内的所有点对 / Find all point pairs within distance range
 
std::string get_statistics () const
 获取网格统计信息 / Get grid statistics
 

Detailed Description

template<typename DataType>
class toolbox::pcl::super_four_pcs_registration_t< DataType >::smart_index_t

智能索引结构 / Smart index structure

Constructor & Destructor Documentation

◆ smart_index_t()

template<typename DataType >
toolbox::pcl::super_four_pcs_registration_t< DataType >::smart_index_t::smart_index_t ( DataType  cell_size)
inline

Member Function Documentation

◆ build()

template<typename DataType >
void toolbox::pcl::super_four_pcs_registration_t< DataType >::smart_index_t::build ( const point_cloud_ptr cloud,
const std::vector< std::size_t > &  indices 
)

构建索引 / Build index

Parameters
cloud点云 / Point cloud
indices要索引的点 / Points to index

◆ find_pairs_in_range()

template<typename DataType >
std::vector< typename super_four_pcs_registration_t< DataType >::point_pair_t > toolbox::pcl::super_four_pcs_registration_t< DataType >::smart_index_t::find_pairs_in_range ( DataType  distance,
DataType  epsilon,
std::size_t  max_pairs = 1000 
) const

查找指定距离范围内的所有点对 / Find all point pairs within distance range

Parameters
distance目标距离 / Target distance
epsilon距离容差 / Distance tolerance
max_pairs最大点对数量 / Maximum number of pairs
Returns
点对列表 / List of point pairs

◆ get_statistics()

template<typename DataType >
std::string toolbox::pcl::super_four_pcs_registration_t< DataType >::smart_index_t::get_statistics ( ) const

获取网格统计信息 / Get grid statistics

Returns
统计信息字符串 / Statistics string

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