Handler for random PointCloud colors. More...
#include <point_cloud_handlers.h>
Public Types | |
typedef boost::shared_ptr < const PointCloudColorHandlerRandom < PointT > > | ConstPtr |
typedef boost::shared_ptr < PointCloudColorHandlerRandom < 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. | |
PointCloudColorHandlerRandom (const PointCloud &cloud) | |
Constructor. | |
Private Types | |
typedef PointCloudColorHandler < PointT >::PointCloud | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef PointCloud::Ptr | PointCloudPtr |
Handler for random PointCloud colors.
Definition at line 410 of file point_cloud_handlers.h.
typedef boost::shared_ptr<const PointCloudColorHandlerRandom<PointT> > pcl_visualization::PointCloudColorHandlerRandom< PointT >::ConstPtr |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 418 of file point_cloud_handlers.h.
typedef PointCloudColorHandler<PointT>::PointCloud pcl_visualization::PointCloudColorHandlerRandom< PointT >::PointCloud [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 412 of file point_cloud_handlers.h.
typedef PointCloud::ConstPtr pcl_visualization::PointCloudColorHandlerRandom< PointT >::PointCloudConstPtr [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 414 of file point_cloud_handlers.h.
typedef PointCloud::Ptr pcl_visualization::PointCloudColorHandlerRandom< PointT >::PointCloudPtr [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 413 of file point_cloud_handlers.h.
typedef boost::shared_ptr<PointCloudColorHandlerRandom<PointT> > pcl_visualization::PointCloudColorHandlerRandom< PointT >::Ptr |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 417 of file point_cloud_handlers.h.
pcl_visualization::PointCloudColorHandlerRandom< PointT >::PointCloudColorHandlerRandom | ( | const PointCloud & | cloud | ) | [inline] |
Constructor.
Definition at line 421 of file point_cloud_handlers.h.
void pcl_visualization::PointCloudColorHandlerRandom< PointT >::getColor | ( | vtkSmartPointer< vtkDataArray > & | scalars | ) | const [inline, virtual] |
Obtain the actual color for the input dataset as vtk scalars.
scalars | the resultant scalars containing the color for the input dataset |
Implements pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 76 of file point_cloud_handlers.hpp.
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 427 of file point_cloud_handlers.h.
virtual std::string pcl_visualization::PointCloudColorHandlerRandom< PointT >::getName | ( | ) | const [inline, virtual] |
Abstract getName method.
Implements pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 424 of file point_cloud_handlers.h.