45 #include <Eigen/src/StlSupport/details.h>
54 template <
typename Po
intT>
inline bool
57 return (std::isfinite (pt.x) && std::isfinite (pt.y) && std::isfinite (pt.z));
61 template <
typename Po
intT>
inline bool
62 isFinite (
const Eigen::internal::workaround_msvc_stl_support<PointT> &pt)
64 return isFinite<PointT> (
static_cast<const PointT&
> (pt));
68 template<>
inline bool isFinite<pcl::Axis>(
const pcl::Axis&) {
return (
true); }
71 template<>
inline bool isFinite<pcl::Boundary>(
const pcl::Boundary&) {
return (
true); }
72 template<>
inline bool isFinite<pcl::CPPFSignature>(
const pcl::CPPFSignature&) {
return (
true); }
79 template<>
inline bool isFinite<pcl::Intensity>(
const pcl::Intensity&) {
return (
true); }
81 template<>
inline bool isFinite<pcl::Label>(
const pcl::Label&) {
return (
true); }
90 return std::isfinite(pt.
f1) && std::isfinite(pt.
f2) && std::isfinite(pt.
f3) && std::isfinite(pt.
f4) && std::isfinite(pt.
alpha_m);
95 template<>
inline bool isFinite<pcl::RGB>(
const pcl::RGB&) {
return (
true); }
97 template<>
inline bool isFinite<pcl::SHOT1344>(
const pcl::SHOT1344&) {
return (
true); }
98 template<>
inline bool isFinite<pcl::SHOT352>(
const pcl::SHOT352&) {
return (
true); }
104 template <>
inline bool
107 return (std::isfinite (p.
x) && std::isfinite (p.
y));
111 template <>
inline bool
114 return (std::isfinite (n.normal_x) && std::isfinite (n.normal_y) && std::isfinite (n.normal_z));
118 template <
typename Po
intT, traits::HasNoXY<Po
intT> = true> constexpr
inline bool
124 template <
typename Po
intT, traits::HasNoXYZ<Po
intT> = true> constexpr
inline bool
130 template <
typename Po
intT, traits::HasNoNormal<Po
intT> = true> constexpr
inline bool
137 template <
typename Po
intT, traits::HasXY<Po
intT> = true>
inline bool
140 return std::isfinite(pt.x) && std::isfinite(pt.y);
143 template <
typename Po
intT, traits::HasXYZ<Po
intT> = true>
inline bool
146 return std::isfinite(pt.x) && std::isfinite(pt.y) && std::isfinite(pt.z);
149 template <
typename Po
intT, traits::HasNormal<Po
intT> = true>
inline bool
152 return std::isfinite(pt.normal_x) && std::isfinite(pt.normal_y) && std::isfinite(pt.normal_z);
Defines all the PCL implemented PointT point type structures.
bool isFinite(const PointT &pt)
Tests if the 3D components of a point are all finite param[in] pt point to be tested return true if f...
constexpr bool isXYFinite(const PointT &) noexcept
constexpr bool isNormalFinite(const PointT &) noexcept
constexpr bool isXYZFinite(const PointT &) noexcept
A point structure representing an Axis using its normal coordinates.
A point structure representing the Binary Robust Invariant Scalable Keypoints (BRISK).
A structure to store if a point in a range image lies on a border between an obstacle and the backgro...
A point structure representing a description of whether a point is lying on a surface boundary or not...
A point structure for storing the Point Pair Feature (CPPF) values.
A point structure representing the Ensemble of Shape Functions (ESF).
A point structure representing the Fast Point Feature Histogram (FPFH).
A point structure representing the Globally Aligned Spatial Distribution (GASD) shape descriptor.
A point structure representing the Globally Aligned Spatial Distribution (GASD) shape and color descr...
A point structure representing the Globally Aligned Spatial Distribution (GASD) shape and color descr...
A point structure representing the Global Radius-based Surface Descriptor (GRSD).
A point structure representing the intensity gradient of an XYZI point cloud.
A point structure representing the grayscale intensity in single-channel images.
A point structure representing the three moment invariants.
A point structure representing the Normal Based Signature for a feature matrix of 4-by-3.
A point structure representing normal coordinates and the surface curvature estimate.
A point structure representing the Point Feature Histogram with colors (PFHRGB).
A point structure representing the Point Feature Histogram (PFH).
A point structure for storing the Point Pair Color Feature (PPFRGB) values.
A point structure for storing the Point Pair Feature (PPF) values.
A 2D point structure representing Euclidean xy coordinates.
A point structure representing Euclidean xyz coordinates, and the RGB color.
A point structure representing the principal curvatures and their magnitudes.
A point structure representing the minimum and maximum surface radii (in meters) computed using RSD.
A structure representing RGB color information.
A point structure representing the generic Signature of Histograms of OrienTations (SHOT) - shape+col...
A point structure representing the generic Signature of Histograms of OrienTations (SHOT) - shape onl...
A point structure representing a Shape Context.
A point structure representing a Unique Shape Context.
A point structure representing the Viewpoint Feature Histogram (VFH).