Point Cloud Library (PCL) 1.15.1-dev
Loading...
Searching...
No Matches
Classes | Functions
pcl::octree::detail Namespace Reference

Classes

struct  has_getPointIndicesVector
 
struct  has_getPointIndicesVector< T, std::void_t< decltype(std::declval< const T & >().getPointIndicesVector())> >
 

Functions

template<class T , std::enable_if_t< has_getPointIndicesVector< T >::value, int > = 0>
decltype(auto) getPointIndices (const T &leaf)
 If leaf has function getPointIndicesVector(), call it.
 
template<class T , std::enable_if_t<!has_getPointIndicesVector< T >::value, int > = 0>
pcl::Indices getPointIndices (const T &leaf)
 If leaf has function getPointIndicesVector(), call it.
 

Function Documentation

◆ getPointIndices() [1/2]

template<class T , std::enable_if_t< has_getPointIndicesVector< T >::value, int > = 0>
decltype(auto) pcl::octree::detail::getPointIndices ( const T &  leaf)

If leaf has function getPointIndicesVector(), call it.

Otherwise call leaf.getPointIndices().

Definition at line 65 of file octree_search.hpp.

◆ getPointIndices() [2/2]

template<class T , std::enable_if_t<!has_getPointIndicesVector< T >::value, int > = 0>
pcl::Indices pcl::octree::detail::getPointIndices ( const T &  leaf)

If leaf has function getPointIndicesVector(), call it.

Otherwise call leaf.getPointIndices().

Definition at line 75 of file octree_search.hpp.