40 #ifndef PCL_COMMON_POINT_TESTS_H_ 41 #define PCL_COMMON_POINT_TESTS_H_ 44 #include <Eigen/src/StlSupport/details.h> 53 template <
typename Po
intT>
inline bool 56 return (pcl_isfinite (pt.x) && pcl_isfinite (pt.y) && pcl_isfinite (pt.z));
60 template <
typename Po
intT>
inline bool 61 isFinite (
const Eigen::internal::workaround_msvc_stl_support<PointT> &pt)
63 return isFinite<PointT> (static_cast<const PointT&> (pt));
67 template<>
inline bool isFinite<pcl::RGB> (
const pcl::RGB&) {
return (
true); }
68 template<>
inline bool isFinite<pcl::Label> (
const pcl::Label&) {
return (
true); }
69 template<>
inline bool isFinite<pcl::Axis> (
const pcl::Axis&) {
return (
true); }
70 template<>
inline bool isFinite<pcl::Intensity> (
const pcl::Intensity&) {
return (
true); }
73 template<>
inline bool isFinite<pcl::Boundary> (
const pcl::Boundary&) {
return (
true); }
75 template<>
inline bool isFinite<pcl::SHOT352> (
const pcl::SHOT352&) {
return (
true); }
76 template<>
inline bool isFinite<pcl::SHOT1344> (
const pcl::SHOT1344&) {
return (
true); }
82 template<>
inline bool isFinite<pcl::PPFSignature> (
const pcl::PPFSignature&) {
return (
true); }
92 template <>
inline bool 95 return (pcl_isfinite (p.
x) && pcl_isfinite (p.
y));
99 template <>
inline bool 102 return (pcl_isfinite (p.
x) && pcl_isfinite (p.
y));
106 template <>
inline bool 109 return (pcl_isfinite (n.normal_x) && pcl_isfinite (n.normal_y) && pcl_isfinite (n.normal_z));
113 #endif // PCL_COMMON_POINT_TESTS_H_ A point structure representing normal coordinates and the surface curvature estimate.
A point structure representing a Shape Context.
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 a description of whether a point is lying on a surface boundary or not...
A point structure representing the Normal Based Signature for a feature matrix of 4-by-3.
A point structure representing a Unique Shape Context.
A point structure representing the Binary Robust Invariant Scalable Keypoints (BRISK).
A point structure representing an Axis using its normal coordinates.
A point structure representing the Fast Point Feature Histogram (FPFH).
A 2D point structure representing Euclidean xy 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 point structure representing the grayscale intensity in single-channel images.
A point structure representing the generic Signature of Histograms of OrienTations (SHOT) - shape onl...
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 intensity gradient of an XYZI point cloud.
A point structure representing the generic Signature of Histograms of OrienTations (SHOT) - shape+col...
A point structure representing the Viewpoint Feature Histogram (VFH).
A point structure representing the minimum and maximum surface radii (in meters) computed using RSD.
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 Point Feature Histogram (PFH).
A point structure representing the Ensemble of Shape Functions (ESF).
A point structure for storing the Point Pair Feature (PPF) values.
A point structure for storing the Point Pair Color Feature (PPFRGB) values.