Point Cloud Library (PCL)
1.9.1
|
38 #ifndef PCL_PCL_BASE_H_
39 #define PCL_PCL_BASE_H_
42 # pragma GCC system_header
46 #include <pcl/pcl_macros.h>
48 #include <boost/shared_ptr.hpp>
49 #include <Eigen/StdVector>
53 #include <pcl/point_cloud.h>
54 #include <pcl/PointIndices.h>
55 #include <pcl/PCLPointCloud2.h>
60 typedef boost::shared_ptr <std::vector<int> >
IndicesPtr;
67 template <
typename Po
intT>
98 inline PointCloudConstPtr
const
128 setIndices (
size_t row_start,
size_t col_start,
size_t nb_rows,
size_t nb_cols);
179 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
253 bool deinitCompute ();
255 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
259 #ifdef PCL_NO_PRECOMPILE
260 #include <pcl/impl/pcl_base.hpp>
263 #endif //#ifndef PCL_PCL_BASE_H_
pcl::PointCloud< PointT > PointCloud
const PointT & operator[](size_t pos) const
Override PointCloud operator[] to shorten code.
boost::shared_ptr< std::vector< int > > IndicesPtr
bool fake_indices_
If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud.
This file defines compatibility wrappers for low level I/O functions.
boost::shared_ptr< PointCloud< PointT > > Ptr
PCLBase()
Empty constructor.
PointCloudConstPtr input_
The input point cloud dataset.
bool use_indices_
Set to true if point indices are used.
boost::shared_ptr< PCLPointCloud2 > PCLPointCloud2Ptr
boost::shared_ptr< PointIndices const > PointIndicesConstPtr
PointCloud represents the base class in PCL for storing collections of 3D points.
const PCLPointCloud2ConstPtr getInputCloud() const
Get a pointer to the input point cloud dataset.
boost::shared_ptr< ::pcl::PCLPointCloud2 const > PCLPointCloud2ConstPtr
bool use_indices_
Set to true if point indices are used.
virtual void setInputCloud(const PointCloudConstPtr &cloud)
Provide a pointer to the input dataset.
A point structure representing Euclidean xyz coordinates, and the RGB color.
IndicesPtr indices_
A pointer to the vector of point indices to use.
const IndicesPtr getIndices()
Get a pointer to the vector of indices used.
virtual ~PCLBase()
Destructor.
boost::shared_ptr< PointIndices > PointIndicesPtr
virtual ~PCLBase()
destructor.
boost::shared_ptr< PointIndices const > PointIndicesConstPtr
PCLPointCloud2ConstPtr input_
The input point cloud dataset.
PointCloud::Ptr PointCloudPtr
std::vector< int > field_sizes_
The size of each individual field.
virtual void setIndices(const IndicesPtr &indices)
Provide a pointer to the vector of indices that represents the input data.
PointCloud::ConstPtr PointCloudConstPtr
boost::shared_ptr< ::pcl::PointIndices const > PointIndicesConstPtr
std::string z_field_name_
const PointCloudConstPtr getInputCloud() const
Get a pointer to the input point cloud dataset.
bool deinitCompute()
This method should get called after finishing the actual computation.
IndicesPtr indices_
A pointer to the vector of point indices to use.
pcl::PCLPointCloud2 PCLPointCloud2
boost::shared_ptr< const PointCloud< PointT > > ConstPtr
bool fake_indices_
If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud.
boost::shared_ptr< const std::vector< int > > IndicesConstPtr
bool initCompute()
This method should get called before starting the actual computation.
const IndicesConstPtr getIndices() const
Get a pointer to the vector of indices used.
const IndicesPtr getIndices() const
Get a pointer to the vector of indices used.
boost::shared_ptr< PCLPointCloud2 const > PCLPointCloud2ConstPtr
boost::shared_ptr< PointIndices > PointIndicesPtr