Public Types | Public Member Functions | Public Attributes | Protected Attributes | Friends

pcl::PointCloud< PointT > Class Template Reference

PointCloud represents a templated PointCloud implementation. More...

#include <pcl/point_cloud.h>

Collaboration diagram for pcl::PointCloud< PointT >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef PointT PointType
typedef std::vector< PointT,
Eigen::aligned_allocator
< PointT > > 
VectorType
typedef boost::shared_ptr
< PointCloud< PointT > > 
Ptr
typedef boost::shared_ptr
< const PointCloud< PointT > > 
ConstPtr
typedef VectorType::iterator iterator
typedef VectorType::const_iterator const_iterator

Public Member Functions

 PointCloud ()
PointCloudoperator+= (const PointCloud &rhs)
PointT at (int u, int v) const
const PointT & operator() (int u, int v) const
PointT & operator() (int u, int v)
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
size_t size () const
void push_back (const PointT &p)
Ptr makeShared () const

Public Attributes

std_msgs::Header header
 The point cloud header.
std::vector< PointT,
Eigen::aligned_allocator
< PointT > > 
points
 The point data.
uint32_t width
 The point cloud width (if organized as an image-structure).
uint32_t height
 The point cloud height (if organized as an image-structure).
bool is_dense
 True if no points are invalid (e.g., have NaN or Inf values).
Eigen::Vector4f sensor_origin_
 Sensor acquisition pose (origin/translation).
Eigen::Quaternionf sensor_orientation_
 Sensor acquisition pose (rotation).
 EIGEN_MAKE_ALIGNED_OPERATOR_NEW

Protected Attributes

boost::shared_ptr< MsgFieldMapmapping_

Friends

boost::shared_ptr< MsgFieldMap > & detail::getMapping (PointCloud &p)

Detailed Description

template<typename PointT>
class pcl::PointCloud< PointT >

PointCloud represents a templated PointCloud implementation.

Author:
Patrick Mihelich, Radu Bogdan Rusu

Definition at line 76 of file point_cloud.h.


Member Typedef Documentation

template<typename PointT>
typedef VectorType::const_iterator pcl::PointCloud< PointT >::const_iterator

Definition at line 158 of file point_cloud.h.

template<typename PointT>
typedef boost::shared_ptr<const PointCloud<PointT> > pcl::PointCloud< PointT >::ConstPtr

Reimplemented in pcl::RangeImage, and pcl::RangeImagePlanar.

Definition at line 154 of file point_cloud.h.

template<typename PointT>
typedef VectorType::iterator pcl::PointCloud< PointT >::iterator

Definition at line 157 of file point_cloud.h.

template<typename PointT>
typedef PointT pcl::PointCloud< PointT >::PointType

Definition at line 151 of file point_cloud.h.

template<typename PointT>
typedef boost::shared_ptr<PointCloud<PointT> > pcl::PointCloud< PointT >::Ptr

Reimplemented in pcl::RangeImage, and pcl::RangeImagePlanar.

Definition at line 153 of file point_cloud.h.

template<typename PointT>
typedef std::vector<PointT, Eigen::aligned_allocator<PointT> > pcl::PointCloud< PointT >::VectorType

Definition at line 152 of file point_cloud.h.


Constructor & Destructor Documentation

template<typename PointT>
pcl::PointCloud< PointT >::PointCloud (  )  [inline]

Definition at line 79 of file point_cloud.h.


Member Function Documentation

template<typename PointT>
PointT pcl::PointCloud< PointT >::at ( int  u,
int  v 
) const [inline]

Definition at line 112 of file point_cloud.h.

template<typename PointT>
iterator pcl::PointCloud< PointT >::begin (  )  [inline]

Definition at line 159 of file point_cloud.h.

template<typename PointT>
const_iterator pcl::PointCloud< PointT >::begin (  )  const [inline]

Definition at line 161 of file point_cloud.h.

template<typename PointT>
const_iterator pcl::PointCloud< PointT >::end (  )  const [inline]

Definition at line 162 of file point_cloud.h.

template<typename PointT>
iterator pcl::PointCloud< PointT >::end (  )  [inline]

Definition at line 160 of file point_cloud.h.

template<typename PointT>
Ptr pcl::PointCloud< PointT >::makeShared (  )  const [inline]

Reimplemented in pcl::RangeImage, and pcl::RangeImagePlanar.

Definition at line 167 of file point_cloud.h.

template<typename PointT>
PointT& pcl::PointCloud< PointT >::operator() ( int  u,
int  v 
) [inline]

Definition at line 126 of file point_cloud.h.

template<typename PointT>
const PointT& pcl::PointCloud< PointT >::operator() ( int  u,
int  v 
) const [inline]

Definition at line 121 of file point_cloud.h.

template<typename PointT>
PointCloud& pcl::PointCloud< PointT >::operator+= ( const PointCloud< PointT > &  rhs  )  [inline]

Definition at line 84 of file point_cloud.h.

template<typename PointT>
void pcl::PointCloud< PointT >::push_back ( const PointT &  p  )  [inline]

Definition at line 165 of file point_cloud.h.

template<typename PointT>
size_t pcl::PointCloud< PointT >::size (  )  const [inline]

Definition at line 164 of file point_cloud.h.


Friends And Related Function Documentation

template<typename PointT>
boost::shared_ptr<MsgFieldMap>& detail::getMapping ( PointCloud< PointT > &  p  )  [friend]

Member Data Documentation

template<typename PointT>
pcl::PointCloud< PointT >::EIGEN_MAKE_ALIGNED_OPERATOR_NEW

Definition at line 176 of file point_cloud.h.

template<typename PointT>
std_msgs::Header pcl::PointCloud< PointT >::header

The point cloud header.

It contains information about the acquisition time, as well as a transform frame (see tf).

Definition at line 133 of file point_cloud.h.

template<typename PointT>
uint32_t pcl::PointCloud< PointT >::height

The point cloud height (if organized as an image-structure).

Definition at line 141 of file point_cloud.h.

template<typename PointT>
bool pcl::PointCloud< PointT >::is_dense

True if no points are invalid (e.g., have NaN or Inf values).

Definition at line 144 of file point_cloud.h.

template<typename PointT>
boost::shared_ptr<MsgFieldMap> pcl::PointCloud< PointT >::mapping_ [protected]

Definition at line 171 of file point_cloud.h.

template<typename PointT>
std::vector<PointT, Eigen::aligned_allocator<PointT> > pcl::PointCloud< PointT >::points

The point data.

Definition at line 136 of file point_cloud.h.

template<typename PointT>
Eigen::Quaternionf pcl::PointCloud< PointT >::sensor_orientation_

Sensor acquisition pose (rotation).

Definition at line 149 of file point_cloud.h.

template<typename PointT>
Eigen::Vector4f pcl::PointCloud< PointT >::sensor_origin_

Sensor acquisition pose (origin/translation).

Definition at line 147 of file point_cloud.h.

template<typename PointT>
uint32_t pcl::PointCloud< PointT >::width

The point cloud width (if organized as an image-structure).

Definition at line 139 of file point_cloud.h.


The documentation for this class was generated from the following file: