$search
Handler for random PointCloud colors. More...
#include <point_cloud_handlers.h>
Public Types | |
typedef boost::shared_ptr < const PointCloudColorHandlerRandom < PointCloud > > | ConstPtr |
typedef boost::shared_ptr < PointCloudColorHandlerRandom < PointCloud > > | 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 |
Get the name of the class. | |
PointCloudColorHandlerRandom (const PointCloud &cloud) | |
Constructor. | |
Private Types | |
typedef PointCloudColorHandler < sensor_msgs::PointCloud2 > ::PointCloud | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef PointCloud::Ptr | PointCloudPtr |
Handler for random PointCloud colors.
Definition at line 607 of file point_cloud_handlers.h.
typedef boost::shared_ptr<const PointCloudColorHandlerRandom<PointCloud> > pcl_visualization::PointCloudColorHandlerRandom< sensor_msgs::PointCloud2 >::ConstPtr |
Reimplemented from pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 615 of file point_cloud_handlers.h.
typedef PointCloudColorHandler<sensor_msgs::PointCloud2>::PointCloud pcl_visualization::PointCloudColorHandlerRandom< sensor_msgs::PointCloud2 >::PointCloud [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 609 of file point_cloud_handlers.h.
typedef PointCloud::ConstPtr pcl_visualization::PointCloudColorHandlerRandom< sensor_msgs::PointCloud2 >::PointCloudConstPtr [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 611 of file point_cloud_handlers.h.
typedef PointCloud::Ptr pcl_visualization::PointCloudColorHandlerRandom< sensor_msgs::PointCloud2 >::PointCloudPtr [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 610 of file point_cloud_handlers.h.
typedef boost::shared_ptr<PointCloudColorHandlerRandom<PointCloud> > pcl_visualization::PointCloudColorHandlerRandom< sensor_msgs::PointCloud2 >::Ptr |
Reimplemented from pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 614 of file point_cloud_handlers.h.
pcl_visualization::PointCloudColorHandlerRandom< sensor_msgs::PointCloud2 >::PointCloudColorHandlerRandom | ( | const PointCloud & | cloud | ) | [inline] |
Constructor.
Definition at line 618 of file point_cloud_handlers.h.
void pcl_visualization::PointCloudColorHandlerRandom< sensor_msgs::PointCloud2 >::getColor | ( | vtkSmartPointer< vtkDataArray > & | scalars | ) | const [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< sensor_msgs::PointCloud2 >.
Definition at line 77 of file point_cloud_handlers.cpp.
virtual std::string pcl_visualization::PointCloudColorHandlerRandom< sensor_msgs::PointCloud2 >::getFieldName | ( | ) | const [inline, virtual] |
Get the name of the field used.
Implements pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 624 of file point_cloud_handlers.h.
virtual std::string pcl_visualization::PointCloudColorHandlerRandom< sensor_msgs::PointCloud2 >::getName | ( | void | ) | const [inline, virtual] |
Get the name of the class.
Implements pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 621 of file point_cloud_handlers.h.