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

#include <hybrid_grid.h>

Classes

class  Iterator
 

Public Types

using ValueType = TValueType
 

Public Member Functions

 FlatGrid ()
 
 FlatGrid (const FlatGrid &)=delete
 
ValueTypemutable_value (const Eigen::Array3i &index)
 
FlatGridoperator= (const FlatGrid &)=delete
 
ValueType value (const Eigen::Array3i &index) const
 

Static Public Member Functions

static int grid_size ()
 

Private Attributes

std::array< ValueType, 1<<(3 *kBits)> cells_
 

Detailed Description

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

Definition at line 69 of file hybrid_grid.h.

Member Typedef Documentation

◆ ValueType

template<typename TValueType , int kBits>
using cartographer::mapping::FlatGrid< TValueType, kBits >::ValueType = TValueType

Definition at line 71 of file hybrid_grid.h.

Constructor & Destructor Documentation

◆ FlatGrid() [1/2]

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

Definition at line 74 of file hybrid_grid.h.

◆ FlatGrid() [2/2]

template<typename TValueType , int kBits>
cartographer::mapping::FlatGrid< TValueType, kBits >::FlatGrid ( const FlatGrid< TValueType, kBits > &  )
delete

Member Function Documentation

◆ grid_size()

template<typename TValueType , int kBits>
static int cartographer::mapping::FlatGrid< TValueType, kBits >::grid_size ( )
inlinestatic

Definition at line 84 of file hybrid_grid.h.

◆ mutable_value()

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

Definition at line 93 of file hybrid_grid.h.

◆ operator=()

template<typename TValueType , int kBits>
FlatGrid& cartographer::mapping::FlatGrid< TValueType, kBits >::operator= ( const FlatGrid< TValueType, kBits > &  )
delete

◆ value()

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

Definition at line 88 of file hybrid_grid.h.

Member Data Documentation

◆ cells_

template<typename TValueType , int kBits>
std::array<ValueType, 1 << (3 * kBits)> cartographer::mapping::FlatGrid< TValueType, kBits >::cells_
private

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