$search
Handler for predefined user colors. More...
#include <point_cloud_handlers.h>
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. | |
PointCloudColorHandlerCustom (const PointCloud &cloud, double r, double g, double b) | |
Constructor. | |
Protected Attributes | |
double | b_ |
double | g_ |
double | r_ |
Internal R, G, B holding the values given by the user. | |
Private Types | |
typedef PointCloudColorHandler < sensor_msgs::PointCloud2 > ::PointCloud | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef PointCloud::Ptr | PointCloudPtr |
Handler for predefined user colors.
Definition at line 635 of file point_cloud_handlers.h.
typedef PointCloudColorHandler<sensor_msgs::PointCloud2>::PointCloud pcl_visualization::PointCloudColorHandlerCustom< sensor_msgs::PointCloud2 >::PointCloud [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 637 of file point_cloud_handlers.h.
typedef PointCloud::ConstPtr pcl_visualization::PointCloudColorHandlerCustom< sensor_msgs::PointCloud2 >::PointCloudConstPtr [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 639 of file point_cloud_handlers.h.
typedef PointCloud::Ptr pcl_visualization::PointCloudColorHandlerCustom< sensor_msgs::PointCloud2 >::PointCloudPtr [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 638 of file point_cloud_handlers.h.
pcl_visualization::PointCloudColorHandlerCustom< sensor_msgs::PointCloud2 >::PointCloudColorHandlerCustom | ( | const PointCloud & | cloud, | |
double | r, | |||
double | g, | |||
double | b | |||
) | [inline] |
Constructor.
Definition at line 643 of file point_cloud_handlers.h.
void pcl_visualization::PointCloudColorHandlerCustom< 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 47 of file point_cloud_handlers.cpp.
virtual std::string pcl_visualization::PointCloudColorHandlerCustom< sensor_msgs::PointCloud2 >::getFieldName | ( | ) | const [inline, virtual] |
Get the name of the field used.
Implements pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 655 of file point_cloud_handlers.h.
virtual std::string pcl_visualization::PointCloudColorHandlerCustom< sensor_msgs::PointCloud2 >::getName | ( | void | ) | const [inline, virtual] |
Get the name of the class.
Implements pcl_visualization::PointCloudColorHandler< sensor_msgs::PointCloud2 >.
Definition at line 652 of file point_cloud_handlers.h.
double pcl_visualization::PointCloudColorHandlerCustom< sensor_msgs::PointCloud2 >::b_ [protected] |
Definition at line 664 of file point_cloud_handlers.h.
double pcl_visualization::PointCloudColorHandlerCustom< sensor_msgs::PointCloud2 >::g_ [protected] |
Definition at line 664 of file point_cloud_handlers.h.
double pcl_visualization::PointCloudColorHandlerCustom< sensor_msgs::PointCloud2 >::r_ [protected] |
Internal R, G, B holding the values given by the user.
Definition at line 664 of file point_cloud_handlers.h.