42 # pragma GCC system_header
46 #include <pcl/memory.h>
47 #include <pcl/pcl_macros.h>
49 #include <Eigen/StdVector>
53 #include <pcl/point_cloud.h>
54 #include <pcl/PointIndices.h>
55 #include <pcl/PCLPointCloud2.h>
56 #include <pcl/types.h>
68 template <
typename Po
intT>
125 setIndices (std::size_t row_start, std::size_t col_start, std::size_t nb_rows, std::size_t nb_cols);
246 bool deinitCompute ();
252 #ifdef PCL_NO_PRECOMPILE
253 #include <pcl/impl/pcl_base.hpp>
IndicesPtr const getIndices()
Get a pointer to the vector of indices used.
PointIndices::ConstPtr PointIndicesConstPtr
std::vector< int > field_sizes_
The size of each individual field.
PointIndices::Ptr PointIndicesPtr
shared_ptr< Indices > IndicesPtr
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...
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
IndicesConstPtr const getIndices() const
Get a pointer to the vector of indices used.
shared_ptr< const Indices > IndicesConstPtr
PCLPointCloud2ConstPtr const getInputCloud() const
Get a pointer to the input point cloud dataset.
bool initCompute()
This method should get called before starting the actual computation.
PointCloudConstPtr const getInputCloud() const
Get a pointer to the input point cloud dataset.
shared_ptr< ::pcl::PointIndices > Ptr
std::string z_field_name_
shared_ptr< PointCloud< PointT > > Ptr
PointIndices::ConstPtr PointIndicesConstPtr
PointIndices::Ptr PointIndicesPtr
typename PointCloud::Ptr PointCloudPtr
bool use_indices_
Set to true if point indices are used.
bool deinitCompute()
This method should get called after finishing the actual computation.
virtual void setIndices(const IndicesPtr &indices)
Provide a pointer to the vector of indices that represents the input data.
PointCloud represents the base class in PCL for storing collections of 3D points. ...
shared_ptr< const PointCloud< PointT > > ConstPtr
virtual ~PCLBase()=default
Destructor.
PCLBase()
Empty constructor.
IndicesPtr indices_
A pointer to the vector of point indices to use.
virtual void setInputCloud(const PointCloudConstPtr &cloud)
Provide a pointer to the input dataset.
PCLPointCloud2::ConstPtr PCLPointCloud2ConstPtr
shared_ptr< const ::pcl::PointIndices > ConstPtr
IndicesPtr const getIndices() const
Get a pointer to the vector of indices used.
PointCloudConstPtr input_
The input point cloud dataset.
A point structure representing Euclidean xyz coordinates, and the RGB color.
PCLPointCloud2ConstPtr input_
The input point cloud dataset.
bool fake_indices_
If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud...
PointIndices::ConstPtr PointIndicesConstPtr
PCLPointCloud2::Ptr PCLPointCloud2Ptr
const PointT & operator[](std::size_t pos) const
Override PointCloud operator[] to shorten code.
typename PointCloud::ConstPtr PointCloudConstPtr