call_with_point_type.h File Reference
#include <functional>
#include <type_traits>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <ArmarXCore/core/exceptions/local/UnexpectedEnumValueException.h>
#include <VisionX/interface/core/DataTypes.h>
+ Include dependency graph for call_with_point_type.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FunctorWithReturnType
 Base class of functors with return value. More...
 
struct  PclPointType< pointContentType >
 
struct  PclPointType< PointContentType::eColoredLabeledPoints >
 
struct  PclPointType< PointContentType::eColoredOrientedPoints >
 
struct  PclPointType< PointContentType::eColoredPoints >
 
struct  PclPointType< PointContentType::eIntensity >
 
struct  PclPointType< PointContentType::eLabeledPoints >
 
struct  PclPointType< PointContentType::eOrientedPoints >
 
struct  PclPointType< PointContentType::ePoints >
 
struct  FunctorWithReturnType< ReturnT >
 Base class for functors with return value. More...
 
struct  PointCloudFunctor
 Functor creating a pcl::PointCloud<PointT> and passing it to function. More...
 
struct  PointCloudPtrFunctor
 Functor creating a pcl::PointCloud<PointT>::Ptr and passing it to function. More...
 

Namespaces

 visionx
 ArmarX headers.
 
 visionx::tools
 
 visionx::tools::detail
 

Functions

template<class FunctionT , class... Args>
void callWithPointCloud (const FunctionT &function, PointContentType type, Args... args)
 Overload of callWithPointCloud() for functions passed by const reference. More...
 
template<class FunctionT , class... Args>
void callWithPointCloud (FunctionT &function, PointContentType type, Args... args)
 Call function with a pcl::PointCloud<PointT> with the adequate PointT according to type. More...
 
template<class FunctionT , class... Args>
void callWithPointCloudPtr (const FunctionT &function, PointContentType type, Args... args)
 Overload of callWithPointCloudPtr() for functions passed by const reference. More...
 
template<class FunctionT , class... Args>
void callWithPointCloudPtr (FunctionT &function, PointContentType type, Args... args)
 Call function with a (non-null) pcl::PointCloud<PointT>::Ptr with the adequate PointT according to type. More...
 
template<class FunctorT , class... Args>
std::enable_if_t< !std::is_base_of< detail::FunctorWithReturnType, FunctorT >::value, void > callWithPointType (const FunctorT &functor, PointContentType type, Args... args)
 Overload of visitWithPointType() for functors passed by const reference. More...
 
template<class VisitorT , class... Args>
VisitorT::ReturnType callWithPointType (const VisitorT &functor, PointContentType type, Args... args)
 Overload of visitWithPointType() for functors with return value passed by const reference. More...
 
template<class FunctorT , class... Args>
std::enable_if_t< !std::is_base_of< detail::FunctorWithReturnType, FunctorT >::value, void > callWithPointType (FunctorT &functor, PointContentType type, Args... args)
 Call functor with the correct pcl point type according to type. More...
 
template<class VisitorT , class... Args>
VisitorT::ReturnType callWithPointType (VisitorT &functor, PointContentType type, Args... args)
 Overload of visitWithPointType() for functors with return value. More...