Simple structure to hold a centroid, covarince and the number of points in a leaf. More...
#include <pcl/filters/voxel_grid_covariance.h>
Public Member Functions |
|
Leaf () | |
Constructor. More... |
|
Eigen::Matrix3d | getCov () const |
Get the voxel covariance. More... |
|
Eigen::Matrix3d | getInverseCov () const |
Get the inverse of the voxel covariance. More... |
|
Eigen::Vector3d | getMean () const |
Get the voxel centroid. More... |
|
Eigen::Matrix3d | getEvecs () const |
Get the eigen vectors of the voxel covariance. More... |
|
Eigen::Vector3d | getEvals () const |
Get the eigen values of the voxel covariance. More... |
|
int | getPointCount () const |
Get the number of points contained by this voxel. More... |
|
Public Attributes |
|
int | nr_points |
Number of points contained by voxel. More... |
|
Eigen::Vector3d | mean_ |
3D voxel centroid More... |
|
Eigen::VectorXf | centroid |
Nd voxel centroid. More... |
|
Eigen::Matrix3d | cov_ |
Voxel covariance matrix. More... |
|
Eigen::Matrix3d | icov_ |
Inverse of voxel covariance matrix. More... |
|
Eigen::Matrix3d | evecs_ |
Eigen vectors of voxel covariance matrix. More... |
|
Eigen::Vector3d | evals_ |
Eigen values of voxel covariance matrix. More... |
|
Detailed Description
template<typename PointT>
struct pcl::VoxelGridCovariance< PointT >::Leaf
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 91 of file voxel_grid_covariance.h.
Constructor & Destructor Documentation
Leaf()
|
inline |
Member Function Documentation
getCov()
|
inline |
Get the voxel covariance.
- Returns
- covariance matrix
Definition at line 110 of file voxel_grid_covariance.h.
References pcl::VoxelGridCovariance< PointT >::Leaf::cov_.
getEvals()
|
inline |
Get the eigen values of the voxel covariance.
- Note
- Order corresponds with getEvecs
- Returns
- vector of eigen values
Definition at line 148 of file voxel_grid_covariance.h.
References pcl::VoxelGridCovariance< PointT >::Leaf::evals_.
getEvecs()
|
inline |
Get the eigen vectors of the voxel covariance.
- Note
- Order corresponds with getEvals
- Returns
- matrix whose columns contain eigen vectors
Definition at line 138 of file voxel_grid_covariance.h.
References pcl::VoxelGridCovariance< PointT >::Leaf::evecs_.
getInverseCov()
|
inline |
Get the inverse of the voxel covariance.
- Returns
- inverse covariance matrix
Definition at line 119 of file voxel_grid_covariance.h.
References pcl::VoxelGridCovariance< PointT >::Leaf::icov_.
getMean()
|
inline |
Get the voxel centroid.
- Returns
- centroid
Definition at line 128 of file voxel_grid_covariance.h.
References pcl::VoxelGridCovariance< PointT >::Leaf::mean_.
getPointCount()
|
inline |
Get the number of points contained by this voxel.
- Returns
- number of points
Definition at line 157 of file voxel_grid_covariance.h.
References pcl::VoxelGridCovariance< PointT >::Leaf::nr_points.
Member Data Documentation
centroid
Eigen::VectorXf pcl::VoxelGridCovariance< PointT >::Leaf::centroid |
Nd voxel centroid.
- Note
- Differs from mean_ when color data is used
Definition at line 171 of file voxel_grid_covariance.h.
cov_
Eigen::Matrix3d pcl::VoxelGridCovariance< PointT >::Leaf::cov_ |
Voxel covariance matrix.
Definition at line 174 of file voxel_grid_covariance.h.
Referenced by pcl::VoxelGridCovariance< PointT >::Leaf::getCov().
evals_
Eigen::Vector3d pcl::VoxelGridCovariance< PointT >::Leaf::evals_ |
Eigen values of voxel covariance matrix.
Definition at line 183 of file voxel_grid_covariance.h.
Referenced by pcl::VoxelGridCovariance< PointT >::Leaf::getEvals().
evecs_
Eigen::Matrix3d pcl::VoxelGridCovariance< PointT >::Leaf::evecs_ |
Eigen vectors of voxel covariance matrix.
Definition at line 180 of file voxel_grid_covariance.h.
Referenced by pcl::VoxelGridCovariance< PointT >::Leaf::getEvecs().
icov_
Eigen::Matrix3d pcl::VoxelGridCovariance< PointT >::Leaf::icov_ |
Inverse of voxel covariance matrix.
Definition at line 177 of file voxel_grid_covariance.h.
Referenced by pcl::VoxelGridCovariance< PointT >::Leaf::getInverseCov().
mean_
Eigen::Vector3d pcl::VoxelGridCovariance< PointT >::Leaf::mean_ |
3D voxel centroid
Definition at line 166 of file voxel_grid_covariance.h.
Referenced by pcl::VoxelGridCovariance< PointT >::Leaf::getMean().
nr_points
int pcl::VoxelGridCovariance< PointT >::Leaf::nr_points |
Number of points contained by voxel.
Definition at line 163 of file voxel_grid_covariance.h.
Referenced by pcl::VoxelGridCovariance< PointT >::Leaf::getPointCount().
The documentation for this struct was generated from the following file:
- pcl/filters/voxel_grid_covariance.h
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/structpcl_1_1_voxel_grid_covariance_1_1_leaf.html