Point Cloud Library (PCL)
1.11.1-dev
|
Go to the documentation of this file.
40 #include <pcl/point_cloud.h>
41 #include <pcl/PointIndices.h>
42 namespace pcl {
struct PCLPointCloud2; }
61 getAngle3D (
const Eigen::Vector4f &v1,
const Eigen::Vector4f &v2,
const bool in_degree =
false);
71 getAngle3D (
const Eigen::Vector3f &v1,
const Eigen::Vector3f &v2,
const bool in_degree =
false);
84 acos_SSE (
const __m128 &x);
101 getAcuteAngle3DSSE (
const __m128 &x1,
const __m128 &y1,
const __m128 &z1,
const __m128 &x2,
const __m128 &y2,
const __m128 &z2);
102 #endif // ifdef __SSE__
115 acos_AVX (
const __m256 &x);
132 getAcuteAngle3DAVX (
const __m256 &x1,
const __m256 &y1,
const __m256 &z1,
const __m256 &x2,
const __m256 &y2,
const __m256 &z2);
133 #endif // ifdef __AVX__
142 getMeanStd (
const std::vector<float> &values,
double &mean,
double &stddev);
151 template <
typename Po
intT>
inline void
153 Eigen::Vector4f &max_pt,
Indices &indices);
161 template<
typename Po
intT>
inline void
171 template<
typename Po
intT>
inline void
173 const Eigen::Vector4f &pivot_pt, Eigen::Vector4f &max_pt);
181 template <
typename Po
intT>
inline void
190 template <
typename Po
intT>
inline void
192 Eigen::Vector4f &min_pt, Eigen::Vector4f &max_pt);
201 template <
typename Po
intT>
inline void
203 Eigen::Vector4f &min_pt, Eigen::Vector4f &max_pt);
212 template <
typename Po
intT>
inline void
214 Eigen::Vector4f &min_pt, Eigen::Vector4f &max_pt);
223 template <
typename Po
intT>
inline double
233 template <
typename Po
intT>
inline void
234 getMinMax (
const PointT &histogram,
int len,
float &min_p,
float &max_p);
241 template<
typename Po
intT>
inline float
254 float &min_p,
float &max_p);
263 getMeanStdDev (
const std::vector<float> &values,
double &mean,
double &stddev);
267 #include <pcl/common/impl/common.hpp>
void getPointsInBox(const pcl::PointCloud< PointT > &cloud, Eigen::Vector4f &min_pt, Eigen::Vector4f &max_pt, Indices &indices)
Get a set of points residing in a box given its bounds.
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 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,...
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.
PointCloud represents the base class in PCL for storing collections of 3D points.
A point structure representing Euclidean xyz coordinates, and the RGB color.
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.
float calculatePolygonArea(const pcl::PointCloud< PointT > &polygon)
Calculate the area of a polygon given a point cloud that defines the polygon.
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.
IndicesAllocator<> Indices
Type used for indices in PCL.
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 getMinMax(const PointT &histogram, int len, float &min_p, float &max_p)
Get the minimum and maximum values on a point histogram.