small_gicp
Static Public Member Functions | List of all members
small_gicp::CovarianceSetter< PointCloud > Struct Template Reference

Computes point covariances from eigenvectors and sets them to the point cloud. More...

#include <normal_estimation.hpp>

Static Public Member Functions

static void set_invalid (PointCloud &cloud, size_t i)
 Handle invalid case (too few points). More...
 
static void set (PointCloud &cloud, size_t i, const Eigen::Matrix3d &eigenvectors)
 Compute and set the covariance to the point cloud. More...
 

Detailed Description

template<typename PointCloud>
struct small_gicp::CovarianceSetter< PointCloud >

Computes point covariances from eigenvectors and sets them to the point cloud.

Note
If a sufficient number of neighbor points is not found, an identity matrix is set to the point.

Member Function Documentation

◆ set()

template<typename PointCloud >
static void small_gicp::CovarianceSetter< PointCloud >::set ( PointCloud cloud,
size_t  i,
const Eigen::Matrix3d &  eigenvectors 
)
inlinestatic

Compute and set the covariance to the point cloud.

◆ set_invalid()

template<typename PointCloud >
static void small_gicp::CovarianceSetter< PointCloud >::set_invalid ( PointCloud cloud,
size_t  i 
)
inlinestatic

Handle invalid case (too few points).


The documentation for this struct was generated from the following file: