Handler for random PointCloud colors (i.e., R, G, B will be randomly chosen) 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 PointCloudConstPtr &cloud) | |
Constructor. | |
Private Types | |
typedef PointCloudColorHandler < PointT >::PointCloud | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef PointCloud::Ptr | PointCloudPtr |
Handler for random PointCloud colors (i.e., R, G, B will be randomly chosen)
Definition at line 481 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 489 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 483 of file point_cloud_handlers.h.
typedef PointCloud::ConstPtr pcl::visualization::PointCloudColorHandlerRandom< PointT >::PointCloudConstPtr [private] |
Reimplemented from pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 485 of file point_cloud_handlers.h.
typedef PointCloud::Ptr pcl::visualization::PointCloudColorHandlerRandom< PointT >::PointCloudPtr [private] |
Reimplemented from pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 484 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 488 of file point_cloud_handlers.h.
pcl::visualization::PointCloudColorHandlerRandom< PointT >::PointCloudColorHandlerRandom | ( | const PointCloudConstPtr & | cloud | ) | [inline] |
Constructor.
Definition at line 492 of file point_cloud_handlers.h.
void pcl::visualization::PointCloudColorHandlerRandom< PointT >::getColor | ( | vtkSmartPointer< vtkDataArray > & | scalars | ) | const [virtual] |
Obtain the actual color for the input dataset as vtk scalars.
[out] | scalars | the output scalars containing the color for the dataset |
Implements pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 70 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 504 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 500 of file point_cloud_handlers.h.