UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::CostBlock< BF > Struct Template Reference

Public Types

using cost_t = CostElement::cost_t
 

Public Member Functions

constexpr CostBlock (CostElement const &parent)
 
constexpr CostBlock (float cost)
 
constexpr void fill (CostElement const &parent)
 
constexpr CostElementoperator[] (std::size_t pos)
 
constexpr CostElement const & operator[] (std::size_t pos) const
 

Public Attributes

std::array< CostElement, BF > data
 

Detailed Description

template<std::size_t BF>
struct ufo::CostBlock< BF >

Definition at line 68 of file block.hpp.

Member Typedef Documentation

◆ cost_t

template<std::size_t BF>
using ufo::CostBlock< BF >::cost_t = CostElement::cost_t

Definition at line 69 of file block.hpp.

Constructor & Destructor Documentation

◆ CostBlock() [1/2]

template<std::size_t BF>
constexpr ufo::CostBlock< BF >::CostBlock ( float  cost)
inlineconstexpr

Definition at line 75 of file block.hpp.

◆ CostBlock() [2/2]

template<std::size_t BF>
constexpr ufo::CostBlock< BF >::CostBlock ( CostElement const &  parent)
inlineconstexpr

Definition at line 77 of file block.hpp.

Member Function Documentation

◆ fill()

template<std::size_t BF>
constexpr void ufo::CostBlock< BF >::fill ( CostElement const &  parent)
inlineconstexpr

Definition at line 79 of file block.hpp.

◆ operator[]() [1/2]

template<std::size_t BF>
constexpr CostElement & ufo::CostBlock< BF >::operator[] ( std::size_t  pos)
inlineconstexpr

Definition at line 81 of file block.hpp.

◆ operator[]() [2/2]

template<std::size_t BF>
constexpr CostElement const & ufo::CostBlock< BF >::operator[] ( std::size_t  pos) const
inlineconstexpr

Definition at line 87 of file block.hpp.

Member Data Documentation

◆ data

template<std::size_t BF>
std::array<CostElement, BF> ufo::CostBlock< BF >::data

Definition at line 71 of file block.hpp.


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