Go to the documentation of this file.
45 void assign(
size_t numElements,
bool dense)
51 dense_->assign(numElements,
false);
76 std::optional<std::vector<bool>>
dense_;
91 for (
const auto& kv : pc.
layers)
97 nn->nn_index_count(), nn->nn_has_indices_or_ids());
99 std::set<layer_name_t> layersToRemove;
102 if (pc.
layers.count(kv.first) == 0) layersToRemove.insert(kv.first);
104 for (
const auto& ly : layersToRemove)
point_layers.erase(ly);
std::vector< bool > lines
void initialize_from(const metric_map_t &pc)
std::vector< bool > planes
bool operator[](const size_t id) const
~DenseOrSparseBitField()=default
std::optional< std::vector< bool > > dense_
std::vector< plane_patch_t > planes
DenseOrSparseBitField()=default
std::vector< mrpt::math::TLine3D > lines
void assign(size_t numElements, bool dense)
void mark_as_set(const size_t id)
pointcloud_bitfield_t()=default
std::map< layer_name_t, DenseOrSparseBitField > point_layers
Generic representation of pointcloud(s) and/or extracted features.
Generic container of pointcloud(s), extracted features and other maps.
std::set< uint64_t > sparse_
~pointcloud_bitfield_t()=default
const mrpt::maps::NearestNeighborsCapable * MapToNN(const mrpt::maps::CMetricMap &map, bool throwIfNotImplemented)
std::map< layer_name_t, mrpt::maps::CMetricMap::Ptr > layers
mp2p_icp
Author(s):
autogenerated on Wed Oct 23 2024 02:45:40