Point Cloud Library (PCL)
1.7.0
|
RGB handler class for colors. More...
#include <pcl/visualization/point_cloud_color_handlers.h>
Public Types | |
typedef boost::shared_ptr < PointCloudColorHandlerRGBField < PointCloud > > | Ptr |
typedef boost::shared_ptr < const PointCloudColorHandlerRGBField < PointCloud > > | ConstPtr |
Public Member Functions | |
PointCloudColorHandlerRGBField (const PointCloudConstPtr &cloud) | |
Constructor. | |
virtual | ~PointCloudColorHandlerRGBField () |
Empty destructor. | |
virtual bool | getColor (vtkSmartPointer< vtkDataArray > &scalars) const |
Obtain the actual color for the input dataset as vtk scalars. | |
Protected Member Functions | |
virtual std::string | getName () const |
Get the name of the class. | |
virtual std::string | getFieldName () const |
Get the name of the field used. |
RGB handler class for colors.
Uses the data present in the "rgb" or "rgba" fields as the color at each point.
Definition at line 597 of file point_cloud_color_handlers.h.
typedef boost::shared_ptr<const PointCloudColorHandlerRGBField<PointCloud> > pcl::visualization::PointCloudColorHandlerRGBField< pcl::PCLPointCloud2 >::ConstPtr |
Reimplemented from pcl::visualization::PointCloudColorHandler< pcl::PCLPointCloud2 >.
Definition at line 605 of file point_cloud_color_handlers.h.
typedef boost::shared_ptr<PointCloudColorHandlerRGBField<PointCloud> > pcl::visualization::PointCloudColorHandlerRGBField< pcl::PCLPointCloud2 >::Ptr |
Reimplemented from pcl::visualization::PointCloudColorHandler< pcl::PCLPointCloud2 >.
Definition at line 604 of file point_cloud_color_handlers.h.
pcl::visualization::PointCloudColorHandlerRGBField< pcl::PCLPointCloud2 >::PointCloudColorHandlerRGBField | ( | const PointCloudConstPtr & | cloud | ) |
Constructor.
virtual pcl::visualization::PointCloudColorHandlerRGBField< pcl::PCLPointCloud2 >::~PointCloudColorHandlerRGBField | ( | ) | [inline, virtual] |
Empty destructor.
Definition at line 611 of file point_cloud_color_handlers.h.
virtual bool pcl::visualization::PointCloudColorHandlerRGBField< pcl::PCLPointCloud2 >::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< pcl::PCLPointCloud2 >.
virtual std::string pcl::visualization::PointCloudColorHandlerRGBField< pcl::PCLPointCloud2 >::getFieldName | ( | ) | const [inline, protected, virtual] |
Get the name of the field used.
Implements pcl::visualization::PointCloudColorHandler< pcl::PCLPointCloud2 >.
Definition at line 628 of file point_cloud_color_handlers.h.
virtual std::string pcl::visualization::PointCloudColorHandlerRGBField< pcl::PCLPointCloud2 >::getName | ( | ) | const [inline, protected, virtual] |
Get the name of the class.
Implements pcl::visualization::PointCloudColorHandler< pcl::PCLPointCloud2 >.
Definition at line 624 of file point_cloud_color_handlers.h.