Point Cloud Library (PCL) 1.15.0
Loading...
Searching...
No Matches
pcl::common Namespace Reference

Namespaces

namespace  internal

Classes

class  CloudGenerator
class  CloudGenerator< pcl::PointXY, GeneratorT >
struct  IntensityFieldAccessor
struct  IntensityFieldAccessor< pcl::InterestPoint >
struct  IntensityFieldAccessor< pcl::PointNormal >
struct  IntensityFieldAccessor< pcl::PointSurfel >
struct  IntensityFieldAccessor< pcl::PointWithRange >
struct  IntensityFieldAccessor< pcl::PointWithScale >
struct  IntensityFieldAccessor< pcl::PointWithViewpoint >
struct  IntensityFieldAccessor< pcl::PointXYZ >
struct  IntensityFieldAccessor< pcl::PointXYZHSV >
struct  IntensityFieldAccessor< pcl::PointXYZL >
struct  IntensityFieldAccessor< pcl::PointXYZLAB >
struct  IntensityFieldAccessor< pcl::PointXYZLNormal >
struct  IntensityFieldAccessor< pcl::PointXYZRGB >
struct  IntensityFieldAccessor< pcl::PointXYZRGBA >
struct  IntensityFieldAccessor< pcl::PointXYZRGBL >
struct  IntensityFieldAccessor< pcl::PointXYZRGBNormal >
struct  normal_distribution
 normal distribution More...
class  NormalGenerator
 NormalGenerator class generates a random number from a normal distribution specified by (mean, sigma). More...
struct  uniform_distribution
 uniform distribution dummy struct More...
struct  uniform_distribution< T, std::enable_if_t< std::is_floating_point< T >::value > >
 uniform distribution float specialized More...
struct  uniform_distribution< T, std::enable_if_t< std::is_integral< T >::value > >
 uniform distribution int specialized More...
class  UniformGenerator
 UniformGenerator class generates a random number from range [min, max] at each run picked according to a uniform distribution i.e each number within [min, max] has almost the same probability of being drawn. More...

Functions

template<typename PointT>
void expandColumns (const PointCloud< PointT > &input, PointCloud< PointT > &output, const PointT &val, const std::size_t &amount)
 expand point cloud inserting amount columns at the right and the left of a point cloud and filling them with custom values.
template<typename PointT>
void expandRows (const PointCloud< PointT > &input, PointCloud< PointT > &output, const PointT &val, const std::size_t &amount)
 expand point cloud inserting amount rows at the top and the bottom of a point cloud and filling them with custom values.
template<typename PointT>
void duplicateColumns (const PointCloud< PointT > &input, PointCloud< PointT > &output, const std::size_t &amount)
 expand point cloud duplicating the amount right and left columns times.
template<typename PointT>
void duplicateRows (const PointCloud< PointT > &input, PointCloud< PointT > &output, const std::size_t &amount)
 expand point cloud duplicating the amount top and bottom rows times.
template<typename PointT>
void mirrorColumns (const PointCloud< PointT > &input, PointCloud< PointT > &output, const std::size_t &amount)
 expand point cloud mirroring amount right and left columns.
template<typename PointT>
void mirrorRows (const PointCloud< PointT > &input, PointCloud< PointT > &output, const std::size_t &amount)
 expand point cloud mirroring amount top and bottom rows.
template<typename PointT>
void deleteRows (const PointCloud< PointT > &input, PointCloud< PointT > &output, const std::size_t &amount)
 delete amount rows in top and bottom of point cloud
template<typename PointT>
void deleteCols (const PointCloud< PointT > &input, PointCloud< PointT > &output, const std::size_t &amount)
 delete amount columns in top and bottom of point cloud

Function Documentation

◆ deleteCols()

template<typename PointT>
void pcl::common::deleteCols ( const PointCloud< PointT > & input,
PointCloud< PointT > & output,
const std::size_t & amount )

delete amount columns in top and bottom of point cloud

Parameters
[in]inputthe input point cloud
[out]outputthe output point cloud
[in]amountthe amount of rows to be added

Definition at line 239 of file spring.hpp.

References pcl::PointCloud< PointT >::begin(), pcl::PointCloud< PointT >::erase(), pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::isOrganized(), and pcl::PointCloud< PointT >::width.

◆ deleteRows()

template<typename PointT>
void pcl::common::deleteRows ( const PointCloud< PointT > & input,
PointCloud< PointT > & output,
const std::size_t & amount )

delete amount rows in top and bottom of point cloud

Parameters
[in]inputthe input point cloud
[out]outputthe output point cloud
[in]amountthe amount of rows to be added

Definition at line 222 of file spring.hpp.

References pcl::PointCloud< PointT >::begin(), pcl::PointCloud< PointT >::end(), pcl::PointCloud< PointT >::erase(), pcl::PointCloud< PointT >::height, and pcl::PointCloud< PointT >::width.

◆ duplicateColumns()

template<typename PointT>
void pcl::common::duplicateColumns ( const PointCloud< PointT > & input,
PointCloud< PointT > & output,
const std::size_t & amount )

expand point cloud duplicating the amount right and left columns times.

Parameters
[in]inputthe input point cloud
[out]outputthe output point cloud
[in]amountthe amount of cilumns to be added

Definition at line 105 of file spring.hpp.

References pcl::PointCloud< PointT >::begin(), pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::insert(), pcl::PointCloud< PointT >::isOrganized(), pcl::PointCloud< PointT >::reserve(), and pcl::PointCloud< PointT >::width.

◆ duplicateRows()

template<typename PointT>
void pcl::common::duplicateRows ( const PointCloud< PointT > & input,
PointCloud< PointT > & output,
const std::size_t & amount )

expand point cloud duplicating the amount top and bottom rows times.

Parameters
[in]inputthe input point cloud
[out]outputthe output point cloud
[in]amountthe amount of rows to be added

Definition at line 138 of file spring.hpp.

References pcl::PointCloud< PointT >::begin(), pcl::PointCloud< PointT >::end(), pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::insert(), pcl::PointCloud< PointT >::reserve(), and pcl::PointCloud< PointT >::width.

◆ expandColumns()

template<typename PointT>
void pcl::common::expandColumns ( const PointCloud< PointT > & input,
PointCloud< PointT > & output,
const PointT & val,
const std::size_t & amount )

expand point cloud inserting amount columns at the right and the left of a point cloud and filling them with custom values.

Parameters
[in]inputthe input point cloud
[out]outputthe output point cloud
[in]valthe point value to be inserted
[in]amountthe amount of columns to be added

Definition at line 52 of file spring.hpp.

References pcl::PointCloud< PointT >::begin(), pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::insert(), pcl::PointCloud< PointT >::isOrganized(), pcl::PointCloud< PointT >::reserve(), and pcl::PointCloud< PointT >::width.

◆ expandRows()

template<typename PointT>
void pcl::common::expandRows ( const PointCloud< PointT > & input,
PointCloud< PointT > & output,
const PointT & val,
const std::size_t & amount )

expand point cloud inserting amount rows at the top and the bottom of a point cloud and filling them with custom values.

Parameters
[in]inputthe input point cloud
[out]outputthe output point cloud
[in]valthe point value to be inserted
[in]amountthe amount of rows to be added

Definition at line 84 of file spring.hpp.

References pcl::PointCloud< PointT >::begin(), pcl::PointCloud< PointT >::end(), pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::insert(), pcl::PointCloud< PointT >::reserve(), and pcl::PointCloud< PointT >::width.

◆ mirrorColumns()

template<typename PointT>
void pcl::common::mirrorColumns ( const PointCloud< PointT > & input,
PointCloud< PointT > & output,
const std::size_t & amount )

expand point cloud mirroring amount right and left columns.

Parameters
[in]inputthe input point cloud
[out]outputthe output point cloud
[in]amountthe amount of rows to be added

Definition at line 163 of file spring.hpp.

References pcl::PointCloud< PointT >::begin(), pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::insert(), pcl::PointCloud< PointT >::isOrganized(), pcl::PointCloud< PointT >::reserve(), and pcl::PointCloud< PointT >::width.

◆ mirrorRows()

template<typename PointT>
void pcl::common::mirrorRows ( const PointCloud< PointT > & input,
PointCloud< PointT > & output,
const std::size_t & amount )

expand point cloud mirroring amount top and bottom rows.

Parameters
[in]inputthe input point cloud
[out]outputthe output point cloud
[in]amountthe amount of rows to be added

Definition at line 195 of file spring.hpp.

References pcl::PointCloud< PointT >::begin(), pcl::PointCloud< PointT >::end(), pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::insert(), pcl::PointCloud< PointT >::reserve(), and pcl::PointCloud< PointT >::width.