Point Cloud Library (PCL)  1.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions
pcl::visualization::PointCloudGeometryHandlerXYZ< sensor_msgs::PointCloud2 > Class Template Reference

XYZ handler class for PointCloud geometry. More...

#include <pcl/visualization/point_cloud_handlers.h>

Inheritance diagram for pcl::visualization::PointCloudGeometryHandlerXYZ< sensor_msgs::PointCloud2 >:
Inheritance graph
[legend]
Collaboration diagram for pcl::visualization::PointCloudGeometryHandlerXYZ< sensor_msgs::PointCloud2 >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
PointCloudGeometryHandler
< sensor_msgs::PointCloud2 >
::PointCloud 
PointCloud
typedef PointCloud::Ptr PointCloudPtr
typedef PointCloud::ConstPtr PointCloudConstPtr
typedef boost::shared_ptr
< PointCloudGeometryHandlerXYZ
< PointCloud > > 
Ptr
typedef boost::shared_ptr
< const
PointCloudGeometryHandlerXYZ
< PointCloud > > 
ConstPtr

Public Member Functions

 PointCloudGeometryHandlerXYZ (const PointCloudConstPtr &cloud)
 Constructor.
virtual ~PointCloudGeometryHandlerXYZ ()
 Destructor.
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.

Detailed Description

template<>
class pcl::visualization::PointCloudGeometryHandlerXYZ< sensor_msgs::PointCloud2 >

XYZ handler class for PointCloud geometry.

Given an input dataset, all XYZ data present in fields "x", "y", and "z" is extracted and displayed on screen.

Definition at line 329 of file point_cloud_handlers.h.


Member Typedef Documentation


Constructor & Destructor Documentation

Constructor.

Destructor.

Definition at line 343 of file point_cloud_handlers.h.


Member Function Documentation

virtual std::string pcl::visualization::PointCloudGeometryHandlerXYZ< sensor_msgs::PointCloud2 >::getFieldName ( ) const [inline, virtual]

Get the name of the field used.

Implements pcl::visualization::PointCloudGeometryHandler< sensor_msgs::PointCloud2 >.

Definition at line 351 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.

Parameters:
[out]pointsthe resultant geometry
virtual std::string pcl::visualization::PointCloudGeometryHandlerXYZ< sensor_msgs::PointCloud2 >::getName ( ) const [inline, virtual]

Class getName method.

Implements pcl::visualization::PointCloudGeometryHandler< sensor_msgs::PointCloud2 >.

Definition at line 347 of file point_cloud_handlers.h.

Check if this handler is capable of handling the input data or not.

Definition at line 293 of file point_cloud_handlers.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines