Simple structure to hold a centroid, covarince and the number of points in a leaf. Inverse covariance, eigen vectors and engen values are precomputed. More...
#include <voxel_grid_covariance.h>
Public Member Functions | |
Eigen::Matrix3d | getCov () const |
Get the voxel covariance. | |
Eigen::Vector3d | getEvals () const |
Get the eigen values of the voxel covariance. | |
Eigen::Matrix3d | getEvecs () const |
Get the eigen vectors of the voxel covariance. | |
Eigen::Matrix3d | getInverseCov () const |
Get the inverse of the voxel covariance. | |
Eigen::Vector3d | getMean () const |
Get the voxel centroid. | |
int | getPointCount () const |
Get the number of points contained by this voxel. | |
Leaf () | |
Constructor. Sets nr_points, icov_, mean_ and evals_ to 0 and cov_ and evecs_ to the identity matrix. | |
Public Attributes | |
Eigen::VectorXf | centroid |
Nd voxel centroid. | |
Eigen::Matrix3d | cov_ |
Voxel covariance matrix. | |
Eigen::Vector3d | evals_ |
Eigen values of voxel covariance matrix. | |
Eigen::Matrix3d | evecs_ |
Eigen vectors of voxel covariance matrix. | |
Eigen::Matrix3d | icov_ |
Inverse of voxel covariance matrix. | |
Eigen::Vector3d | mean_ |
3D voxel centroid | |
int | nr_points |
Number of points contained by voxel. |
Simple structure to hold a centroid, covarince and the number of points in a leaf. Inverse covariance, eigen vectors and engen values are precomputed.
Definition at line 93 of file voxel_grid_covariance.h.
pcl::VoxelGridCovariance< PointT >::Leaf::Leaf | ( | ) | [inline] |
Eigen::Matrix3d pcl::VoxelGridCovariance< PointT >::Leaf::getCov | ( | ) | const [inline] |
Get the voxel covariance.
Definition at line 113 of file voxel_grid_covariance.h.
Eigen::Vector3d pcl::VoxelGridCovariance< PointT >::Leaf::getEvals | ( | ) | const [inline] |
Get the eigen values of the voxel covariance.
Definition at line 151 of file voxel_grid_covariance.h.
Eigen::Matrix3d pcl::VoxelGridCovariance< PointT >::Leaf::getEvecs | ( | ) | const [inline] |
Get the eigen vectors of the voxel covariance.
Definition at line 141 of file voxel_grid_covariance.h.
Eigen::Matrix3d pcl::VoxelGridCovariance< PointT >::Leaf::getInverseCov | ( | ) | const [inline] |
Get the inverse of the voxel covariance.
Definition at line 122 of file voxel_grid_covariance.h.
Eigen::Vector3d pcl::VoxelGridCovariance< PointT >::Leaf::getMean | ( | ) | const [inline] |
int pcl::VoxelGridCovariance< PointT >::Leaf::getPointCount | ( | ) | const [inline] |
Get the number of points contained by this voxel.
Definition at line 160 of file voxel_grid_covariance.h.
Eigen::VectorXf pcl::VoxelGridCovariance< PointT >::Leaf::centroid |
Nd voxel centroid.
Definition at line 174 of file voxel_grid_covariance.h.
Eigen::Matrix3d pcl::VoxelGridCovariance< PointT >::Leaf::cov_ |
Voxel covariance matrix.
Definition at line 177 of file voxel_grid_covariance.h.
Eigen::Vector3d pcl::VoxelGridCovariance< PointT >::Leaf::evals_ |
Eigen values of voxel covariance matrix.
Definition at line 186 of file voxel_grid_covariance.h.
Eigen::Matrix3d pcl::VoxelGridCovariance< PointT >::Leaf::evecs_ |
Eigen vectors of voxel covariance matrix.
Definition at line 183 of file voxel_grid_covariance.h.
Eigen::Matrix3d pcl::VoxelGridCovariance< PointT >::Leaf::icov_ |
Inverse of voxel covariance matrix.
Definition at line 180 of file voxel_grid_covariance.h.
Eigen::Vector3d pcl::VoxelGridCovariance< PointT >::Leaf::mean_ |
3D voxel centroid
Definition at line 169 of file voxel_grid_covariance.h.
int pcl::VoxelGridCovariance< PointT >::Leaf::nr_points |
Number of points contained by voxel.
Definition at line 166 of file voxel_grid_covariance.h.