Public Member Functions | Private Attributes | List of all members
cartographer::mapping::FlatGrid< TValueType, kBits >::Iterator Class Reference

#include <hybrid_grid.h>

Public Member Functions

bool Done () const
 
Eigen::Array3i GetCellIndex () const
 
const ValueTypeGetValue () const
 
 Iterator ()
 
 Iterator (const FlatGrid &flat_grid)
 
void Next ()
 

Private Attributes

const ValueTypecurrent_
 
const ValueTypeend_
 

Detailed Description

template<typename TValueType, int kBits>
class cartographer::mapping::FlatGrid< TValueType, kBits >::Iterator

Definition at line 99 of file hybrid_grid.h.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<typename TValueType , int kBits>
cartographer::mapping::FlatGrid< TValueType, kBits >::Iterator::Iterator ( )
inline

Definition at line 101 of file hybrid_grid.h.

◆ Iterator() [2/2]

template<typename TValueType , int kBits>
cartographer::mapping::FlatGrid< TValueType, kBits >::Iterator::Iterator ( const FlatGrid flat_grid)
inlineexplicit

Definition at line 103 of file hybrid_grid.h.

Member Function Documentation

◆ Done()

template<typename TValueType , int kBits>
bool cartographer::mapping::FlatGrid< TValueType, kBits >::Iterator::Done ( ) const
inline

Definition at line 118 of file hybrid_grid.h.

◆ GetCellIndex()

template<typename TValueType , int kBits>
Eigen::Array3i cartographer::mapping::FlatGrid< TValueType, kBits >::Iterator::GetCellIndex ( ) const
inline

Definition at line 120 of file hybrid_grid.h.

◆ GetValue()

template<typename TValueType , int kBits>
const ValueType& cartographer::mapping::FlatGrid< TValueType, kBits >::Iterator::GetValue ( ) const
inline

Definition at line 126 of file hybrid_grid.h.

◆ Next()

template<typename TValueType , int kBits>
void cartographer::mapping::FlatGrid< TValueType, kBits >::Iterator::Next ( )
inline

Definition at line 111 of file hybrid_grid.h.

Member Data Documentation

◆ current_

template<typename TValueType , int kBits>
const ValueType* cartographer::mapping::FlatGrid< TValueType, kBits >::Iterator::current_
private

Definition at line 132 of file hybrid_grid.h.

◆ end_

template<typename TValueType , int kBits>
const ValueType* cartographer::mapping::FlatGrid< TValueType, kBits >::Iterator::end_
private

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