Namespaces | Functions
UtilAlgorithms.hpp File Reference
#include <iterator>
#include <type_traits>
#include <utility>
#include "lvr2/attrmaps/AttrMaps.hpp"
#include "lvr2/geometry/Handles.hpp"
#include "lvr2/algorithm/UtilAlgorithms.tcc"
Include dependency graph for UtilAlgorithms.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 lvr2
 

Functions

template<template< typename, typename > typename OutMapT, typename IterProxyT , typename GenF >
OutMapT< typename decltype(std::declval< IterProxyT >).begin())::HandleType, typename std::result_of< GenF(typename decltype(std::declval< IterProxyT >).begin())::HandleType)>::type > lvr2::attrMapFromFunc (IterProxyT iterProxy, GenF func)
 Creates an attribute map by calling the given function for each element in the given iterator. The iterator yields the keys, the function gives us the corresponding value. More...
 
template<template< typename, typename > typename OutMapT, typename InMapT , typename MapF >
OutMapT< typename InMapT::HandleType, std::result_of_t< MapF(typename InMapT::ValueType)> > lvr2::map (const InMapT &mapIn, MapF func)
 Calls func for each value of the given map and save the result in the output map. More...
 
template<typename HandleT , typename ValueT >
pair< ValueT, ValueT > lvr2::minMaxOfMap (const AttributeMap< HandleT, ValueT > &map)
 Returns the minimum and maximum element from the given map. More...
 


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:26