Point Cloud Library (PCL)
1.3.1
|
Custom handler class for PointCloud geometry. More...
#include <pcl/visualization/point_cloud_handlers.h>
Public Types | |
typedef PointCloudGeometryHandler < sensor_msgs::PointCloud2 > ::PointCloud | PointCloud |
typedef PointCloud::Ptr | PointCloudPtr |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef boost::shared_ptr < PointCloudGeometryHandler < PointCloud > > | Ptr |
typedef boost::shared_ptr < const PointCloudGeometryHandler < PointCloud > > | ConstPtr |
Public Member Functions | |
PointCloudGeometryHandlerCustom (const PointCloudConstPtr &cloud, const std::string &x_field_name, const std::string &y_field_name, const std::string &z_field_name) | |
Constructor. | |
virtual std::string | getName () const |
Class getName method. | |
virtual std::string | getFieldName () const |
Get the name of the field used. | |
bool | isCapable () const |
Check if this handler is capable of handling the input data or not. | |
virtual void | getGeometry (vtkSmartPointer< vtkPoints > &points) const |
Obtain the actual point geometry for the input dataset in VTK format. |
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.
typedef boost::shared_ptr<const PointCloudGeometryHandler<PointCloud> > pcl::visualization::PointCloudGeometryHandler< sensor_msgs::PointCloud2 >::ConstPtr [inherited] |
Reimplemented in pcl::visualization::PointCloudGeometryHandlerSurfaceNormal< sensor_msgs::PointCloud2 >, and pcl::visualization::PointCloudGeometryHandlerXYZ< sensor_msgs::PointCloud2 >.
Definition at line 269 of file point_cloud_handlers.h.
typedef PointCloudGeometryHandler<sensor_msgs::PointCloud2>::PointCloud pcl::visualization::PointCloudGeometryHandlerCustom< sensor_msgs::PointCloud2 >::PointCloud |
Reimplemented from pcl::visualization::PointCloudGeometryHandler< sensor_msgs::PointCloud2 >.
Definition at line 385 of file point_cloud_handlers.h.
typedef PointCloud::ConstPtr pcl::visualization::PointCloudGeometryHandlerCustom< sensor_msgs::PointCloud2 >::PointCloudConstPtr |
Reimplemented from pcl::visualization::PointCloudGeometryHandler< sensor_msgs::PointCloud2 >.
Definition at line 387 of file point_cloud_handlers.h.
typedef PointCloud::Ptr pcl::visualization::PointCloudGeometryHandlerCustom< sensor_msgs::PointCloud2 >::PointCloudPtr |
Reimplemented from pcl::visualization::PointCloudGeometryHandler< sensor_msgs::PointCloud2 >.
Definition at line 386 of file point_cloud_handlers.h.
typedef boost::shared_ptr<PointCloudGeometryHandler<PointCloud> > pcl::visualization::PointCloudGeometryHandler< sensor_msgs::PointCloud2 >::Ptr [inherited] |
Reimplemented in pcl::visualization::PointCloudGeometryHandlerSurfaceNormal< sensor_msgs::PointCloud2 >, and pcl::visualization::PointCloudGeometryHandlerXYZ< sensor_msgs::PointCloud2 >.
Definition at line 268 of file point_cloud_handlers.h.
pcl::visualization::PointCloudGeometryHandlerCustom< sensor_msgs::PointCloud2 >::PointCloudGeometryHandlerCustom | ( | const PointCloudConstPtr & | cloud, |
const std::string & | x_field_name, | ||
const std::string & | y_field_name, | ||
const std::string & | z_field_name | ||
) |
Constructor.
virtual std::string pcl::visualization::PointCloudGeometryHandlerCustom< sensor_msgs::PointCloud2 >::getFieldName | ( | ) | const [inline, virtual] |
Get the name of the field used.
Implements pcl::visualization::PointCloudGeometryHandler< sensor_msgs::PointCloud2 >.
Definition at line 401 of file point_cloud_handlers.h.
virtual void pcl::visualization::PointCloudGeometryHandler< sensor_msgs::PointCloud2 >::getGeometry | ( | vtkSmartPointer< vtkPoints > & | points | ) | const [virtual, inherited] |
Obtain the actual point geometry for the input dataset in VTK format.
[out] | points | the resultant geometry |
virtual std::string pcl::visualization::PointCloudGeometryHandlerCustom< sensor_msgs::PointCloud2 >::getName | ( | ) | const [inline, virtual] |
Class getName method.
Implements pcl::visualization::PointCloudGeometryHandler< sensor_msgs::PointCloud2 >.
Definition at line 397 of file point_cloud_handlers.h.
bool pcl::visualization::PointCloudGeometryHandler< sensor_msgs::PointCloud2 >::isCapable | ( | ) | const [inline, inherited] |
Check if this handler is capable of handling the input data or not.
Definition at line 288 of file point_cloud_handlers.h.