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::PointCloudGeometryHandlerCustom< PointT > Class Template Reference

Custom handler class for PointCloud geometry. More...

#include <pcl/visualization/point_cloud_handlers.h>

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

List of all members.

Public Types

typedef
PointCloudGeometryHandler
< PointT >::PointCloud 
PointCloud
typedef PointCloud::Ptr PointCloudPtr
typedef PointCloud::ConstPtr PointCloudConstPtr
typedef boost::shared_ptr
< PointCloudGeometryHandlerCustom
< PointT > > 
Ptr
typedef boost::shared_ptr
< const
PointCloudGeometryHandlerCustom
< PointT > > 
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.
virtual void getGeometry (vtkSmartPointer< vtkPoints > &points) const
 Obtain the actual point geometry for the input dataset in VTK format.
bool isCapable () const
 Checl if this handler is capable of handling the input data or not.

Detailed Description

template<typename PointT>
class pcl::visualization::PointCloudGeometryHandlerCustom< PointT >

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


Member Typedef Documentation

template<typename PointT >
typedef boost::shared_ptr<const PointCloudGeometryHandlerCustom<PointT> > pcl::visualization::PointCloudGeometryHandlerCustom< PointT >::ConstPtr
template<typename PointT >
typedef boost::shared_ptr<PointCloudGeometryHandlerCustom<PointT> > pcl::visualization::PointCloudGeometryHandlerCustom< PointT >::Ptr

Constructor & Destructor Documentation

template<typename PointT >
pcl::visualization::PointCloudGeometryHandlerCustom< PointT >::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 500 of file point_cloud_handlers.hpp.


Member Function Documentation

template<typename PointT >
virtual std::string pcl::visualization::PointCloudGeometryHandlerCustom< PointT >::getFieldName ( ) const [inline, virtual]

Get the name of the field used.

Implements pcl::visualization::PointCloudGeometryHandler< PointT >.

Definition at line 239 of file point_cloud_handlers.h.

template<typename PointT >
void pcl::visualization::PointCloudGeometryHandlerCustom< PointT >::getGeometry ( vtkSmartPointer< vtkPoints > &  points) const [virtual]

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

Parameters:
[out]pointsthe resultant geometry

Implements pcl::visualization::PointCloudGeometryHandler< PointT >.

Definition at line 518 of file point_cloud_handlers.hpp.

template<typename PointT >
virtual std::string pcl::visualization::PointCloudGeometryHandlerCustom< PointT >::getName ( ) const [inline, virtual]

Class getName method.

Implements pcl::visualization::PointCloudGeometryHandler< PointT >.

Definition at line 235 of file point_cloud_handlers.h.

template<typename PointT>
bool pcl::visualization::PointCloudGeometryHandler< PointT >::isCapable ( ) const [inline, inherited]

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

Definition at line 90 of file point_cloud_handlers.h.


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