$search
Handler for predefined user colors. More...
#include <point_cloud_handlers.h>
Public Types | |
typedef boost::shared_ptr < const PointCloudColorHandlerCustom < PointT > > | ConstPtr |
typedef boost::shared_ptr < PointCloudColorHandlerCustom < 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. | |
virtual std::string | getName () const |
Abstract getName method. | |
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 < PointT >::PointCloud | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef PointCloud::Ptr | PointCloudPtr |
Handler for predefined user colors.
Definition at line 445 of file point_cloud_handlers.h.
typedef boost::shared_ptr<const PointCloudColorHandlerCustom<PointT> > pcl_visualization::PointCloudColorHandlerCustom< PointT >::ConstPtr |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 453 of file point_cloud_handlers.h.
typedef PointCloudColorHandler<PointT>::PointCloud pcl_visualization::PointCloudColorHandlerCustom< PointT >::PointCloud [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 447 of file point_cloud_handlers.h.
typedef PointCloud::ConstPtr pcl_visualization::PointCloudColorHandlerCustom< PointT >::PointCloudConstPtr [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 449 of file point_cloud_handlers.h.
typedef PointCloud::Ptr pcl_visualization::PointCloudColorHandlerCustom< PointT >::PointCloudPtr [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 448 of file point_cloud_handlers.h.
typedef boost::shared_ptr<PointCloudColorHandlerCustom<PointT> > pcl_visualization::PointCloudColorHandlerCustom< PointT >::Ptr |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 452 of file point_cloud_handlers.h.
pcl_visualization::PointCloudColorHandlerCustom< PointT >::PointCloudColorHandlerCustom | ( | const PointCloud & | cloud, | |
double | r, | |||
double | g, | |||
double | b | |||
) | [inline] |
Constructor.
Definition at line 456 of file point_cloud_handlers.h.
void pcl_visualization::PointCloudColorHandlerCustom< PointT >::getColor | ( | vtkSmartPointer< vtkDataArray > & | scalars | ) | const [inline, 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< PointT >.
Definition at line 46 of file point_cloud_handlers.hpp.
virtual std::string pcl_visualization::PointCloudColorHandlerCustom< PointT >::getFieldName | ( | ) | const [inline, virtual] |
Get the name of the field used.
Implements pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 468 of file point_cloud_handlers.h.
virtual std::string pcl_visualization::PointCloudColorHandlerCustom< PointT >::getName | ( | void | ) | const [inline, virtual] |
Abstract getName method.
Implements pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 465 of file point_cloud_handlers.h.
double pcl_visualization::PointCloudColorHandlerCustom< PointT >::b_ [protected] |
Definition at line 481 of file point_cloud_handlers.h.
double pcl_visualization::PointCloudColorHandlerCustom< PointT >::g_ [protected] |
Definition at line 481 of file point_cloud_handlers.h.
double pcl_visualization::PointCloudColorHandlerCustom< PointT >::r_ [protected] |
Internal R, G, B holding the values given by the user.
Definition at line 481 of file point_cloud_handlers.h.