Public Member Functions | Private Attributes | List of all members
mp2p_icp::pointcloud_bitfield_t::DenseOrSparseBitField Struct Reference

#include <pointcloud_bitfield.h>

Public Member Functions

void assign (size_t numElements, bool dense)
 
 DenseOrSparseBitField ()=default
 
void mark_as_set (const size_t id)
 
bool operator[] (const size_t id) const
 
 ~DenseOrSparseBitField ()=default
 

Private Attributes

std::optional< std::vector< bool > > dense_
 
std::set< uint64_t > sparse_
 

Detailed Description

Definition at line 39 of file pointcloud_bitfield.h.

Constructor & Destructor Documentation

◆ DenseOrSparseBitField()

mp2p_icp::pointcloud_bitfield_t::DenseOrSparseBitField::DenseOrSparseBitField ( )
default

◆ ~DenseOrSparseBitField()

mp2p_icp::pointcloud_bitfield_t::DenseOrSparseBitField::~DenseOrSparseBitField ( )
default

Member Function Documentation

◆ assign()

void mp2p_icp::pointcloud_bitfield_t::DenseOrSparseBitField::assign ( size_t  numElements,
bool  dense 
)
inline

Definition at line 45 of file pointcloud_bitfield.h.

◆ mark_as_set()

void mp2p_icp::pointcloud_bitfield_t::DenseOrSparseBitField::mark_as_set ( const size_t  id)
inline

Definition at line 67 of file pointcloud_bitfield.h.

◆ operator[]()

bool mp2p_icp::pointcloud_bitfield_t::DenseOrSparseBitField::operator[] ( const size_t  id) const
inline

Definition at line 60 of file pointcloud_bitfield.h.

Member Data Documentation

◆ dense_

std::optional<std::vector<bool> > mp2p_icp::pointcloud_bitfield_t::DenseOrSparseBitField::dense_
private

Definition at line 76 of file pointcloud_bitfield.h.

◆ sparse_

std::set<uint64_t> mp2p_icp::pointcloud_bitfield_t::DenseOrSparseBitField::sparse_
private

Definition at line 77 of file pointcloud_bitfield.h.


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


mp2p_icp
Author(s):
autogenerated on Wed Oct 23 2024 02:45:42