Apollo 10.0
自动驾驶开放平台
|
A searchable voxel structure containing the mean and covariance of the data. 更多...
#include <ndt_voxel_grid_covariance.h>
Public 成员函数 | |
VoxelGridCovariance () | |
Constructor. | |
void | SetInputCloud (const PointCloudConstPtr &cloud) |
Provide a pointer to the input dataset. | |
void | SetMinPointPerVoxel (int min_points_per_voxel) |
Set the minimum number of points required for a cell to be used (must be 3 or greater for covariance calculation). | |
int | GetMinPointPerVoxel () |
Get the minimum number of points required for a cell to be used. | |
void | filter (const std::vector< Leaf > &cell_leaf, bool searchable=true) |
Initializes voxel structure. | |
void | SetMap (const std::vector< Leaf > &map_leaves, PointCloudPtr output) |
LeafConstPtr | GetLeaf (int index) |
Get the voxel containing point p. | |
LeafConstPtr | GetLeaf (PointT *p) |
Get the voxel containing point p. | |
LeafConstPtr | GetLeaf (Eigen::Vector3f *p) |
Get the voxel containing point p. | |
const std::map< size_t, Leaf > & | GetLeaves () |
Get the leaf structure map. | |
PointCloudPtr | GetCentroids () |
Get a pointcloud containing the voxel centroids. | |
int | RadiusSearch (const PointT &point, double radius, std::vector< LeafConstPtr > *k_leaves, std::vector< float > *k_sqr_distances, unsigned int max_nn=0) |
Search for all the nearest occupied voxels of the query point in a given radius. | |
void | GetDisplayCloud (pcl::PointCloud< pcl::PointXYZ > *cell_cloud) |
void | SetMapLeftTopCorner (const Eigen::Vector3d &left_top_corner) |
void | SetVoxelGridResolution (float lx, float ly, float lz) |
Protected 类型 | |
typedef pcl::PointCloud< PointT > | PointCloud |
typedef boost::shared_ptr< PointCloud > | PointCloudPtr |
typedef boost::shared_ptr< const PointCloud > | PointCloudConstPtr |
Protected 属性 | |
PointCloudConstPtr | input_ |
Eigen::Vector4f | leaf_size_ |
Eigen::Array4f | inverse_leaf_size_ |
Eigen::Vector4i | min_b_ |
Eigen::Vector4i | max_b_ |
Eigen::Vector4i | div_b_ |
Eigen::Vector4i | divb_mul_ |
int | min_points_per_voxel_ |
Minimum points contained with in a voxel to allow it to be usable. | |
std::map< size_t, Leaf > | leaves_ |
Voxel structure containing all leaf nodes (includes voxels with less than a sufficient number of points). | |
PointCloudPtr | voxel_centroids_ |
Point cloud containing centroids of voxels containing at least minimum number of points. | |
std::vector< int > | voxel_centroids_leaf_indices_ |
Indices of leaf structurs associated with each point. | |
pcl::KdTreeFLANN< PointT > | kdtree_ |
KdTree generated using voxel_centroids_ (used for searching). | |
Eigen::Vector3d | map_left_top_corner_ |
Left top corner. | |
A searchable voxel structure containing the mean and covariance of the data.
在文件 ndt_voxel_grid_covariance.h 第 103 行定义.
|
protected |
在文件 ndt_voxel_grid_covariance.h 第 108 行定义.
|
protected |
在文件 ndt_voxel_grid_covariance.h 第 110 行定义.
|
protected |
在文件 ndt_voxel_grid_covariance.h 第 109 行定义.
|
inline |
Constructor.
在文件 ndt_voxel_grid_covariance.h 第 124 行定义.
|
inline |
Initializes voxel structure.
在文件 ndt_voxel_grid_covariance.h 第 154 行定义.
|
inline |
void apollo::localization::ndt::VoxelGridCovariance< PointT >::GetDisplayCloud | ( | pcl::PointCloud< pcl::PointXYZ > * | cell_cloud | ) |
|
inline |
Get the voxel containing point p.
在文件 ndt_voxel_grid_covariance.h 第 206 行定义.
|
inline |
Get the voxel containing point p.
在文件 ndt_voxel_grid_covariance.h 第 166 行定义.
|
inline |
Get the voxel containing point p.
[in] | p | the point to get the leaf structure at |
在文件 ndt_voxel_grid_covariance.h 第 179 行定义.
|
inline |
|
inline |
Get the minimum number of points required for a cell to be used.
在文件 ndt_voxel_grid_covariance.h 第 151 行定义.
int apollo::localization::ndt::VoxelGridCovariance< PointT >::RadiusSearch | ( | const PointT & | point, |
double | radius, | ||
std::vector< LeafConstPtr > * | k_leaves, | ||
std::vector< float > * | k_sqr_distances, | ||
unsigned int | max_nn = 0 |
||
) |
Search for all the nearest occupied voxels of the query point in a given radius.
|
inline |
Provide a pointer to the input dataset.
在文件 ndt_voxel_grid_covariance.h 第 136 行定义.
void apollo::localization::ndt::VoxelGridCovariance< PointT >::SetMap | ( | const std::vector< Leaf > & | map_leaves, |
PointCloudPtr | output | ||
) |
|
inline |
在文件 ndt_voxel_grid_covariance.h 第 246 行定义.
|
inline |
Set the minimum number of points required for a cell to be used (must be 3 or greater for covariance calculation).
在文件 ndt_voxel_grid_covariance.h 第 140 行定义.
|
inline |
在文件 ndt_voxel_grid_covariance.h 第 250 行定义.
|
protected |
在文件 ndt_voxel_grid_covariance.h 第 119 行定义.
|
protected |
在文件 ndt_voxel_grid_covariance.h 第 120 行定义.
|
protected |
在文件 ndt_voxel_grid_covariance.h 第 111 行定义.
|
protected |
在文件 ndt_voxel_grid_covariance.h 第 114 行定义.
|
protected |
KdTree generated using voxel_centroids_ (used for searching).
在文件 ndt_voxel_grid_covariance.h 第 278 行定义.
|
protected |
在文件 ndt_voxel_grid_covariance.h 第 113 行定义.
|
protected |
Voxel structure containing all leaf nodes (includes voxels with less than a sufficient number of points).
在文件 ndt_voxel_grid_covariance.h 第 268 行定义.
|
protected |
Left top corner.
在文件 ndt_voxel_grid_covariance.h 第 281 行定义.
|
protected |
在文件 ndt_voxel_grid_covariance.h 第 117 行定义.
|
protected |
在文件 ndt_voxel_grid_covariance.h 第 116 行定义.
|
protected |
Minimum points contained with in a voxel to allow it to be usable.
在文件 ndt_voxel_grid_covariance.h 第 264 行定义.
|
protected |
Point cloud containing centroids of voxels containing at least minimum number of points.
在文件 ndt_voxel_grid_covariance.h 第 272 行定义.
|
protected |
Indices of leaf structurs associated with each point.
在文件 ndt_voxel_grid_covariance.h 第 275 行定义.