Point Cloud Library (PCL)  1.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions
pcl::visualization::PointCloudGeometryHandlerCustom< sensor_msgs::PointCloud2 > Class Template Reference

Custom handler class for PointCloud geometry. More...

#include <pcl/visualization/point_cloud_handlers.h>

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

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. More...
 
virtual ~PointCloudGeometryHandlerCustom ()
 Destructor. More...
 
virtual std::string getName () const
 Class getName method. More...
 
virtual std::string getFieldName () const
 Get the name of the field used. More...
 
bool isCapable () const
 Check if this handler is capable of handling the input data or not. More...
 
virtual void getGeometry (vtkSmartPointer< vtkPoints > &points) const
 Obtain the actual point geometry for the input dataset in VTK format. More...
 

Detailed Description

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

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 390 of file point_cloud_handlers.h.

Member Typedef Documentation

Definition at line 273 of file point_cloud_handlers.h.

Definition at line 393 of file point_cloud_handlers.h.

Definition at line 395 of file point_cloud_handlers.h.

Definition at line 394 of file point_cloud_handlers.h.

Definition at line 272 of file point_cloud_handlers.h.

Constructor & Destructor Documentation

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.

Destructor.

Definition at line 404 of file point_cloud_handlers.h.

Member Function Documentation

virtual std::string pcl::visualization::PointCloudGeometryHandlerCustom< sensor_msgs::PointCloud2 >::getFieldName ( ) const
inlinevirtual

Get the name of the field used.

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

Definition at line 412 of file point_cloud_handlers.h.

virtual void pcl::visualization::PointCloudGeometryHandler< sensor_msgs::PointCloud2 >::getGeometry ( vtkSmartPointer< vtkPoints > &  points) const
virtualinherited

Obtain the actual point geometry for the input dataset in VTK format.

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

Class getName method.

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

Definition at line 408 of file point_cloud_handlers.h.

bool pcl::visualization::PointCloudGeometryHandler< sensor_msgs::PointCloud2 >::isCapable ( ) const
inlineinherited

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: