$search

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

Handler for predefined user colors. More...

#include <point_cloud_handlers.h>

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

List of all members.

Public 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.
 PointCloudColorHandlerCustom (const PointCloud &cloud, double r, double g, double b)
 Constructor.

Protected Attributes

double b_
double g_
double r_
 Internal R, G, B holding the values given by the user.

Private Types

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

Detailed Description

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

Handler for predefined user colors.

Definition at line 635 of file point_cloud_handlers.h.


Member Typedef Documentation


Constructor & Destructor Documentation

pcl_visualization::PointCloudColorHandlerCustom< sensor_msgs::PointCloud2 >::PointCloudColorHandlerCustom ( const PointCloud cloud,
double  r,
double  g,
double  b 
) [inline]

Constructor.

Definition at line 643 of file point_cloud_handlers.h.


Member Function Documentation

void pcl_visualization::PointCloudColorHandlerCustom< sensor_msgs::PointCloud2 >::getColor ( vtkSmartPointer< vtkDataArray > &  scalars  )  const [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 47 of file point_cloud_handlers.cpp.

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

Get the name of the field used.

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

Definition at line 655 of file point_cloud_handlers.h.

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

Get the name of the class.

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

Definition at line 652 of file point_cloud_handlers.h.


Member Data Documentation

Definition at line 664 of file point_cloud_handlers.h.

Definition at line 664 of file point_cloud_handlers.h.

Internal R, G, B holding the values given by the user.

Definition at line 664 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 Properties Friends Defines


pcl_visualization
Author(s): Radu Bogdan Rusu, Bastian Steder, Ethan Rublee
autogenerated on Fri Mar 1 16:30:00 2013