Point Cloud Library (PCL)
1.11.1-dev
|
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); }
74 template<>
inline bool isFinite<pcl::Intensity>(
const pcl::Intensity&) {
return (
true); }
76 template<>
inline bool isFinite<pcl::Label>(
const pcl::Label&) {
return (
true); }
82 template<>
inline bool isFinite<pcl::PPFSignature>(
const pcl::PPFSignature&) {
return (
true); }
85 template<>
inline bool isFinite<pcl::RGB>(
const pcl::RGB&) {
return (
true); }
87 template<>
inline bool isFinite<pcl::SHOT1344>(
const pcl::SHOT1344&) {
return (
true); }
88 template<>
inline bool isFinite<pcl::SHOT352>(
const pcl::SHOT352&) {
return (
true); }
94 template <>
inline bool
97 return (std::isfinite (p.
x) && std::isfinite (p.
y));
101 template <>
inline bool
104 return (std::isfinite (n.normal_x) && std::isfinite (n.normal_y) && std::isfinite (n.normal_z));
108 template <
typename Po
intT, traits::HasNoXY<Po
intT> = true> constexpr
inline bool
114 template <
typename Po
intT, traits::HasNoXYZ<Po
intT> = true> constexpr
inline bool
120 template <
typename Po
intT, traits::HasNoNormal<Po
intT> = true> constexpr
inline bool
127 template <
typename Po
intT, traits::HasXY<Po
intT> = true>
inline bool
130 return std::isfinite(pt.x) && std::isfinite(pt.y);
133 template <
typename Po
intT, traits::HasXYZ<Po
intT> = true>
inline bool
136 return std::isfinite(pt.x) && std::isfinite(pt.y) && std::isfinite(pt.z);
139 template <
typename Po
intT, traits::HasNormal<Po
intT> = true>
inline bool
142 return std::isfinite(pt.normal_x) && std::isfinite(pt.normal_y) && std::isfinite(pt.normal_z);
A point structure representing the Point Feature Histogram (PFH).
A point structure representing normal coordinates and the surface curvature estimate.
A point structure representing the minimum and maximum surface radii (in meters) computed using RSD.
A point structure for storing the Point Pair Color Feature (PPFRGB) values.
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...
A point structure representing the Normal Based Signature for a feature matrix of 4-by-3.
constexpr bool isXYZFinite(const PointT &) noexcept
A point structure representing a description of whether a point is lying on a surface boundary or not...
A point structure representing the Fast Point Feature Histogram (FPFH).
A point structure representing Euclidean xyz coordinates, and the RGB color.
A point structure representing a Unique Shape Context.
A point structure representing the grayscale intensity in single-channel images.
A point structure representing a Shape Context.
A point structure for storing the Point Pair Feature (PPF) values.
A point structure representing the Binary Robust Invariant Scalable Keypoints (BRISK).
A point structure representing an Axis using its normal coordinates.
A structure representing RGB color information.
A point structure representing the Point Feature Histogram with colors (PFHRGB).
A point structure representing the three moment invariants.
A 2D point structure representing Euclidean xy coordinates.
A point structure representing the principal curvatures and their magnitudes.
A point structure representing the Ensemble of Shape Functions (ESF).
constexpr bool isXYFinite(const PointT &) noexcept
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 the generic Signature of Histograms of OrienTations (SHOT) - shape+col...
A point structure representing the generic Signature of Histograms of OrienTations (SHOT) - shape onl...
constexpr bool isNormalFinite(const PointT &) noexcept
A point structure representing the Viewpoint Feature Histogram (VFH).
A point structure representing the intensity gradient of an XYZI point cloud.