Point Cloud Library (PCL)  1.11.1-dev
Classes | Typedefs | Functions | Variables
pcl::detail Namespace Reference

Classes

struct  AccumulatorCurvature
 
struct  AccumulatorIntensity
 
struct  AccumulatorLabel
 
struct  AccumulatorNormal
 
struct  AccumulatorRGBA
 
struct  Accumulators
 
struct  AccumulatorXYZ
 
struct  AddPoint
 
struct  CopyPointHelper
 
struct  CopyPointHelper< PointInT, PointOutT, std::enable_if_t< boost::mpl::and_< boost::mpl::not_< std::is_same< PointInT, PointOutT > >, boost::mpl::or_< boost::mpl::and_< pcl::traits::has_field< PointInT, pcl::fields::rgb >, pcl::traits::has_field< PointOutT, pcl::fields::rgba > >, boost::mpl::and_< pcl::traits::has_field< PointInT, pcl::fields::rgba >, pcl::traits::has_field< PointOutT, pcl::fields::rgb > > > >::value > >
 
struct  CopyPointHelper< PointInT, PointOutT, std::enable_if_t< boost::mpl::and_< boost::mpl::not_< std::is_same< PointInT, PointOutT > >, boost::mpl::or_< boost::mpl::not_< pcl::traits::has_color< PointInT > >, boost::mpl::not_< pcl::traits::has_color< PointOutT > >, boost::mpl::and_< pcl::traits::has_field< PointInT, pcl::fields::rgb >, pcl::traits::has_field< PointOutT, pcl::fields::rgb > >, boost::mpl::and_< pcl::traits::has_field< PointInT, pcl::fields::rgba >, pcl::traits::has_field< PointOutT, pcl::fields::rgba > > > >::value > >
 
struct  CopyPointHelper< PointInT, PointOutT, std::enable_if_t< std::is_same< PointInT, PointOutT >::value > >
 
struct  EigenVector
 
struct  FieldAdder
 
struct  FieldMapper
 
struct  FieldMapping
 
struct  GetPoint
 
struct  int_type
 int_type::type refers to an integral type that satisfies template parameters More...
 
struct  int_type< 16, false >
 
struct  int_type< 16, true >
 
struct  int_type< 32, false >
 
struct  int_type< 32, true >
 
struct  int_type< 64, false >
 
struct  int_type< 64, true >
 
struct  int_type< 8, false >
 
struct  int_type< 8, true >
 
struct  IsAccumulatorCompatible
 
class  MeshIndex
 
struct  Transformer
 A helper struct to apply an SO3 or SE3 transform to a 3D point. More...
 

Typedefs

template<std::size_t Bits, bool Signed = true>
using int_type_t = typename int_type< Bits, Signed >::type
 helper type to use for int_type::type More...
 

Functions

template<typename Vector , typename Matrix >
static EigenVector< Vector, typename Matrix::Scalar > getLargest3x3Eigenvector (const Matrix scaledMatrix)
 returns the unit vector along the largest eigen value as well as the length of the largest eigenvector More...
 
bool fieldOrdering (const FieldMapping &a, const FieldMapping &b)
 
template<class IndexTagT >
std::istream & operator>> (std::istream &is, MeshIndex< IndexTagT > &index)
 istream operator. More...
 
template<class IndexTagT >
std::ostream & operator<< (std::ostream &os, const MeshIndex< IndexTagT > &index)
 ostream operator. More...
 
template<typename Type >
void copyStringValue (const std::string &st, pcl::PCLPointCloud2 &cloud, pcl::index_t point_index, unsigned int field_idx, unsigned int fields_count, std::istringstream &is)
 
template<>
void copyStringValue< std::int8_t > (const std::string &st, pcl::PCLPointCloud2 &cloud, pcl::index_t point_index, unsigned int field_idx, unsigned int fields_count, std::istringstream &is)
 
template<>
void copyStringValue< std::uint8_t > (const std::string &st, pcl::PCLPointCloud2 &cloud, pcl::index_t point_index, unsigned int field_idx, unsigned int fields_count, std::istringstream &is)
 

Variables

constexpr std::uint8_t index_type_size = PCL_INDEX_SIZE
 number of bits in PCL's index type More...
 
constexpr bool index_type_signed = PCL_INDEX_SIGNED
 signed/unsigned nature of PCL's index type Please use PCL_INDEX_SIGNED when building PCL to choose a type best suited for your needs. More...
 

Typedef Documentation

◆ int_type_t

template<std::size_t Bits, bool Signed = true>
using pcl::detail::int_type_t = typedef typename int_type<Bits, Signed>::type

helper type to use for int_type::type

See also
int_type

Definition at line 68 of file types.h.

Function Documentation

◆ copyStringValue()

template<typename Type >
void pcl::detail::copyStringValue ( const std::string &  st,
pcl::PCLPointCloud2 cloud,
pcl::index_t  point_index,
unsigned int  field_idx,
unsigned int  fields_count,
std::istringstream &  is 
)
inline

◆ copyStringValue< std::int8_t >()

template<>
void pcl::detail::copyStringValue< std::int8_t > ( const std::string &  st,
pcl::PCLPointCloud2 cloud,
pcl::index_t  point_index,
unsigned int  field_idx,
unsigned int  fields_count,
std::istringstream &  is 
)
inline

◆ copyStringValue< std::uint8_t >()

template<>
void pcl::detail::copyStringValue< std::uint8_t > ( const std::string &  st,
pcl::PCLPointCloud2 cloud,
pcl::index_t  point_index,
unsigned int  field_idx,
unsigned int  fields_count,
std::istringstream &  is 
)
inline

◆ fieldOrdering()

bool pcl::detail::fieldOrdering ( const FieldMapping a,
const FieldMapping b 
)
inline

Definition at line 115 of file conversions.h.

References pcl::detail::FieldMapping::serialized_offset.

Referenced by pcl::createMapping().

◆ getLargest3x3Eigenvector()

template<typename Vector , typename Matrix >
static EigenVector<Vector, typename Matrix::Scalar> pcl::detail::getLargest3x3Eigenvector ( const Matrix  scaledMatrix)
static

returns the unit vector along the largest eigen value as well as the length of the largest eigenvector

Template Parameters
VectorRequested result type, needs to be explicitly provided and has to be implicitly constructible from ConstRowExpr
Matrixdeduced input type providing similar in API as Eigen::Matrix

Definition at line 273 of file eigen.hpp.

◆ operator<<()

template<class IndexTagT >
std::ostream& pcl::detail::operator<< ( std::ostream &  os,
const MeshIndex< IndexTagT > &  index 
)
inline

ostream operator.

Definition at line 169 of file mesh_indices.h.

References pcl::detail::MeshIndex< IndexTagT >::get().

◆ operator>>()

template<class IndexTagT >
std::istream & pcl::detail::operator>> ( std::istream &  is,
MeshIndex< IndexTagT > &  index 
)
inline

istream operator.

Definition at line 177 of file mesh_indices.h.

Variable Documentation

◆ index_type_signed

constexpr bool pcl::detail::index_type_signed = PCL_INDEX_SIGNED
constexpr

signed/unsigned nature of PCL's index type Please use PCL_INDEX_SIGNED when building PCL to choose a type best suited for your needs.

Default: signed

Definition at line 102 of file types.h.

◆ index_type_size

constexpr std::uint8_t pcl::detail::index_type_size = PCL_INDEX_SIZE
constexpr

number of bits in PCL's index type

Please use PCL_INDEX_SIZE when building PCL to choose a size best suited for your needs. PCL 1.12 will come with default 32

PCL 1.11 has a default size = sizeof(int)

Definition at line 95 of file types.h.