Custom handler class for PointCloud geometry. Given an input dataset and three user defined fields, all data present in them is extracted and displayed on screen as XYZ data. More...
#include <point_cloud_geometry_handlers.h>
Public Types | |
typedef PointCloudGeometryHandler < pcl::PCLPointCloud2 > ::PointCloud | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef PointCloud::Ptr | PointCloudPtr |
Public Member Functions | |
virtual std::string | getFieldName () const |
Get the name of the field used. | |
virtual std::string | getName () const |
Class getName method. | |
PointCloudGeometryHandlerCustom (const PointCloudConstPtr &cloud, const std::string &x_field_name, const std::string &y_field_name, const std::string &z_field_name) | |
Constructor. | |
virtual | ~PointCloudGeometryHandlerCustom () |
Destructor. | |
Private Attributes | |
std::string | field_name_ |
Name of the field used to create the geometry handler. |
Custom handler class for PointCloud geometry. Given an input dataset and three user defined fields, all data present in them is extracted and displayed on screen as XYZ data.
Definition at line 465 of file point_cloud_geometry_handlers.h.
typedef PointCloudGeometryHandler<pcl::PCLPointCloud2>::PointCloud pcl::visualization::PointCloudGeometryHandlerCustom< pcl::PCLPointCloud2 >::PointCloud |
Reimplemented from pcl::visualization::PointCloudGeometryHandler< pcl::PCLPointCloud2 >.
Definition at line 468 of file point_cloud_geometry_handlers.h.
typedef PointCloud::ConstPtr pcl::visualization::PointCloudGeometryHandlerCustom< pcl::PCLPointCloud2 >::PointCloudConstPtr |
Reimplemented from pcl::visualization::PointCloudGeometryHandler< pcl::PCLPointCloud2 >.
Definition at line 470 of file point_cloud_geometry_handlers.h.
typedef PointCloud::Ptr pcl::visualization::PointCloudGeometryHandlerCustom< pcl::PCLPointCloud2 >::PointCloudPtr |
Reimplemented from pcl::visualization::PointCloudGeometryHandler< pcl::PCLPointCloud2 >.
Definition at line 469 of file point_cloud_geometry_handlers.h.
pcl::visualization::PointCloudGeometryHandlerCustom< pcl::PCLPointCloud2 >::PointCloudGeometryHandlerCustom | ( | const PointCloudConstPtr & | cloud, |
const std::string & | x_field_name, | ||
const std::string & | y_field_name, | ||
const std::string & | z_field_name | ||
) |
Constructor.
Definition at line 600 of file point_cloud_handlers.cpp.
virtual pcl::visualization::PointCloudGeometryHandlerCustom< pcl::PCLPointCloud2 >::~PointCloudGeometryHandlerCustom | ( | ) | [inline, virtual] |
Destructor.
Definition at line 479 of file point_cloud_geometry_handlers.h.
virtual std::string pcl::visualization::PointCloudGeometryHandlerCustom< pcl::PCLPointCloud2 >::getFieldName | ( | ) | const [inline, virtual] |
Get the name of the field used.
Implements pcl::visualization::PointCloudGeometryHandler< pcl::PCLPointCloud2 >.
Definition at line 487 of file point_cloud_geometry_handlers.h.
virtual std::string pcl::visualization::PointCloudGeometryHandlerCustom< pcl::PCLPointCloud2 >::getName | ( | ) | const [inline, virtual] |
Class getName method.
Implements pcl::visualization::PointCloudGeometryHandler< pcl::PCLPointCloud2 >.
Definition at line 483 of file point_cloud_geometry_handlers.h.
std::string pcl::visualization::PointCloudGeometryHandlerCustom< pcl::PCLPointCloud2 >::field_name_ [private] |
Name of the field used to create the geometry handler.
Definition at line 491 of file point_cloud_geometry_handlers.h.