Public Types | Public Member Functions

pcl::visualization::PointCloudColorHandlerRandom< PointT > Class Template Reference
[Module visualization]

Handler for random PointCloud colors. More...

#include <pcl/visualization/point_cloud_handlers.h>

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

List of all members.

Public Types

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

Public Member Functions

 PointCloudColorHandlerRandom (const PointCloudConstPtr &cloud)
 Constructor.
virtual std::string getName () const
 Abstract getName method.
virtual std::string getFieldName () const
 Get the name of the field used.
virtual void getColor (vtkSmartPointer< vtkDataArray > &scalars) const
 Obtain the actual color for the input dataset as vtk scalars.

Detailed Description

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

Handler for random PointCloud colors.

Definition at line 453 of file point_cloud_handlers.h.


Member Typedef Documentation

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

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

Definition at line 461 of file point_cloud_handlers.h.

template<typename PointT>
typedef boost::shared_ptr<PointCloudColorHandlerRandom<PointT> > pcl::visualization::PointCloudColorHandlerRandom< PointT >::Ptr

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

Definition at line 460 of file point_cloud_handlers.h.


Constructor & Destructor Documentation

template<typename PointT>
pcl::visualization::PointCloudColorHandlerRandom< PointT >::PointCloudColorHandlerRandom ( const PointCloudConstPtr cloud  )  [inline]

Constructor.

Definition at line 464 of file point_cloud_handlers.h.


Member Function Documentation

template<typename PointT >
void pcl::visualization::PointCloudColorHandlerRandom< PointT >::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< PointT >.

Definition at line 70 of file point_cloud_handlers.hpp.

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

Get the name of the field used.

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

Definition at line 476 of file point_cloud_handlers.h.

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

Abstract getName method.

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

Definition at line 472 of file point_cloud_handlers.h.


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