35template <
typename Po
intT,
typename Field>
39template <
typename Po
intT,
typename Field>
43template <
typename Po
intT,
typename Field>
54template <
typename Po
intT>
57template <
typename Po
intT>
60template <
typename Po
intT>
61using HasXY = std::enable_if_t<has_xy_v<PointT>,
bool>;
63template <
typename Po
intT>
64using HasNoXY = std::enable_if_t<!has_xy_v<PointT>,
bool>;
67template <
typename Po
intT>
70template <
typename Po
intT>
73template <
typename Po
intT>
74using HasXYZ = std::enable_if_t<has_xyz_v<PointT>,
bool>;
76template <
typename Po
intT>
77using HasNoXYZ = std::enable_if_t<!has_xyz_v<PointT>,
bool>;
81template <
typename Po
intT>
84template <
typename Po
intT>
87template <
typename Po
intT>
88using HasNormal = std::enable_if_t<has_normal_v<PointT>,
bool>;
90template <
typename Po
intT>
91using HasNoNormal = std::enable_if_t<!has_normal_v<PointT>,
bool>;
94template <
typename Po
intT>
97template <
typename Po
intT>
100template <
typename Po
intT>
103template <
typename Po
intT>
107template <
typename Po
intT>
110template <
typename Po
intT>
113template <
typename Po
intT>
116template <
typename Po
intT>
120template <
typename Po
intT>
123template <
typename Po
intT>
126template <
typename Po
intT>
127using HasColor = std::enable_if_t<has_color_v<PointT>,
bool>;
129template <
typename Po
intT>
130using HasNoColor = std::enable_if_t<!has_color_v<PointT>,
bool>;
133template <
typename Po
intT>
136template <
typename Po
intT>
139template <
typename Po
intT>
140using HasLabel = std::enable_if_t<has_label_v<PointT>,
bool>;
142template <
typename Po
intT>
143using HasNoLabel = std::enable_if_t<!has_label_v<PointT>,
bool>;
148#include <pcl/impl/field_traits.hpp>
std::enable_if_t< has_curvature_v< PointT >, bool > HasCurvature
std::enable_if_t< has_normal_v< PointT >, bool > HasNormal
std::enable_if_t< has_intensity_v< PointT >, bool > HasIntensity
std::enable_if_t< has_color_v< PointT >, bool > HasColor
std::enable_if_t<!has_normal_v< PointT >, bool > HasNoNormal
constexpr auto has_label_v
constexpr auto has_color_v
constexpr auto has_intensity_v
std::enable_if_t<!has_xyz_v< PointT >, bool > HasNoXYZ
std::enable_if_t<!has_intensity_v< PointT >, bool > HasNoIntensity
std::enable_if_t< has_xyz_v< PointT >, bool > HasXYZ
std::enable_if_t<!has_curvature_v< PointT >, bool > HasNoCurvature
std::enable_if_t<!has_color_v< PointT >, bool > HasNoColor
std::enable_if_t<!has_xy_v< PointT >, bool > HasNoXY
std::enable_if_t<!has_label_v< PointT >, bool > HasNoLabel
constexpr auto has_curvature_v
std::enable_if_t< has_xy_v< PointT >, bool > HasXY
std::enable_if_t< has_label_v< PointT >, bool > HasLabel
constexpr auto has_normal_v
Metafunction to check if a given point type has all given fields.
Metafunction to check if a given point type has any of the given fields.
Metafunction to check if a given point type has either rgb or rgba field.
Metafunction to check if a given point type has curvature field.
Metafunction to check if a given point type has a given field.
Metafunction to check if a given point type has intensity field.
Metafunction to check if a given point type has label field.
Metafunction to check if a given point type has normal_x, normal_y, and normal_z fields.
Traits defined for ease of use with common fields.
Metafunction to check if a given point type has x, y, and z fields.