RGB handler class for colors. Uses the data present in the "rgb" or "rgba" fields as the color at each point. More...
#include <point_cloud_handlers.h>
Public Types | |
typedef boost::shared_ptr < const PointCloudColorHandlerRGBField < PointT > > | ConstPtr |
typedef boost::shared_ptr < PointCloudColorHandlerRGBField < 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. | |
PointCloudColorHandlerRGBField (const PointCloudConstPtr &cloud) | |
Constructor. | |
virtual | ~PointCloudColorHandlerRGBField () |
Destructor. | |
Protected Member Functions | |
virtual std::string | getName () const |
Class getName method. | |
Private Types | |
typedef PointCloudColorHandler < PointT >::PointCloud | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef PointCloud::Ptr | PointCloudPtr |
RGB handler class for colors. Uses the data present in the "rgb" or "rgba" fields as the color at each point.
Definition at line 577 of file point_cloud_handlers.h.
typedef boost::shared_ptr<const PointCloudColorHandlerRGBField<PointT> > pcl::visualization::PointCloudColorHandlerRGBField< PointT >::ConstPtr |
Reimplemented from pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 585 of file point_cloud_handlers.h.
typedef PointCloudColorHandler<PointT>::PointCloud pcl::visualization::PointCloudColorHandlerRGBField< PointT >::PointCloud [private] |
Reimplemented from pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 579 of file point_cloud_handlers.h.
typedef PointCloud::ConstPtr pcl::visualization::PointCloudColorHandlerRGBField< PointT >::PointCloudConstPtr [private] |
Reimplemented from pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 581 of file point_cloud_handlers.h.
typedef PointCloud::Ptr pcl::visualization::PointCloudColorHandlerRGBField< PointT >::PointCloudPtr [private] |
Reimplemented from pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 580 of file point_cloud_handlers.h.
typedef boost::shared_ptr<PointCloudColorHandlerRGBField<PointT> > pcl::visualization::PointCloudColorHandlerRGBField< PointT >::Ptr |
Reimplemented from pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 584 of file point_cloud_handlers.h.
pcl::visualization::PointCloudColorHandlerRGBField< PointT >::PointCloudColorHandlerRGBField | ( | const PointCloudConstPtr & | cloud | ) |
Constructor.
Definition at line 103 of file point_cloud_handlers.hpp.
virtual pcl::visualization::PointCloudColorHandlerRGBField< PointT >::~PointCloudColorHandlerRGBField | ( | ) | [inline, virtual] |
Destructor.
Definition at line 591 of file point_cloud_handlers.h.
void pcl::visualization::PointCloudColorHandlerRGBField< 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 125 of file point_cloud_handlers.hpp.
virtual std::string pcl::visualization::PointCloudColorHandlerRGBField< PointT >::getFieldName | ( | ) | const [inline, virtual] |
Get the name of the field used.
Implements pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 595 of file point_cloud_handlers.h.
virtual std::string pcl::visualization::PointCloudColorHandlerRGBField< PointT >::getName | ( | ) | const [inline, protected, virtual] |
Class getName method.
Implements pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 606 of file point_cloud_handlers.h.