Fawkes API
Fawkes Development Version
|
#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 StorageAdapter * | clone () 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 |
![]() | |
virtual | ~StorageAdapter () |
Virtual empty destructor. More... | |
template<typename PointT > | |
bool | is_pointtype () const |
template<typename PointT > | |
PointCloudStorageAdapter< PointT > * | as_pointtype () |
Public Attributes | |
const RefPtr< pcl::PointCloud< PointT > > | cloud |
The point cloud. More... | |
Adapter class for PCL point types. The adapter class is required to store point clouds of arbitrary point types.
Definition at line 43 of file storage_adapter.h.
|
inline |
|
inline |
Copy constructor.
p | storage adapter to copy |
Definition at line 89 of file storage_adapter.h.
References fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::cloud.
|
virtual |
Clone this storage adapter.
Implements fawkes::pcl_utils::StorageAdapter.
Definition at line 183 of file storage_adapter.h.
|
inline |
Get PCL const shared pointer to cloud.
Definition at line 109 of file storage_adapter.h.
|
inline |
Get PCL shared pointer to cloud.
Definition at line 100 of file storage_adapter.h.
References fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::cloud.
|
inlinevirtual |
Get pointer on data.
Implements fawkes::pcl_utils::StorageAdapter.
Definition at line 149 of file storage_adapter.h.
|
inlinevirtual |
Get frame ID of point cloud.
Implements fawkes::pcl_utils::StorageAdapter.
Definition at line 154 of file storage_adapter.h.
|
virtual |
Get last capture time.
time | upon return contains last capture time |
Implements fawkes::pcl_utils::StorageAdapter.
Definition at line 190 of file storage_adapter.h.
|
inlinevirtual |
Get typename of storage adapter.
Implements fawkes::pcl_utils::StorageAdapter.
Definition at line 124 of file storage_adapter.h.
References fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::cloud.
|
inlinevirtual |
Get height of point cloud.
Implements fawkes::pcl_utils::StorageAdapter.
Definition at line 139 of file storage_adapter.h.
References fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::cloud.
|
inlinevirtual |
Get numer of points in point cloud.
Implements fawkes::pcl_utils::StorageAdapter.
Definition at line 144 of file storage_adapter.h.
References fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::cloud.
|
inlinevirtual |
Get size of a point.
Implements fawkes::pcl_utils::StorageAdapter.
Definition at line 129 of file storage_adapter.h.
References fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::cloud.
|
virtual |
Transform point cloud.
target_frame | frame to transform to |
transformer | transformer to get transform from |
Implements fawkes::pcl_utils::StorageAdapter.
Definition at line 197 of file storage_adapter.h.
|
virtual |
Transform point cloud.
target_frame | frame to transform to |
target_time | time for which to transform |
fixed_frame | frame fixed over time |
transformer | transformer to get transform from |
Implements fawkes::pcl_utils::StorageAdapter.
Definition at line 207 of file storage_adapter.h.
|
inlinevirtual |
Get width of point cloud.
Implements fawkes::pcl_utils::StorageAdapter.
Definition at line 134 of file storage_adapter.h.
References fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::cloud.
const RefPtr<pcl::PointCloud<PointT> > fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::cloud |
The point cloud.
Definition at line 94 of file storage_adapter.h.
Referenced by fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::cloud_ptr(), fawkes::PointCloudManager::get_pointcloud(), fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::get_typename(), fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::height(), fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::num_points(), fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::point_size(), fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::PointCloudStorageAdapter(), and fawkes::pcl_utils::PointCloudStorageAdapter< PointT >::width().