#include <iterator>
#include <type_traits>
#include <utility>
#include "lvr2/attrmaps/AttrMaps.hpp"
#include "lvr2/geometry/Handles.hpp"
#include "lvr2/algorithm/UtilAlgorithms.tcc"
Go to the source code of this file.
|
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...
|
|