Handler for random PointCloud colors (i.e., R, G, B will be randomly chosen). More...
#include <pcl/visualization/point_cloud_color_handlers.h>


Public Types | |
| typedef boost::shared_ptr < PointCloudColorHandlerRandom < PointT > > | Ptr |
| typedef boost::shared_ptr < const PointCloudColorHandlerRandom < PointT > > | ConstPtr |
Public Member Functions | |
| PointCloudColorHandlerRandom () | |
| Constructor. | |
| 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 bool | getColor (vtkSmartPointer< vtkDataArray > &scalars) const |
| Obtain the actual color for the input dataset as vtk scalars. | |
Handler for random PointCloud colors (i.e., R, G, B will be randomly chosen).
Definition at line 138 of file point_cloud_color_handlers.h.
| typedef boost::shared_ptr<const PointCloudColorHandlerRandom<PointT> > pcl::visualization::PointCloudColorHandlerRandom< PointT >::ConstPtr |
Reimplemented from pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 146 of file point_cloud_color_handlers.h.
| typedef boost::shared_ptr<PointCloudColorHandlerRandom<PointT> > pcl::visualization::PointCloudColorHandlerRandom< PointT >::Ptr |
Reimplemented from pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 145 of file point_cloud_color_handlers.h.
| pcl::visualization::PointCloudColorHandlerRandom< PointT >::PointCloudColorHandlerRandom | ( | ) | [inline] |
Constructor.
Definition at line 149 of file point_cloud_color_handlers.h.
References pcl::visualization::PointCloudColorHandler< PointT >::capable_.
| pcl::visualization::PointCloudColorHandlerRandom< PointT >::PointCloudColorHandlerRandom | ( | const PointCloudConstPtr & | cloud | ) | [inline] |
Constructor.
Definition at line 156 of file point_cloud_color_handlers.h.
References pcl::visualization::PointCloudColorHandler< PointT >::capable_.
| bool pcl::visualization::PointCloudColorHandlerRandom< PointT >::getColor | ( | vtkSmartPointer< vtkDataArray > & | scalars | ) | const [inline, 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 73 of file point_cloud_color_handlers.hpp.
References pcl::visualization::PointCloudColorHandler< PointT >::capable_, pcl::visualization::PointCloudColorHandler< PointT >::cloud_, and pcl::visualization::getRandomColors().
| 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 168 of file point_cloud_color_handlers.h.
| virtual std::string pcl::visualization::PointCloudColorHandlerRandom< PointT >::getName | ( | ) | const [inline, virtual] |
Abstract getName method.
Implements pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 164 of file point_cloud_color_handlers.h.