Point Cloud Library (PCL)
1.10.1
|
42 # pragma GCC system_header
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>
68 template <
typename Po
intT>
99 inline PointCloudConstPtr
const
129 setIndices (std::size_t row_start, std::size_t col_start, std::size_t nb_rows, std::size_t nb_cols);
254 bool deinitCompute ();
260 #ifdef PCL_NO_PRECOMPILE
261 #include <pcl/impl/pcl_base.hpp>
bool fake_indices_
If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud.
Defines all the PCL and non-PCL macros used.
This file defines compatibility wrappers for low level I/O functions.
shared_ptr< Indices > IndicesPtr
typename PointCloud::ConstPtr PointCloudConstPtr
PCLBase()
Empty constructor.
PointCloudConstPtr input_
The input point cloud dataset.
typename PointCloud::Ptr PointCloudPtr
shared_ptr< ::pcl::PCLPointCloud2 > Ptr
bool use_indices_
Set to true if point indices are used.
shared_ptr< const Indices > IndicesConstPtr
const PointT & operator[](std::size_t pos) const
Override PointCloud operator[] to shorten code.
PointIndices::ConstPtr PointIndicesConstPtr
PCLPointCloud2::ConstPtr PCLPointCloud2ConstPtr
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.
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.
std::vector< int > Indices
IndicesPtr indices_
A pointer to the vector of point indices to use.
PCLPointCloud2::ConstPtr PCLPointCloud2ConstPtr
const IndicesPtr getIndices()
Get a pointer to the vector of indices used.
virtual ~PCLBase()
Destructor.
shared_ptr< const ::pcl::PointIndices > ConstPtr
PCLPointCloud2::Ptr PCLPointCloud2Ptr
virtual ~PCLBase()
destructor.
PointIndices::ConstPtr PointIndicesConstPtr
shared_ptr< const ::pcl::PCLPointCloud2 > ConstPtr
PCLPointCloud2ConstPtr input_
The input point cloud dataset.
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.
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
PointIndices::Ptr PointIndicesPtr
shared_ptr< ::pcl::PointIndices > Ptr
std::string z_field_name_
const PointCloudConstPtr getInputCloud() const
Get a pointer to the input point cloud dataset.
shared_ptr< PointCloud< PointT > > Ptr
bool deinitCompute()
This method should get called after finishing the actual computation.
IndicesPtr indices_
A pointer to the vector of point indices to use.
PointIndices::ConstPtr PointIndicesConstPtr
bool fake_indices_
If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud.
shared_ptr< const PointCloud< PointT > > ConstPtr
PointIndices::Ptr PointIndicesPtr
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< T > shared_ptr
Alias for boost::shared_ptr.