40 #ifndef PCL_COMMON_POINT_TESTS_H_ 41 #define PCL_COMMON_POINT_TESTS_H_ 44 #include <Eigen/src/StlSupport/details.h> 52 template <
typename Po
intT>
inline bool 55 return (pcl_isfinite (pt.x) && pcl_isfinite (pt.y) && pcl_isfinite (pt.z));
59 template <
typename Po
intT>
inline bool 60 isFinite (
const Eigen::internal::workaround_msvc_stl_support<PointT> &pt)
62 return isFinite<PointT> (
static_cast<const PointT&
> (pt));
66 template<>
inline bool isFinite<pcl::RGB> (
const pcl::RGB&) {
return (
true); }
67 template<>
inline bool isFinite<pcl::Label> (
const pcl::Label&) {
return (
true); }
68 template<>
inline bool isFinite<pcl::Axis> (
const pcl::Axis&) {
return (
true); }
69 template<>
inline bool isFinite<pcl::Intensity> (
const pcl::Intensity&) {
return (
true); }
72 template<>
inline bool isFinite<pcl::Boundary> (
const pcl::Boundary&) {
return (
true); }
74 template<>
inline bool isFinite<pcl::SHOT352> (
const pcl::SHOT352&) {
return (
true); }
75 template<>
inline bool isFinite<pcl::SHOT1344> (
const pcl::SHOT1344&) {
return (
true); }
80 template<>
inline bool isFinite<pcl::PPFSignature> (
const pcl::PPFSignature&) {
return (
true); }
89 template <>
inline bool 92 return (pcl_isfinite (p.x) && pcl_isfinite (p.y));
96 template <>
inline bool 99 return (pcl_isfinite (p.x) && pcl_isfinite (p.y));
103 template <>
inline bool 106 return (pcl_isfinite (n.normal_x) && pcl_isfinite (n.normal_y) && pcl_isfinite (n.normal_z));
110 #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.
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 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.