Point Cloud Library (PCL)  1.3.1
Public Types | Public Member Functions
pcl::visualization::PointCloudColorHandler Class Reference

Base Handler class for PointCloud colors. More...

#include <pcl/visualization/point_cloud_handlers.h>

List of all members.

Public Types

typedef pcl::PointCloud< PointT > PointCloud
typedef PointCloud::Ptr PointCloudPtr
typedef PointCloud::ConstPtr PointCloudConstPtr
typedef boost::shared_ptr
< PointCloudColorHandler
< PointT > > 
Ptr
typedef boost::shared_ptr
< const PointCloudColorHandler
< PointT > > 
ConstPtr

Public Member Functions

 PointCloudColorHandler (const PointCloudConstPtr &cloud)
 Constructor.
bool isCapable () const
 Check if this handler is capable of handling the input data or not.
virtual std::string getName () const =0
 Abstract getName method.
virtual std::string getFieldName () const =0
 Abstract getFieldName method.
virtual void getColor (vtkSmartPointer< vtkDataArray > &scalars) const =0
 Obtain the actual color for the input dataset as vtk scalars.

Detailed Description

Base Handler class for PointCloud colors.


Member Typedef Documentation

Definition at line 416 of file point_cloud_handlers.h.

Definition at line 418 of file point_cloud_handlers.h.

Definition at line 417 of file point_cloud_handlers.h.


Constructor & Destructor Documentation

pcl::visualization::PointCloudColorHandler::PointCloudColorHandler ( const PointCloudConstPtr cloud) [inline]

Constructor.

Definition at line 424 of file point_cloud_handlers.h.


Member Function Documentation

virtual void pcl::visualization::PointCloudColorHandler::getColor ( vtkSmartPointer< vtkDataArray > &  scalars) const [pure virtual]

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

Parameters:
[out]scalarsthe output scalars containing the color for the dataset

Implemented in pcl::visualization::PointCloudColorHandlerGenericField, pcl::visualization::PointCloudColorHandlerRGBField, pcl::visualization::PointCloudColorHandlerCustom, and pcl::visualization::PointCloudColorHandlerRandom.

virtual std::string pcl::visualization::PointCloudColorHandler::getFieldName ( ) const [pure virtual]
virtual std::string pcl::visualization::PointCloudColorHandler::getName ( ) const [pure virtual]
bool pcl::visualization::PointCloudColorHandler::isCapable ( ) const [inline]

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

Definition at line 430 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