Fawkes API  Fawkes Development Version
fawkes::pcl_utils::PointCloudStorageAdapter Class Reference

#include <>>

Public Member Functions

 PointCloudStorageAdapter (RefPtr< pcl::PointCloud< PointT >> cloud)
 Constructor. More...
 
 PointCloudStorageAdapter (const PointCloudStorageAdapter< PointT > *p)
 Copy constructor. More...
 
pcl::PointCloud< PointT >::Ptr cloud_ptr ()
 Get PCL shared pointer to cloud. More...
 
pcl::PointCloud< PointT >::ConstPtr cloud_const_ptr ()
 Get PCL const shared pointer to cloud. More...
 
virtual StorageAdapterclone () const
 
virtual void transform (const std::string &target_frame, const tf::Transformer &transformer)
 
virtual void transform (const std::string &target_frame, const Time &target_time, const std::string &fixed_frame, const tf::Transformer &transformer)
 
virtual const char * get_typename ()
 
virtual size_t point_size () const
 
virtual unsigned int width () const
 
virtual unsigned int height () const
 
virtual size_t num_points () const
 
virtual void * data_ptr () const
 
virtual std::string frame_id () const
 
virtual void get_time (fawkes::Time &time) const
 

Public Attributes

const RefPtr< pcl::PointCloud< PointT > > cloud
 The point cloud. More...
 

Detailed Description

Adapter class for PCL point types. The adapter class is required to store point clouds of arbitrary point types.

Author
Tim Niemueller

Definition at line 46 of file storage_adapter.h.

Constructor & Destructor Documentation

◆ PointCloudStorageAdapter() [1/2]

fawkes::pcl_utils::PointCloudStorageAdapter::PointCloudStorageAdapter ( RefPtr< pcl::PointCloud< PointT >>  cloud)
inline

Constructor.

Parameters
cloudcloud to encapsulate.

Definition at line 85 of file storage_adapter.h.

◆ PointCloudStorageAdapter() [2/2]

fawkes::pcl_utils::PointCloudStorageAdapter::PointCloudStorageAdapter ( const PointCloudStorageAdapter< PointT > *  p)
inline

Copy constructor.

Parameters
pstorage adapter to copy

Definition at line 92 of file storage_adapter.h.

References cloud.

Member Function Documentation

◆ cloud_const_ptr()

pcl::PointCloud<PointT>::ConstPtr fawkes::pcl_utils::PointCloudStorageAdapter::cloud_const_ptr ( )
inline

Get PCL const shared pointer to cloud.

Returns
PCL const shared pointer to cloud

Definition at line 112 of file storage_adapter.h.

◆ cloud_ptr()

pcl::PointCloud<PointT>::Ptr fawkes::pcl_utils::PointCloudStorageAdapter::cloud_ptr ( )
inline

Get PCL shared pointer to cloud.

Returns
PCL shared pointer to cloud

Definition at line 103 of file storage_adapter.h.

Member Data Documentation

◆ cloud

const RefPtr<pcl::PointCloud<PointT> > fawkes::pcl_utils::PointCloudStorageAdapter::cloud

The point cloud.

Definition at line 97 of file storage_adapter.h.

Referenced by fawkes::PointCloudManager::get_pointcloud(), and PointCloudStorageAdapter().


The documentation for this class was generated from the following file: