|
Point Cloud Library (PCL)
1.7.2
|
PCL base class. More...
#include <pcl/pcl_base.h>
Inheritance diagram for pcl::PCLBase< PointT >:Public Types | |
| typedef pcl::PointCloud< PointT > | PointCloud |
| typedef PointCloud::Ptr | PointCloudPtr |
| typedef PointCloud::ConstPtr | PointCloudConstPtr |
| typedef boost::shared_ptr < PointIndices > | PointIndicesPtr |
| typedef boost::shared_ptr < PointIndices const > | PointIndicesConstPtr |
Public Member Functions | |
| PCLBase () | |
| Empty constructor. | |
| PCLBase (const PCLBase &base) | |
| Copy constructor. | |
| virtual | ~PCLBase () |
| Destructor. | |
| virtual void | setInputCloud (const PointCloudConstPtr &cloud) |
| Provide a pointer to the input dataset. | |
| PointCloudConstPtr const | getInputCloud () const |
| Get a pointer to the input point cloud dataset. | |
| virtual void | setIndices (const IndicesPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| virtual void | setIndices (const IndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| virtual void | setIndices (const PointIndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| virtual 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. | |
| IndicesConstPtr const | getIndices () const |
| Get a pointer to the vector of indices used. | |
| const PointT & | operator[] (size_t pos) const |
| Override PointCloud operator[] to shorten code. | |
Protected Member Functions | |
| bool | initCompute () |
| This method should get called before starting the actual computation. | |
| bool | deinitCompute () |
| This method should get called after finishing the actual computation. | |
Protected Attributes | |
| PointCloudConstPtr | input_ |
| The input point cloud dataset. | |
| IndicesPtr | indices_ |
| A pointer to the vector of point indices to use. | |
| bool | use_indices_ |
| Set to true if point indices are used. | |
| bool | fake_indices_ |
| If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud. | |
PCL base class.
Implements methods that are used by most PCL algorithms.
Definition at line 68 of file pcl_base.h.
| typedef pcl::PointCloud<PointT> pcl::PCLBase< PointT >::PointCloud |
Definition at line 71 of file pcl_base.h.
| typedef PointCloud::ConstPtr pcl::PCLBase< PointT >::PointCloudConstPtr |
Definition at line 73 of file pcl_base.h.
| typedef PointCloud::Ptr pcl::PCLBase< PointT >::PointCloudPtr |
Definition at line 72 of file pcl_base.h.
| typedef boost::shared_ptr<PointIndices const> pcl::PCLBase< PointT >::PointIndicesConstPtr |
Definition at line 76 of file pcl_base.h.
| typedef boost::shared_ptr<PointIndices> pcl::PCLBase< PointT >::PointIndicesPtr |
Definition at line 75 of file pcl_base.h.
| pcl::PCLBase< PointT >::PCLBase | ( | ) |
Empty constructor.
Definition at line 46 of file pcl_base.hpp.
| pcl::PCLBase< PointT >::PCLBase | ( | const PCLBase< PointT > & | base | ) |
Copy constructor.
Definition at line 56 of file pcl_base.hpp.
|
inlinevirtual |
Destructor.
Definition at line 85 of file pcl_base.h.
|
protected |
This method should get called after finishing the actual computation.
Reimplemented in pcl::Feature< PointInT, PointOutT >, pcl::Feature< PointT, PointFeature >, pcl::Feature< PointSource, PointFeature >, pcl::Feature< PointWithRange, BorderDescription >, pcl::Feature< PointWithRange, Narf36 >, and pcl::CorrespondenceGrouping< PointModelT, PointSceneT >.
Definition at line 174 of file pcl_base.hpp.
Referenced by pcl::FilterIndices< PointInT >::filter(), and pcl::Filter< pcl::PointXYZRGBL >::filter().
|
inline |
Get a pointer to the vector of indices used.
Definition at line 132 of file pcl_base.h.
|
inline |
Get a pointer to the vector of indices used.
Definition at line 136 of file pcl_base.h.
|
inline |
Get a pointer to the input point cloud dataset.
Definition at line 99 of file pcl_base.h.
|
protected |
This method should get called before starting the actual computation.
Internally, initCompute() does the following:
Reimplemented in pcl::AgastKeypoint2DBase< PointInT, PointOutT, IntensityT >, pcl::AgastKeypoint2DBase< PointInT, PointOutT, pcl::common::IntensityFieldAccessor< PointInT > >, pcl::AgastKeypoint2DBase< pcl::PointXYZ, pcl::PointUV, pcl::common::IntensityFieldAccessor< pcl::PointXYZ > >, pcl::FeatureFromLabels< PointInT, PointLT, PointOutT >, pcl::Registration< PointSource, PointTarget, Scalar >, pcl::Registration< PointSource, PointTarget, float >, pcl::Registration< PointT, PointT >, pcl::Registration< PointSource, PointTarget >, pcl::GrabCut< PointT >, pcl::FeatureFromNormals< PointInT, PointNT, PointOutT >, pcl::FeatureFromNormals< PointT, PointNT, PointFeature >, pcl::tracking::ParticleFilterTracker< PointInT, StateT >, pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >, pcl::filters::Convolution3D< PointIn, PointOut, KernelT >, pcl::SpinImageEstimation< PointInT, PointNT, PointOutT >, pcl::Feature< PointInT, PointOutT >, pcl::Feature< PointT, PointFeature >, pcl::Feature< PointSource, PointFeature >, pcl::Feature< PointWithRange, BorderDescription >, pcl::Feature< PointWithRange, Narf36 >, pcl::VFHEstimation< PointInT, PointNT, PointOutT >, pcl::tracking::PyramidalKLTTracker< PointInT, IntensityT >, pcl::ISSKeypoint3D< PointInT, PointOutT, NormalT >, pcl::registration::ELCH< PointT >, pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >, pcl::SHOTColorEstimationOMP< PointInT, PointNT, PointOutT, PointRFT >, pcl::registration::CorrespondenceEstimationNormalShooting< PointSource, PointTarget, NormalT, Scalar >, pcl::registration::CorrespondenceEstimationOrganizedProjection< PointSource, PointTarget, Scalar >, pcl::tracking::KLDAdaptiveParticleFilterTracker< PointInT, StateT >, pcl::NormalSpaceSampling< PointT, NormalT >, pcl::Keypoint< PointInT, PointOutT >, pcl::Keypoint< PointWithRange, int >, pcl::Keypoint< PointInT, int >, pcl::Keypoint< pcl::PointXYZ, pcl::PointUV >, pcl::Keypoint< PointT, PointT >, pcl::ShapeContext3DEstimation< PointInT, PointNT, PointOutT >, pcl::SUSANKeypoint< PointInT, PointOutT, NormalT, IntensityT >, pcl::HarrisKeypoint3D< PointInT, PointOutT, NormalT >, pcl::CorrespondenceGrouping< PointModelT, PointSceneT >, pcl::UniqueShapeContext< PointInT, PointOutT, PointRFT >, pcl::TrajkovicKeypoint3D< PointInT, PointOutT, NormalT >, pcl::CovarianceSampling< PointT, PointNT >, pcl::TrajkovicKeypoint2D< PointInT, PointOutT, IntensityT >, pcl::HarrisKeypoint2D< PointInT, PointOutT, IntensityT >, pcl::SIFTKeypoint< PointInT, PointOutT >, pcl::SHOTEstimationBase< PointInT, PointNT, PointOutT, PointRFT >, pcl::DifferenceOfNormalsEstimation< PointInT, PointNT, PointOutT >, pcl::SHOTEstimationOMP< PointInT, PointNT, PointOutT, PointRFT >, pcl::SmoothedSurfacesKeypoint< PointT, PointNT >, pcl::tracking::Tracker< PointInT, StateT >, pcl::tracking::Tracker< PointInT, Eigen::Affine3f >, and pcl::SurfelSmoothing< PointT, PointNT >.
Definition at line 139 of file pcl_base.hpp.
Referenced by pcl::FilterIndices< PointInT >::filter(), and pcl::Filter< pcl::PointXYZRGBL >::filter().
|
inline |
Override PointCloud operator[] to shorten code.
| [in] | pos | position in indices_ vector |
Definition at line 143 of file pcl_base.h.
|
virtual |
Provide a pointer to the vector of indices that represents the input data.
| [in] | indices | a pointer to the indices that represent the input data. |
Reimplemented in pcl::MomentOfInertiaEstimation< PointT >.
Definition at line 73 of file pcl_base.hpp.
Referenced by pcl::people::GroundBasedPeopleDetectionApp< PointT >::compute(), and pcl::ism::ImplicitShapeModelEstimation< FeatureSize, PointT, NormalT >::simplifyCloud().
|
virtual |
Provide a pointer to the vector of indices that represents the input data.
| [in] | indices | a pointer to the indices that represent the input data. |
Reimplemented in pcl::MomentOfInertiaEstimation< PointT >.
Definition at line 82 of file pcl_base.hpp.
|
virtual |
Provide a pointer to the vector of indices that represents the input data.
| [in] | indices | a pointer to the indices that represent the input data. |
Reimplemented in pcl::MomentOfInertiaEstimation< PointT >.
Definition at line 91 of file pcl_base.hpp.
|
virtual |
Set the indices for the points laying within an interest region of the point cloud.
| [in] | row_start | the offset on rows |
| [in] | col_start | the offset on columns |
| [in] | nb_rows | the number of rows to be considered row_start included |
| [in] | nb_cols | the number of columns to be considered col_start included |
Reimplemented in pcl::MomentOfInertiaEstimation< PointT >.
Definition at line 100 of file pcl_base.hpp.
|
virtual |
Provide a pointer to the input dataset.
| [in] | cloud | the const boost shared pointer to a PointCloud message |
Reimplemented in pcl::GrabCut< PointT >, pcl::Hough3DGrouping< PointModelT, PointSceneT, PointModelRfT, PointSceneRfT >, pcl::Registration< PointSource, PointTarget, Scalar >, pcl::Registration< PointT, PointT >, pcl::PCA< PointT >, pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >, and pcl::MomentOfInertiaEstimation< PointT >.
Definition at line 66 of file pcl_base.hpp.
Referenced by pcl::LocalMaximum< PointT >::applyFilterIndices(), pcl::people::GroundBasedPeopleDetectionApp< PointT >::compute(), pcl::SIFTKeypoint< PointInT, PointOutT >::detectKeypoints(), pcl::people::GroundBasedPeopleDetectionApp< PointT >::filter(), pcl::NormalDistributionsTransform< PointSource, PointTarget >::init(), pcl::OrganizedMultiPlaneSegmentation< PointT, PointNT, PointLT >::segment(), pcl::PCA< PointT >::setInputCloud(), pcl::HypothesisVerification< ModelT, SceneT >::setSceneCloud(), and pcl::ism::ImplicitShapeModelEstimation< FeatureSize, PointT, NormalT >::simplifyCloud().
|
protected |
If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud.
Definition at line 159 of file pcl_base.h.
|
protected |
A pointer to the vector of point indices to use.
Definition at line 153 of file pcl_base.h.
Referenced by pcl::PCLBase< PointXYZRGB >::getIndices(), pcl::PCLBase< PointXYZRGB >::operator[](), and pcl::PCLBase< PointXYZRGB >::~PCLBase().
|
protected |
The input point cloud dataset.
Definition at line 150 of file pcl_base.h.
Referenced by pcl::Filter< pcl::PointXYZRGBL >::filter(), pcl::PCLBase< PointXYZRGB >::getInputCloud(), pcl::PCLBase< PointXYZRGB >::operator[](), and pcl::PCLBase< PointXYZRGB >::~PCLBase().
|
protected |
Set to true if point indices are used.
Definition at line 156 of file pcl_base.h.
Referenced by pcl::ExtractIndices< PointT >::ExtractIndices().