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

#include <hybrid_grid.h>

Public Member Functions

void AdvanceToEnd ()
 
bool Done () const
 
Eigen::Array3i GetCellIndex () const
 
const ValueTypeGetValue () const
 
 Iterator (const DynamicGrid &dynamic_grid)
 
void Next ()
 
bool operator!= (const Iterator &it) const
 
const std::pair< Eigen::Array3i, ValueTypeoperator* () const
 
Iteratoroperator++ ()
 

Private Member Functions

void AdvanceToValidNestedIterator ()
 

Private Attributes

int bits_
 
const std::unique_ptr< WrappedGrid > * current_
 
const std::unique_ptr< WrappedGrid > *const end_
 
WrappedGrid::Iterator nested_iterator_
 

Detailed Description

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

Definition at line 304 of file hybrid_grid.h.

Constructor & Destructor Documentation

◆ Iterator()

template<typename WrappedGrid >
cartographer::mapping::DynamicGrid< WrappedGrid >::Iterator::Iterator ( const DynamicGrid dynamic_grid)
inlineexplicit

Definition at line 306 of file hybrid_grid.h.

Member Function Documentation

◆ AdvanceToEnd()

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

Definition at line 341 of file hybrid_grid.h.

◆ AdvanceToValidNestedIterator()

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

Definition at line 357 of file hybrid_grid.h.

◆ Done()

template<typename WrappedGrid >
bool cartographer::mapping::DynamicGrid< WrappedGrid >::Iterator::Done ( ) const
inline

Definition at line 325 of file hybrid_grid.h.

◆ GetCellIndex()

template<typename WrappedGrid >
Eigen::Array3i cartographer::mapping::DynamicGrid< WrappedGrid >::Iterator::GetCellIndex ( ) const
inline

Definition at line 327 of file hybrid_grid.h.

◆ GetValue()

template<typename WrappedGrid >
const ValueType& cartographer::mapping::DynamicGrid< WrappedGrid >::Iterator::GetValue ( ) const
inline

Definition at line 336 of file hybrid_grid.h.

◆ Next()

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

Definition at line 315 of file hybrid_grid.h.

◆ operator!=()

template<typename WrappedGrid >
bool cartographer::mapping::DynamicGrid< WrappedGrid >::Iterator::operator!= ( const Iterator it) const
inline

Definition at line 352 of file hybrid_grid.h.

◆ operator*()

template<typename WrappedGrid >
const std::pair<Eigen::Array3i, ValueType> cartographer::mapping::DynamicGrid< WrappedGrid >::Iterator::operator* ( ) const
inline

Definition at line 343 of file hybrid_grid.h.

◆ operator++()

template<typename WrappedGrid >
Iterator& cartographer::mapping::DynamicGrid< WrappedGrid >::Iterator::operator++ ( )
inline

Definition at line 347 of file hybrid_grid.h.

Member Data Documentation

◆ bits_

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

Definition at line 368 of file hybrid_grid.h.

◆ current_

template<typename WrappedGrid >
const std::unique_ptr<WrappedGrid>* cartographer::mapping::DynamicGrid< WrappedGrid >::Iterator::current_
private

Definition at line 369 of file hybrid_grid.h.

◆ end_

template<typename WrappedGrid >
const std::unique_ptr<WrappedGrid>* const cartographer::mapping::DynamicGrid< WrappedGrid >::Iterator::end_
private

Definition at line 370 of file hybrid_grid.h.

◆ nested_iterator_

template<typename WrappedGrid >
WrappedGrid::Iterator cartographer::mapping::DynamicGrid< WrappedGrid >::Iterator::nested_iterator_
private

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