pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 > Class Template Reference

RGB handler class for colors. More...

#include <point_cloud_handlers.h>

Inheritance diagram for pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef boost::shared_ptr
< const
PointCloudColorHandlerRGBField
< PointCloud > > 
ConstPtr
typedef boost::shared_ptr
< PointCloudColorHandlerRGBField
< PointCloud > > 
Ptr

Public Member Functions

 PointCloudColorHandlerRGBField (const PointCloud &cloud)
 Constructor.

Protected Member Functions

virtual void getColor (vtkSmartPointer< vtkDataArray > &scalars) const
 Obtain the actual color for the input dataset as vtk scalars.
virtual std::string getFieldName () const
 Get the name of the field used.
virtual std::string getName () const
 Get the name of the class.

Private Types

typedef PointCloudColorHandler
< sensor_msgs::PointCloud2 >
::PointCloud 
PointCloud
typedef PointCloud::ConstPtr PointCloudConstPtr
typedef PointCloud::Ptr PointCloudPtr

Detailed Description

template<>
class pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >

RGB handler class for colors.

Definition at line 668 of file point_cloud_handlers.h.


Member Typedef Documentation

typedef boost::shared_ptr<const PointCloudColorHandlerRGBField<PointCloud> > pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::ConstPtr
typedef PointCloudColorHandler<sensor_msgs::PointCloud2>::PointCloud pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::PointCloud [private]
typedef PointCloud::ConstPtr pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::PointCloudConstPtr [private]
typedef PointCloud::Ptr pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::PointCloudPtr [private]
typedef boost::shared_ptr<PointCloudColorHandlerRGBField<PointCloud> > pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::Ptr

Constructor & Destructor Documentation

Constructor.


Member Function Documentation

void pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::getColor ( vtkSmartPointer< vtkDataArray > &  scalars  )  const [protected, virtual]

Obtain the actual color for the input dataset as vtk scalars.

Parameters:
scalars the resultant scalars containing the color for the input dataset

Implements pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.

Definition at line 125 of file point_cloud_handlers.cpp.

virtual std::string pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::getFieldName (  )  const [inline, protected, virtual]

Get the name of the field used.

Implements pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.

Definition at line 686 of file point_cloud_handlers.h.

virtual std::string pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::getName (  )  const [inline, protected, virtual]

Get the name of the class.

Implements pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.

Definition at line 683 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 Defines


pcl_visualization
Author(s): Radu Bogdan Rusu, Bastian Steder, Ethan Rublee
autogenerated on Fri Jan 11 09:59:20 2013