pcl_visualization::PointCloudColorHandlerCustom< PointT > Class Template Reference

Handler for predefined user colors. More...

#include <point_cloud_handlers.h>

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

List of all members.

Public Types

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

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
 Abstract getName method.
 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
< PointT >::PointCloud 
PointCloud
typedef PointCloud::ConstPtr PointCloudConstPtr
typedef PointCloud::Ptr PointCloudPtr

Detailed Description

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

Handler for predefined user colors.

Definition at line 443 of file point_cloud_handlers.h.


Member Typedef Documentation

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

Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 451 of file point_cloud_handlers.h.

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

Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 445 of file point_cloud_handlers.h.

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

Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 447 of file point_cloud_handlers.h.

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

Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 446 of file point_cloud_handlers.h.

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

Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 450 of file point_cloud_handlers.h.


Constructor & Destructor Documentation

template<typename PointT>
pcl_visualization::PointCloudColorHandlerCustom< PointT >::PointCloudColorHandlerCustom ( const PointCloud cloud,
double  r,
double  g,
double  b 
) [inline]

Constructor.

Definition at line 454 of file point_cloud_handlers.h.


Member Function Documentation

template<typename PointT >
void pcl_visualization::PointCloudColorHandlerCustom< PointT >::getColor ( vtkSmartPointer< vtkDataArray > &  scalars  )  const [inline, 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 46 of file point_cloud_handlers.hpp.

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

Get the name of the field used.

Implements pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 466 of file point_cloud_handlers.h.

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

Abstract getName method.

Implements pcl_visualization::PointCloudColorHandler< PointT >.

Definition at line 463 of file point_cloud_handlers.h.


Member Data Documentation

template<typename PointT>
double pcl_visualization::PointCloudColorHandlerCustom< PointT >::b_ [protected]

Definition at line 479 of file point_cloud_handlers.h.

template<typename PointT>
double pcl_visualization::PointCloudColorHandlerCustom< PointT >::g_ [protected]

Definition at line 479 of file point_cloud_handlers.h.

template<typename PointT>
double pcl_visualization::PointCloudColorHandlerCustom< PointT >::r_ [protected]

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

Definition at line 479 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:19 2013