$search
RGB handler class for colors. More...
#include <point_cloud_handlers.h>
Public Types | |
typedef boost::shared_ptr < const PointCloudColorHandlerRGBField < PointCloud > > | ConstPtr |
typedef boost::shared_ptr < PointCloudColorHandlerRGBField < PointCloud > > | Ptr |
Public Member Functions | |
PointCloudColorHandlerRGBField (const PointCloud &cloud) | |
Constructor. | |
Protected 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. | |
Private Types | |
typedef PointCloudColorHandler < sensor_msgs::PointCloud2 > ::PointCloud | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef PointCloud::Ptr | PointCloudPtr |
RGB handler class for colors.
Definition at line 670 of file point_cloud_handlers.h.
typedef boost::shared_ptr<const PointCloudColorHandlerRGBField<PointCloud> > pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::ConstPtr |
Reimplemented from pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 678 of file point_cloud_handlers.h.
typedef PointCloudColorHandler<sensor_msgs::PointCloud2>::PointCloud pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::PointCloud [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 672 of file point_cloud_handlers.h.
typedef PointCloud::ConstPtr pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::PointCloudConstPtr [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 674 of file point_cloud_handlers.h.
typedef PointCloud::Ptr pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::PointCloudPtr [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 673 of file point_cloud_handlers.h.
typedef boost::shared_ptr<PointCloudColorHandlerRGBField<PointCloud> > pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::Ptr |
Reimplemented from pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 677 of file point_cloud_handlers.h.
pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::PointCloudColorHandlerRGBField | ( | const PointCloud & | cloud | ) |
Constructor.
void pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::getColor | ( | vtkSmartPointer< vtkDataArray > & | scalars | ) | const [protected, 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 125 of file point_cloud_handlers.cpp.
virtual std::string pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::getFieldName | ( | ) | const [inline, protected, virtual] |
Get the name of the field used.
Implements pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 688 of file point_cloud_handlers.h.
virtual std::string pcl_visualization::PointCloudColorHandlerRGBField< sensor_msgs::PointCloud2 >::getName | ( | void | ) | const [inline, protected, virtual] |
Get the name of the class.
Implements pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 685 of file point_cloud_handlers.h.