Public Types | Public Member Functions | Protected Member Functions | Private Types
pcl::visualization::PointCloudColorHandlerRGBField< PointT > Class Template Reference

RGB handler class for colors. Uses the data present in the "rgb" or "rgba" fields as the color at each point. More...

#include <point_cloud_color_handlers.h>

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

List of all members.

Public Types

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

Public Member Functions

virtual bool 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.
 PointCloudColorHandlerRGBField ()
 Constructor.
 PointCloudColorHandlerRGBField (const PointCloudConstPtr &cloud)
 Constructor.
virtual void setInputCloud (const PointCloudConstPtr &cloud)
 Set the input cloud to be used.
virtual ~PointCloudColorHandlerRGBField ()
 Destructor.

Protected Member Functions

virtual std::string getName () const
 Class getName method.

Private Types

typedef PointCloudColorHandler
< PointT >::PointCloud 
PointCloud
typedef PointCloud::ConstPtr PointCloudConstPtr
typedef PointCloud::Ptr PointCloudPtr

Detailed Description

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

RGB handler class for colors. Uses the data present in the "rgb" or "rgba" fields as the color at each point.

Author:
Radu B. Rusu

Definition at line 257 of file point_cloud_color_handlers.h.


Member Typedef Documentation

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

Constructor & Destructor Documentation

Constructor.

Definition at line 268 of file point_cloud_color_handlers.h.

Constructor.

Definition at line 274 of file point_cloud_color_handlers.h.

template<typename PointT>
virtual pcl::visualization::PointCloudColorHandlerRGBField< PointT >::~PointCloudColorHandlerRGBField ( ) [inline, virtual]

Destructor.

Definition at line 281 of file point_cloud_color_handlers.h.


Member Function Documentation

template<typename PointT >
bool pcl::visualization::PointCloudColorHandlerRGBField< PointT >::getColor ( vtkSmartPointer< vtkDataArray > &  scalars) const [virtual]

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

Parameters:
[out]scalarsthe output scalars containing the color for the dataset
Returns:
true if the operation was successful (the handler is capable and the input cloud was given as a valid pointer), false otherwise

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

Definition at line 130 of file point_cloud_color_handlers.hpp.

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

Get the name of the field used.

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

Definition at line 285 of file point_cloud_color_handlers.h.

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

Class getName method.

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

Definition at line 304 of file point_cloud_color_handlers.h.

template<typename PointT >
void pcl::visualization::PointCloudColorHandlerRGBField< PointT >::setInputCloud ( const PointCloudConstPtr cloud) [virtual]

Set the input cloud to be used.

Parameters:
[in]cloudthe input cloud to be used by the handler

Reimplemented from pcl::visualization::PointCloudColorHandler< PointT >.

Definition at line 107 of file point_cloud_color_handlers.hpp.


The documentation for this class was generated from the following files:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:47:36