Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
cartographer::mapping::NestedGrid< WrappedGrid, kBits > Class Template Reference

#include <hybrid_grid.h>

Classes

class  Iterator
 

Public Types

using ValueType = typename WrappedGrid::ValueType
 

Public Member Functions

ValueTypemutable_value (const Eigen::Array3i &index)
 
ValueType value (const Eigen::Array3i &index) const
 

Static Public Member Functions

static int grid_size ()
 

Private Member Functions

Eigen::Array3i GetMetaIndex (const Eigen::Array3i &index) const
 

Private Attributes

std::array< std::unique_ptr< WrappedGrid >, 1<<(3 *kBits)> meta_cells_
 

Detailed Description

template<typename WrappedGrid, int kBits>
class cartographer::mapping::NestedGrid< WrappedGrid, kBits >

Definition at line 144 of file hybrid_grid.h.

Member Typedef Documentation

◆ ValueType

template<typename WrappedGrid , int kBits>
using cartographer::mapping::NestedGrid< WrappedGrid, kBits >::ValueType = typename WrappedGrid::ValueType

Definition at line 146 of file hybrid_grid.h.

Member Function Documentation

◆ GetMetaIndex()

template<typename WrappedGrid , int kBits>
Eigen::Array3i cartographer::mapping::NestedGrid< WrappedGrid, kBits >::GetMetaIndex ( const Eigen::Array3i &  index) const
inlineprivate

Definition at line 236 of file hybrid_grid.h.

◆ grid_size()

template<typename WrappedGrid , int kBits>
static int cartographer::mapping::NestedGrid< WrappedGrid, kBits >::grid_size ( )
inlinestatic

Definition at line 149 of file hybrid_grid.h.

◆ mutable_value()

template<typename WrappedGrid , int kBits>
ValueType* cartographer::mapping::NestedGrid< WrappedGrid, kBits >::mutable_value ( const Eigen::Array3i &  index)
inline

Definition at line 167 of file hybrid_grid.h.

◆ value()

template<typename WrappedGrid , int kBits>
ValueType cartographer::mapping::NestedGrid< WrappedGrid, kBits >::value ( const Eigen::Array3i &  index) const
inline

Definition at line 153 of file hybrid_grid.h.

Member Data Documentation

◆ meta_cells_

template<typename WrappedGrid , int kBits>
std::array<std::unique_ptr<WrappedGrid>, 1 << (3 * kBits)> cartographer::mapping::NestedGrid< WrappedGrid, kBits >::meta_cells_
private

Definition at line 243 of file hybrid_grid.h.


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


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59