Point Cloud Library (PCL)  1.15.1-dev
pcl::traits::has_field< PointT, Field > Struct Template Reference

Metafunction to check if a given point type has a given field. More...

#include <pcl/impl/field_traits.hpp>

+ Inheritance diagram for pcl::traits::has_field< PointT, Field >:
+ Collaboration diagram for pcl::traits::has_field< PointT, Field >:

Detailed Description

template<typename PointT, typename Field>
struct pcl::traits::has_field< PointT, Field >

Metafunction to check if a given point type has a given field.

Example usage at run-time:

Metafunction to check if a given point type has a given field.

Example usage at compile-time:

POINT_TYPE_SHOULD_HAVE_LABEL_FIELD,
(PointT));
A point structure representing Euclidean xyz coordinates, and the RGB color.

Definition at line 47 of file field_traits.hpp.


The documentation for this struct was generated from the following file: