Loading...
Searching...
No Matches
common.h File Reference
Module common
`#include <pcl/point_cloud.h>`
`#include <pcl/PointIndices.h>`
`#include <pcl/common/impl/common.hpp>`

Go to the source code of this file.

## Detailed Description

Define standard C methods and C++ classes that are common to all methods.

Definition in file common.h.

## Namespaces

namespace | pcl

## Functions

double | pcl::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.
double | pcl::getAngle3D (const Eigen::Vector3f &v1, const Eigen::Vector3f &v2, const bool in_degree=false)
| Compute the smallest angle between two 3D vectors in radians (default) or degree.
void | pcl::getMeanStd (const std::vector< float > &values, double &mean, double &stddev)
| Compute both the mean and the standard deviation of an array of values.
template<typename PointT>
void | pcl::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.
template<typename PointT>
void | pcl::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.
template<typename PointT>
void | pcl::getMaxDistance (const pcl::PointCloud< PointT > &cloud, const Indices &indices, const Eigen::Vector4f &pivot_pt, Eigen::Vector4f &max_pt)
| Get the point at maximum distance from a given point and a given pointcloud.
template<typename PointT>
void | pcl::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.
template<typename PointT>
void | pcl::getMinMax3D (const pcl::PointCloud< PointT > &cloud, Eigen::Vector4f &min_pt, Eigen::Vector4f &max_pt)
| Get the minimum and maximum values on each of the 3 (x-y-z) dimensions in a given pointcloud.
template<typename PointT>
void | pcl::getMinMax3D (const pcl::PointCloud< PointT > &cloud, const Indices &indices, Eigen::Vector4f &min_pt, Eigen::Vector4f &max_pt)
| Get the minimum and maximum values on each of the 3 (x-y-z) dimensions in a given pointcloud.
template<typename PointT>
void | pcl::getMinMax3D (const pcl::PointCloud< PointT > &cloud, const pcl::PointIndices &indices, Eigen::Vector4f &min_pt, Eigen::Vector4f &max_pt)
| Get the minimum and maximum values on each of the 3 (x-y-z) dimensions in a given pointcloud.
template<typename PointT>
double | pcl::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, pb, and pc.
template<typename PointT>
void | pcl::getMinMax (const PointT &histogram, int len, float &min_p, float &max_p)
| Get the minimum and maximum values on a point histogram.
template<typename PointT>
float | pcl::calculatePolygonArea (const pcl::PointCloud< PointT > &polygon)
| Calculate the area of a polygon given a point cloud that defines the polygon.
PCL_EXPORTS void | pcl::getMinMax (const pcl::PCLPointCloud2 &cloud, int idx, const std::string &field_name, float &min_p, float &max_p)
| Get the minimum and maximum values on a point histogram.
PCL_EXPORTS void | pcl::getMeanStdDev (const std::vector< float > &values, double &mean, double &stddev)
| Compute both the mean and the standard deviation of an array of values.
template<typename IteratorT, typename Functor>
auto | pcl::computeMedian (IteratorT begin, IteratorT end, Functor f) noexcept -> std::result_of_t< Functor(decltype(*begin))>
| Compute the median of a list of values (fast).
template<typename IteratorT>
auto | pcl::computeMedian (IteratorT begin, IteratorT end) noexcept -> typename std::iterator_traits< IteratorT >::value_type
| Compute the median of a list of values (fast).