small_gicp
Namespaces | Functions
traits.hpp File Reference
#include <Eigen/Core>
Include dependency graph for traits.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 small_gicp
 
 small_gicp::traits
 

Functions

template<typename T >
size_t small_gicp::traits::size (const T &points)
 Get the number of points. More...
 
template<typename T >
bool small_gicp::traits::has_points (const T &points)
 Check if the point cloud has points. More...
 
template<typename T >
bool small_gicp::traits::has_normals (const T &points)
 Check if the point cloud has normals. More...
 
template<typename T >
bool small_gicp::traits::has_covs (const T &points)
 Check if the point cloud has covariances. More...
 
template<typename T >
auto small_gicp::traits::point (const T &points, size_t i)
 Get i-th point. 4D vector is used to take advantage of SIMD intrinsics. The last element must be filled by one (x, y, z, 1). More...
 
template<typename T >
auto small_gicp::traits::normal (const T &points, size_t i)
 Get i-th normal. 4D vector is used to take advantage of SIMD intrinsics. The last element must be filled by zero (nx, ny, nz, 0). More...
 
template<typename T >
auto small_gicp::traits::cov (const T &points, size_t i)
 Get i-th covariance. Only the top-left 3x3 matrix is filled, and the bottom row and the right col must be filled by zero. More...
 
template<typename T >
void small_gicp::traits::resize (T &points, size_t n)
 Resize the point cloud (this function should resize all attributes) More...
 
template<typename T >
void small_gicp::traits::set_point (T &points, size_t i, const Eigen::Vector4d &pt)
 Set i-th point. (x, y, z, 1) More...
 
template<typename T >
void small_gicp::traits::set_normal (T &points, size_t i, const Eigen::Vector4d &pt)
 Set i-th normal. (nx, nz, nz, 0) More...
 
template<typename T >
void small_gicp::traits::set_cov (T &points, size_t i, const Eigen::Matrix4d &cov)
 Set i-th covariance. Only the top-left 3x3 matrix should be filled. More...