40 #include <pcl/pcl_base.h>
60 getAngle3D (
const Eigen::Vector4f &v1,
const Eigen::Vector4f &v2,
const bool in_degree =
false);
70 getAngle3D (
const Eigen::Vector3f &v1,
const Eigen::Vector3f &v2,
const bool in_degree =
false);
80 getMeanStd (
const std::vector<float> &values,
double &mean,
double &stddev);
89 template <
typename Po
intT>
inline void
91 Eigen::Vector4f &max_pt, std::vector<int> &indices);
99 template<
typename Po
intT>
inline void
109 template<
typename Po
intT>
inline void
111 const Eigen::Vector4f &pivot_pt, Eigen::Vector4f &max_pt);
119 template <
typename Po
intT>
inline void
128 template <
typename Po
intT>
inline void
130 Eigen::Vector4f &min_pt, Eigen::Vector4f &max_pt);
139 template <
typename Po
intT>
inline void
141 Eigen::Vector4f &min_pt, Eigen::Vector4f &max_pt);
150 template <
typename Po
intT>
inline void
152 Eigen::Vector4f &min_pt, Eigen::Vector4f &max_pt);
161 template <
typename Po
intT>
inline double
171 template <
typename Po
intT>
inline void
172 getMinMax (
const PointT &histogram,
int len,
float &min_p,
float &max_p);
179 template<
typename Po
intT>
inline float
192 float &min_p,
float &max_p);
201 getMeanStdDev (
const std::vector<float> &values,
double &mean,
double &stddev);
205 #include <pcl/common/impl/common.hpp>
PointCloud represents the base class in PCL for storing collections of 3D points.
void getMaxDistance(const pcl::PointCloud< PointT > &cloud, const Eigen::Vector4f &pivot_pt, Eigen::Vector4f &max_pt)
Get the point at maximum distance from a given point and a given pointcloud.
float calculatePolygonArea(const pcl::PointCloud< PointT > &polygon)
Calculate the area of a polygon given a point cloud that defines the polygon.
void getMinMax3D(const pcl::PointCloud< PointT > &cloud, PointT &min_pt, PointT &max_pt)
Get the minimum and maximum values on each of the 3 (x-y-z) dimensions in a given pointcloud.
void getMeanStd(const std::vector< float > &values, double &mean, double &stddev)
Compute both the mean and the standard deviation of an array of values.
double getAngle3D(const Eigen::Vector4f &v1, const Eigen::Vector4f &v2, const bool in_degree=false)
Compute the smallest angle between two 3D vectors in radians (default) or degree.
void getMinMax(const PointT &histogram, int len, float &min_p, float &max_p)
Get the minimum and maximum values on a point histogram.
double getCircumcircleRadius(const PointT &pa, const PointT &pb, const PointT &pc)
Compute the radius of a circumscribed circle for a triangle formed of three points pa,...
void getPointsInBox(const pcl::PointCloud< PointT > &cloud, Eigen::Vector4f &min_pt, Eigen::Vector4f &max_pt, std::vector< int > &indices)
Get a set of points residing in a box given its bounds.
PCL_EXPORTS void getMeanStdDev(const std::vector< float > &values, double &mean, double &stddev)
Compute both the mean and the standard deviation of an array of values.
A point structure representing Euclidean xyz coordinates, and the RGB color.