Linear container for incremental covariance and normal estimation.
More...
#include <incremental_covariance_container.hpp>
|
|
| IncrementalCovarianceContainer () |
| | Constructor.
|
| |
|
size_t | size () const |
| | Number of points in the container.
|
| |
|
void | add (const Setting &setting, const PointCloud &points, size_t i) |
| | Add a point to the container.
|
| |
|
void | finalize () |
| | Finalize the container (Nothing to do for FlatContainer).
|
| |
| template<typename Result > |
| void | knn_search (const Eigen::Vector4d &pt, Result &result) const |
| | Find k nearest neighbors.
|
| |
| template<typename Result > |
| void | knn_search_force (const Eigen::Vector4d &pt, Result &result) const |
| | Find k nearest neighbors.
|
| |
|
void | set_valid (int i) |
| | Set the i-th point as valid.
|
| |
|
bool | valid (int i) const |
| | Check if the i-th point is valid.
|
| |
|
size_t | birthday (int i) const |
| | Get the time when the i-th point was inserted.
|
| |
|
size_t | age (int i, size_t lru) const |
| | Get the time since the i-th point was inserted.
|
| |
|
size_t | remove_old_invalid (int age_thresh, size_t lru) |
| | Remove old invalid points.
|
| |
|
|
std::vector< Eigen::Vector4d > | points |
| | Points.
|
| |
|
std::vector< size_t > | flags |
| | State flags.
|
| |
|
std::vector< Eigen::Vector4d > | normals |
| | Normals.
|
| |
|
std::vector< Eigen::Matrix4d > | covs |
| | Covariances.
|
| |
|
|
static constexpr size_t | VALID_BIT = 1ull << 63 |
| |
|
static constexpr size_t | BIRTHDAY_MASK = (VALID_BIT >> 1) - 1 |
| |
Linear container for incremental covariance and normal estimation.
◆ knn_search()
template<typename Result >
| void gtsam_points::IncrementalCovarianceContainer::knn_search |
( |
const Eigen::Vector4d & |
pt, |
|
|
Result & |
result |
|
) |
| const |
|
inline |
Find k nearest neighbors.
- Parameters
-
| pt | Query point |
| result | Result |
◆ knn_search_force()
template<typename Result >
| void gtsam_points::IncrementalCovarianceContainer::knn_search_force |
( |
const Eigen::Vector4d & |
pt, |
|
|
Result & |
result |
|
) |
| const |
|
inline |
Find k nearest neighbors.
- Parameters
-
| pt | Query point |
| result | Result |
The documentation for this struct was generated from the following file: