Point Cloud Library (PCL)
1.3.1
|
PCL base class. More...
#include <pcl/pcl_base.h>
Public Types | |
typedef pcl::PointCloud< PointT > | PointCloud |
typedef PointCloud::Ptr | PointCloudPtr |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef PointIndices::Ptr | PointIndicesPtr |
typedef PointIndices::ConstPtr | PointIndicesConstPtr |
Public Member Functions | |
PCLBase () | |
Empty constructor. | |
virtual | ~PCLBase () |
destructor. | |
virtual void | setInputCloud (const PointCloudConstPtr &cloud) |
Provide a pointer to the input dataset. | |
PointCloudConstPtr const | getInputCloud () |
Get a pointer to the input point cloud dataset. | |
void | setIndices (const IndicesPtr &indices) |
Provide a pointer to the vector of indices that represents the input data. | |
void | setIndices (const PointIndicesConstPtr &indices) |
Provide a pointer to the vector of indices that represents the input data. | |
void | setIndices (size_t row_start, size_t col_start, size_t nb_rows, size_t nb_cols) |
Set the indices for the points laying within an interest region of the point cloud. | |
IndicesPtr const | getIndices () |
Get a pointer to the vector of indices used. | |
const PointT & | operator[] (size_t pos) |
Override PointCloud operator[] to shorten code. |
PCL base class.
Implements methods that are used by all PCL objects.
typedef pcl::PointCloud<PointT> pcl::PCLBase::PointCloud |
Reimplemented in pcl::EuclideanClusterExtraction, pcl::ExtractPolygonalPrismData, pcl::Filter, pcl::SegmentDifferences, pcl::LabeledEuclideanClusterExtraction, pcl::registration::ELCH, pcl::SACSegmentation, and pcl::registration::IncrementalRegistration.
Definition at line 74 of file pcl_base.h.
Reimplemented in pcl::EuclideanClusterExtraction, pcl::ExtractPolygonalPrismData, pcl::Filter, pcl::SegmentDifferences, pcl::LabeledEuclideanClusterExtraction, pcl::registration::ELCH, pcl::SACSegmentation, and pcl::registration::IncrementalRegistration.
Definition at line 76 of file pcl_base.h.
Reimplemented in pcl::EuclideanClusterExtraction, pcl::ExtractPolygonalPrismData, pcl::Filter, pcl::SegmentDifferences, pcl::LabeledEuclideanClusterExtraction, pcl::registration::ELCH, pcl::SACSegmentation, and pcl::registration::IncrementalRegistration.
Definition at line 75 of file pcl_base.h.
Reimplemented in pcl::EuclideanClusterExtraction, pcl::ExtractPolygonalPrismData, pcl::SegmentDifferences, and pcl::LabeledEuclideanClusterExtraction.
Definition at line 79 of file pcl_base.h.
Reimplemented in pcl::EuclideanClusterExtraction, pcl::ExtractPolygonalPrismData, pcl::SegmentDifferences, and pcl::LabeledEuclideanClusterExtraction.
Definition at line 78 of file pcl_base.h.
pcl::PCLBase::PCLBase | ( | ) | [inline] |
Empty constructor.
Definition at line 82 of file pcl_base.h.
virtual pcl::PCLBase::~PCLBase | ( | ) | [inline, virtual] |
destructor.
Definition at line 85 of file pcl_base.h.
IndicesPtr const pcl::PCLBase::getIndices | ( | ) | [inline] |
Get a pointer to the vector of indices used.
Definition at line 171 of file pcl_base.h.
PointCloudConstPtr const pcl::PCLBase::getInputCloud | ( | ) | [inline] |
Get a pointer to the input point cloud dataset.
Definition at line 99 of file pcl_base.h.
const PointT& pcl::PCLBase::operator[] | ( | size_t | pos | ) | [inline] |
Override PointCloud operator[] to shorten code.
pos | position in indices_ vector |
Definition at line 178 of file pcl_base.h.
void pcl::PCLBase::setIndices | ( | const IndicesPtr & | indices | ) | [inline] |
Provide a pointer to the vector of indices that represents the input data.
indices | a pointer to the vector of indices that represents the input data. |
Definition at line 105 of file pcl_base.h.
void pcl::PCLBase::setIndices | ( | const PointIndicesConstPtr & | indices | ) | [inline] |
Provide a pointer to the vector of indices that represents the input data.
indices | a pointer to the vector of indices that represents the input data. |
Definition at line 116 of file pcl_base.h.
void pcl::PCLBase::setIndices | ( | size_t | row_start, |
size_t | col_start, | ||
size_t | nb_rows, | ||
size_t | nb_cols | ||
) | [inline] |
Set the indices for the points laying within an interest region of the point cloud.
row_start | the offset on rows |
col_start | the offset on columns |
nb_rows | the number of rows to be considered row_start included |
nb_cols | the number of columns to be considered col_start included |
Definition at line 132 of file pcl_base.h.
virtual void pcl::PCLBase::setInputCloud | ( | const PointCloudConstPtr & | cloud | ) | [inline, virtual] |
Provide a pointer to the input dataset.
cloud | the const boost shared pointer to a PointCloud message |
Definition at line 95 of file pcl_base.h.