41 #include <pcl/pcl_base.h>
60 getAngle3D (
const Eigen::Vector4f &v1,
const Eigen::Vector4f &v2);
69 getMeanStd (
const std::vector<float> &values,
double &mean,
double &stddev);
78 template <
typename Po
intT>
inline void
80 Eigen::Vector4f &max_pt, std::vector<int> &indices);
88 template<
typename Po
intT>
inline void
98 template<
typename Po
intT>
inline void
100 const Eigen::Vector4f &pivot_pt, Eigen::Vector4f &max_pt);
108 template <
typename Po
intT>
inline void
117 template <
typename Po
intT>
inline void
119 Eigen::Vector4f &min_pt, Eigen::Vector4f &max_pt);
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 double
160 template <
typename Po
intT>
inline void
161 getMinMax (
const PointT &histogram,
int len,
float &min_p,
float &max_p);
168 template<
typename Po
intT>
inline float
181 float &min_p,
float &max_p);
190 getMeanStdDev (
const std::vector<float> &values,
double &mean,
double &stddev);
194 #include <pcl/common/impl/common.hpp>
196 #endif //#ifndef PCL_COMMON_H_
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.
double getAngle3D(const Eigen::Vector4f &v1, const Eigen::Vector4f &v2)
Compute the smallest angle between two vectors in the [ 0, PI ) interval in 3D.
void getMinMax(const PointT &histogram, int len, float &min_p, float &max_p)
Get the minimum and maximum values on a point histogram.
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 getMeanStd(const std::vector< float > &values, double &mean, double &stddev)
Compute both the mean and the standard deviation of an array of values.
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...
PointCloud represents the base class in PCL for storing collections of 3D points. ...
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...
A point structure representing Euclidean xyz coordinates, and the RGB color.
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.