small_gicp
Classes | Public Member Functions | Public Attributes | List of all members
small_gicp::GaussianVoxel Struct Reference

Gaussian voxel that computes and stores voxel mean and covariance. More...

#include <gaussian_voxelmap.hpp>

Classes

struct  Setting
 

Public Member Functions

 GaussianVoxel ()
 Constructor. More...
 
size_t size () const
 Number of points in the voxel (Always 1 for GaussianVoxel). More...
 
template<typename PointCloud >
void add (const Setting &setting, const Eigen::Vector4d &transformed_pt, const PointCloud &points, size_t i, const Eigen::Isometry3d &T)
 Add a point to the voxel. More...
 
void finalize ()
 Finalize the voxel mean and covariance. More...
 

Public Attributes

bool finalized
 If true, mean and cov are finalized, otherwise they represent the sum of input points. More...
 
size_t num_points
 Number of input points. More...
 
Eigen::Vector4d mean
 Mean. More...
 
Eigen::Matrix4d cov
 Covariance. More...
 

Detailed Description

Gaussian voxel that computes and stores voxel mean and covariance.

Constructor & Destructor Documentation

◆ GaussianVoxel()

small_gicp::GaussianVoxel::GaussianVoxel ( )
inline

Constructor.

Member Function Documentation

◆ add()

template<typename PointCloud >
void small_gicp::GaussianVoxel::add ( const Setting setting,
const Eigen::Vector4d &  transformed_pt,
const PointCloud points,
size_t  i,
const Eigen::Isometry3d &  T 
)
inline

Add a point to the voxel.

Parameters
settingSetting
transformed_ptTransformed point mean
pointsPoint cloud
iIndex of the point
TTransformation matrix

◆ finalize()

void small_gicp::GaussianVoxel::finalize ( )
inline

Finalize the voxel mean and covariance.

◆ size()

size_t small_gicp::GaussianVoxel::size ( ) const
inline

Number of points in the voxel (Always 1 for GaussianVoxel).

Member Data Documentation

◆ cov

Eigen::Matrix4d small_gicp::GaussianVoxel::cov

Covariance.

◆ finalized

bool small_gicp::GaussianVoxel::finalized

If true, mean and cov are finalized, otherwise they represent the sum of input points.

◆ mean

Eigen::Vector4d small_gicp::GaussianVoxel::mean

Mean.

◆ num_points

size_t small_gicp::GaussianVoxel::num_points

Number of input points.


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