|
Fawkes API
Fawkes Development Version
|
Adapter class for PCL point types. More...
#include <>>

Public Member Functions | |
| PointCloudStorageAdapter (RefPtr< pcl::PointCloud< PointT > > cloud) | |
| Constructor. | |
| PointCloudStorageAdapter (const PointCloudStorageAdapter< PointT > *p) | |
| Copy constructor. | |
| virtual StorageAdapter * | clone () const |
| Clone this storage adapter. | |
| virtual const char * | get_typename () |
| Get typename of storage adapter. | |
| virtual size_t | point_size () const |
| Get size of a point. | |
| virtual unsigned int | width () const |
| Get width of point cloud. | |
| virtual unsigned int | height () const |
| Get height of point cloud. | |
| virtual size_t | num_points () const |
| Get numer of points in point cloud. | |
| virtual void * | data_ptr () const |
| Get pointer on data. | |
| virtual void | get_time (fawkes::Time &time) const |
| Get last capture time. | |
Public Member Functions inherited from fawkes::PointCloudManager::StorageAdapter | |
| virtual | ~StorageAdapter () |
| Virtual empty destructor. | |
| template<typename PointT > | |
| bool | is_pointtype () const |
| Check if storage adapter is for specified point type. | |
| template<typename PointT > | |
| PointCloudStorageAdapter < PointT > * | as_pointtype () |
| Transform to specific PointCloudStorageAdapter. | |
Public Attributes | |
| const RefPtr< pcl::PointCloud < PointT > > | cloud |
| The point cloud. | |
Adapter class for PCL point types.
The adapter class is required to store point clouds of arbitrary point types.
Definition at line 106 of file pointcloud_manager.h.
|
inline |
Constructor.
| cloud | cloud to encapsulate. |
Definition at line 112 of file pointcloud_manager.h.
|
inline |
Copy constructor.
| p | storage adapter to copy |
Definition at line 118 of file pointcloud_manager.h.
|
virtual |
Clone this storage adapter.
Implements fawkes::PointCloudManager::StorageAdapter.
Definition at line 221 of file pointcloud_manager.h.
|
inlinevirtual |
Get pointer on data.
Implements fawkes::PointCloudManager::StorageAdapter.
Definition at line 131 of file pointcloud_manager.h.
|
virtual |
Get last capture time.
| time | upon return contains last capture time |
Implements fawkes::PointCloudManager::StorageAdapter.
Definition at line 229 of file pointcloud_manager.h.
References fawkes::Time::get_usec(), fawkes::PointCloudTimestamp::sec, fawkes::Time::set_time(), fawkes::PointCloudTimestamp::time, and fawkes::PointCloudTimestamp::timestamp.
|
inlinevirtual |
Get typename of storage adapter.
Implements fawkes::PointCloudManager::StorageAdapter.
Definition at line 126 of file pointcloud_manager.h.
|
inlinevirtual |
Get height of point cloud.
Implements fawkes::PointCloudManager::StorageAdapter.
Definition at line 129 of file pointcloud_manager.h.
|
inlinevirtual |
Get numer of points in point cloud.
Implements fawkes::PointCloudManager::StorageAdapter.
Definition at line 130 of file pointcloud_manager.h.
|
inlinevirtual |
Get size of a point.
Implements fawkes::PointCloudManager::StorageAdapter.
Definition at line 127 of file pointcloud_manager.h.
|
inlinevirtual |
Get width of point cloud.
Implements fawkes::PointCloudManager::StorageAdapter.
Definition at line 128 of file pointcloud_manager.h.
| const RefPtr<pcl::PointCloud<PointT> > fawkes::PointCloudManager::PointCloudStorageAdapter< PointT >::cloud |
The point cloud.
Definition at line 122 of file pointcloud_manager.h.
Referenced by fawkes::PointCloudManager::get_pointcloud().