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

#include <hybrid_grid.h>

Inheritance diagram for cartographer::mapping::DynamicGrid< WrappedGrid >:
Inheritance graph
[legend]

Classes

class  Iterator
 

Public Types

using ValueType = typename WrappedGrid::ValueType
 

Public Member Functions

 DynamicGrid ()
 
 DynamicGrid (DynamicGrid &&)=default
 
int grid_size () const
 
ValueTypemutable_value (const Eigen::Array3i &index)
 
DynamicGridoperator= (DynamicGrid &&)=default
 
ValueType value (const Eigen::Array3i &index) const
 

Private Member Functions

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

Private Attributes

int bits_
 
std::vector< std::unique_ptr< WrappedGrid > > meta_cells_
 

Detailed Description

template<typename WrappedGrid>
class cartographer::mapping::DynamicGrid< WrappedGrid >

Definition at line 251 of file hybrid_grid.h.

Member Typedef Documentation

◆ ValueType

template<typename WrappedGrid >
using cartographer::mapping::DynamicGrid< WrappedGrid >::ValueType = typename WrappedGrid::ValueType

Definition at line 253 of file hybrid_grid.h.

Constructor & Destructor Documentation

◆ DynamicGrid() [1/2]

template<typename WrappedGrid >
cartographer::mapping::DynamicGrid< WrappedGrid >::DynamicGrid ( )
inline

Definition at line 255 of file hybrid_grid.h.

◆ DynamicGrid() [2/2]

template<typename WrappedGrid >
cartographer::mapping::DynamicGrid< WrappedGrid >::DynamicGrid ( DynamicGrid< WrappedGrid > &&  )
default

Member Function Documentation

◆ GetMetaIndex()

template<typename WrappedGrid >
Eigen::Array3i cartographer::mapping::DynamicGrid< WrappedGrid >::GetMetaIndex ( const Eigen::Array3i &  index) const
inlineprivate

Definition at line 377 of file hybrid_grid.h.

◆ grid_size()

template<typename WrappedGrid >
int cartographer::mapping::DynamicGrid< WrappedGrid >::grid_size ( ) const
inline

Definition at line 260 of file hybrid_grid.h.

◆ Grow()

template<typename WrappedGrid >
void cartographer::mapping::DynamicGrid< WrappedGrid >::Grow ( )
inlineprivate

Definition at line 385 of file hybrid_grid.h.

◆ mutable_value()

template<typename WrappedGrid >
ValueType* cartographer::mapping::DynamicGrid< WrappedGrid >::mutable_value ( const Eigen::Array3i &  index)
inline

Definition at line 283 of file hybrid_grid.h.

◆ operator=()

template<typename WrappedGrid >
DynamicGrid& cartographer::mapping::DynamicGrid< WrappedGrid >::operator= ( DynamicGrid< WrappedGrid > &&  )
default

◆ value()

template<typename WrappedGrid >
ValueType cartographer::mapping::DynamicGrid< WrappedGrid >::value ( const Eigen::Array3i &  index) const
inline

Definition at line 263 of file hybrid_grid.h.

Member Data Documentation

◆ bits_

template<typename WrappedGrid >
int cartographer::mapping::DynamicGrid< WrappedGrid >::bits_
private

Definition at line 405 of file hybrid_grid.h.

◆ meta_cells_

template<typename WrappedGrid >
std::vector<std::unique_ptr<WrappedGrid> > cartographer::mapping::DynamicGrid< WrappedGrid >::meta_cells_
private

Definition at line 406 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