pcl_visualization::PointCloudColorHandlerGenericField< PointT > Class Template Reference

Generic field handler class for colors. More...

#include <point_cloud_handlers.h>

Inheritance diagram for pcl_visualization::PointCloudColorHandlerGenericField< PointT >:
Inheritance graph
[legend]

List of all members.

Public Types

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

Public Member Functions

virtual std::string getFieldName () const
 Get the name of the field used.
 PointCloudColorHandlerGenericField (const PointCloud &cloud, const std::string &field_name)
 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 getName () const
 Class getName method.

Private Types

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

Private Attributes

std::string field_name_
 Name of the field used to create the color handler.

Detailed Description

template<typename PointT>
class pcl_visualization::PointCloudColorHandlerGenericField< PointT >

Generic field handler class for colors.

Definition at line 521 of file point_cloud_handlers.h.


Member Typedef Documentation

template<typename PointT>
typedef boost::shared_ptr<const PointCloudColorHandlerGenericField<PointT> > pcl_visualization::PointCloudColorHandlerGenericField< PointT >::ConstPtr

Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 529 of file point_cloud_handlers.h.

template<typename PointT>
typedef PointCloudColorHandler<PointT>::PointCloud pcl_visualization::PointCloudColorHandlerGenericField< PointT >::PointCloud [private]

Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 523 of file point_cloud_handlers.h.

template<typename PointT>
typedef PointCloud::ConstPtr pcl_visualization::PointCloudColorHandlerGenericField< PointT >::PointCloudConstPtr [private]

Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 525 of file point_cloud_handlers.h.

template<typename PointT>
typedef PointCloud::Ptr pcl_visualization::PointCloudColorHandlerGenericField< PointT >::PointCloudPtr [private]

Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 524 of file point_cloud_handlers.h.

template<typename PointT>
typedef boost::shared_ptr<PointCloudColorHandlerGenericField<PointT> > pcl_visualization::PointCloudColorHandlerGenericField< PointT >::Ptr

Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 528 of file point_cloud_handlers.h.


Constructor & Destructor Documentation

template<typename PointT>
pcl_visualization::PointCloudColorHandlerGenericField< PointT >::PointCloudColorHandlerGenericField ( const PointCloud cloud,
const std::string &  field_name 
)

Constructor.


Member Function Documentation

template<typename PointT >
void pcl_visualization::PointCloudColorHandlerGenericField< PointT >::getColor ( vtkSmartPointer< vtkDataArray > &  scalars  )  const [inline, 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< PointT >.

Definition at line 201 of file point_cloud_handlers.hpp.

template<typename PointT>
virtual std::string pcl_visualization::PointCloudColorHandlerGenericField< PointT >::getFieldName (  )  const [inline, virtual]

Get the name of the field used.

Implements pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 535 of file point_cloud_handlers.h.

template<typename PointT>
virtual std::string pcl_visualization::PointCloudColorHandlerGenericField< PointT >::getName (  )  const [inline, protected, virtual]

Class getName method.

Implements pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 539 of file point_cloud_handlers.h.


Member Data Documentation

template<typename PointT>
std::string pcl_visualization::PointCloudColorHandlerGenericField< PointT >::field_name_ [private]

Name of the field used to create the color handler.

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