Point Cloud Library (PCL)  1.11.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Classes | Typedefs | Variables
traits Namespace Reference

Classes

struct  has_all_fields
 Metafunction to check if a given point type has all given fields. More...
 
struct  has_any_field
 Metafunction to check if a given point type has any of the given fields. More...
 
struct  has_color
 Metafunction to check if a given point type has either rgb or rgba field. More...
 
struct  has_curvature
 Metafunction to check if a given point type has curvature field. More...
 
struct  has_field
 Metafunction to check if a given point type has a given field. More...
 
struct  has_intensity
 Metafunction to check if a given point type has intensity field. More...
 
struct  has_label
 Metafunction to check if a given point type has label field. More...
 
struct  has_normal
 Metafunction to check if a given point type has normal_x, normal_y, and normal_z fields. More...
 
struct  has_xy
 Traits defined for ease of use with fields already registered before. More...
 
struct  has_xyz
 Metafunction to check if a given point type has x, y, and z fields. More...
 

Typedefs

template<typename PointT >
using HasXY = std::enable_if_t< has_xy_v< PointT >, bool >
 
template<typename PointT >
using HasNoXY = std::enable_if_t<!has_xy_v< PointT >, bool >
 
template<typename PointT >
using HasXYZ = std::enable_if_t< has_xyz_v< PointT >, bool >
 
template<typename PointT >
using HasNoXYZ = std::enable_if_t<!has_xyz_v< PointT >, bool >
 
template<typename PointT >
using HasNormal = std::enable_if_t< has_normal_v< PointT >, bool >
 
template<typename PointT >
using HasNoNormal = std::enable_if_t<!has_normal_v< PointT >, bool >
 
template<typename PointT >
using HasCurvature = std::enable_if_t< has_curvature_v< PointT >, bool >
 
template<typename PointT >
using HasNoCurvature = std::enable_if_t<!has_curvature_v< PointT >, bool >
 
template<typename PointT >
using HasIntensity = std::enable_if_t< has_intensity_v< PointT >, bool >
 
template<typename PointT >
using HasNoIntensity = std::enable_if_t<!has_intensity_v< PointT >, bool >
 
template<typename PointT >
using HasColor = std::enable_if_t< has_color_v< PointT >, bool >
 
template<typename PointT >
using HasNoColor = std::enable_if_t<!has_color_v< PointT >, bool >
 
template<typename PointT >
using HasLabel = std::enable_if_t< has_label_v< PointT >, bool >
 
template<typename PointT >
using HasNoLabel = std::enable_if_t<!has_label_v< PointT >, bool >
 

Variables

template<typename PointT >
constexpr auto has_xy_v = has_xy<PointT>::value
 
template<typename PointT >
constexpr auto has_xyz_v = has_xyz<PointT>::value
 
template<typename PointT >
constexpr auto has_normal_v = has_normal<PointT>::value
 
template<typename PointT >
constexpr auto has_curvature_v = has_curvature<PointT>::value
 
template<typename PointT >
constexpr auto has_intensity_v = has_intensity<PointT>::value
 
template<typename PointT >
constexpr auto has_color_v = has_color<PointT>::value
 
template<typename PointT >
constexpr auto has_label_v = has_label<PointT>::value
 

Typedef Documentation

template<typename PointT >
using traits::HasColor = typedef std::enable_if_t<has_color_v<PointT>, bool>

Definition at line 2370 of file point_types.hpp.

template<typename PointT >
using traits::HasCurvature = typedef std::enable_if_t<has_curvature_v<PointT>, bool>

Definition at line 2341 of file point_types.hpp.

template<typename PointT >
using traits::HasIntensity = typedef std::enable_if_t<has_intensity_v<PointT>, bool>

Definition at line 2355 of file point_types.hpp.

template<typename PointT >
using traits::HasLabel = typedef std::enable_if_t<has_label_v<PointT>, bool>

Definition at line 2384 of file point_types.hpp.

template<typename PointT >
using traits::HasNoColor = typedef std::enable_if_t<!has_color_v<PointT>, bool>

Definition at line 2373 of file point_types.hpp.

template<typename PointT >
using traits::HasNoCurvature = typedef std::enable_if_t<!has_curvature_v<PointT>, bool>

Definition at line 2344 of file point_types.hpp.

template<typename PointT >
using traits::HasNoIntensity = typedef std::enable_if_t<!has_intensity_v<PointT>, bool>

Definition at line 2358 of file point_types.hpp.

template<typename PointT >
using traits::HasNoLabel = typedef std::enable_if_t<!has_label_v<PointT>, bool>

Definition at line 2387 of file point_types.hpp.

template<typename PointT >
using traits::HasNoNormal = typedef std::enable_if_t<!has_normal_v<PointT>, bool>

Definition at line 2330 of file point_types.hpp.

template<typename PointT >
using traits::HasNormal = typedef std::enable_if_t<has_normal_v<PointT>, bool>

Definition at line 2327 of file point_types.hpp.

template<typename PointT >
using traits::HasNoXY = typedef std::enable_if_t<!has_xy_v<PointT>, bool>

Definition at line 2297 of file point_types.hpp.

template<typename PointT >
using traits::HasNoXYZ = typedef std::enable_if_t<!has_xyz_v<PointT>, bool>

Definition at line 2313 of file point_types.hpp.

template<typename PointT >
using traits::HasXY = typedef std::enable_if_t<has_xy_v<PointT>, bool>

Definition at line 2294 of file point_types.hpp.

template<typename PointT >
using traits::HasXYZ = typedef std::enable_if_t<has_xyz_v<PointT>, bool>

Definition at line 2310 of file point_types.hpp.

Variable Documentation

template<typename PointT >
constexpr auto traits::has_color_v = has_color<PointT>::value

Definition at line 2367 of file point_types.hpp.

template<typename PointT >
constexpr auto traits::has_curvature_v = has_curvature<PointT>::value

Definition at line 2338 of file point_types.hpp.

template<typename PointT >
constexpr auto traits::has_intensity_v = has_intensity<PointT>::value

Definition at line 2352 of file point_types.hpp.

template<typename PointT >
constexpr auto traits::has_label_v = has_label<PointT>::value

Definition at line 2381 of file point_types.hpp.

template<typename PointT >
constexpr auto traits::has_normal_v = has_normal<PointT>::value

Definition at line 2324 of file point_types.hpp.

template<typename PointT >
constexpr auto traits::has_xy_v = has_xy<PointT>::value

Definition at line 2291 of file point_types.hpp.

template<typename PointT >
constexpr auto traits::has_xyz_v = has_xyz<PointT>::value

Definition at line 2307 of file point_types.hpp.