Generic field handler class for colors. More...
#include <point_cloud_handlers.h>
Public Types | |
typedef boost::shared_ptr < const PointCloudColorHandlerGenericField < PointT > > | ConstPtr |
typedef boost::shared_ptr < PointCloudColorHandlerGenericField < PointT > > | Ptr |
Public Member Functions | |
virtual std::string | getFieldName () const |
Get the name of the field used. | |
PointCloudColorHandlerGenericField (const PointCloud &cloud, const std::string &field_name) | |
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 | getName () const |
Class getName method. | |
Private Types | |
typedef PointCloudColorHandler < PointT >::PointCloud | PointCloud |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef PointCloud::Ptr | PointCloudPtr |
Private Attributes | |
std::string | field_name_ |
Name of the field used to create the color handler. |
Generic field handler class for colors.
Definition at line 521 of file point_cloud_handlers.h.
typedef boost::shared_ptr<const PointCloudColorHandlerGenericField<PointT> > pcl_visualization::PointCloudColorHandlerGenericField< PointT >::ConstPtr |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 529 of file point_cloud_handlers.h.
typedef PointCloudColorHandler<PointT>::PointCloud pcl_visualization::PointCloudColorHandlerGenericField< PointT >::PointCloud [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 523 of file point_cloud_handlers.h.
typedef PointCloud::ConstPtr pcl_visualization::PointCloudColorHandlerGenericField< PointT >::PointCloudConstPtr [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 525 of file point_cloud_handlers.h.
typedef PointCloud::Ptr pcl_visualization::PointCloudColorHandlerGenericField< PointT >::PointCloudPtr [private] |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 524 of file point_cloud_handlers.h.
typedef boost::shared_ptr<PointCloudColorHandlerGenericField<PointT> > pcl_visualization::PointCloudColorHandlerGenericField< PointT >::Ptr |
Reimplemented from pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 528 of file point_cloud_handlers.h.
pcl_visualization::PointCloudColorHandlerGenericField< PointT >::PointCloudColorHandlerGenericField | ( | const PointCloud & | cloud, | |
const std::string & | field_name | |||
) |
Constructor.
void pcl_visualization::PointCloudColorHandlerGenericField< PointT >::getColor | ( | vtkSmartPointer< vtkDataArray > & | scalars | ) | const [inline, 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< PointT >.
Definition at line 201 of file point_cloud_handlers.hpp.
virtual std::string pcl_visualization::PointCloudColorHandlerGenericField< PointT >::getFieldName | ( | ) | const [inline, virtual] |
Get the name of the field used.
Implements pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 535 of file point_cloud_handlers.h.
virtual std::string pcl_visualization::PointCloudColorHandlerGenericField< PointT >::getName | ( | ) | const [inline, protected, virtual] |
Class getName method.
Implements pcl_visualization::PointCloudColorHandler< PointT >.
Definition at line 539 of file point_cloud_handlers.h.
std::string pcl_visualization::PointCloudColorHandlerGenericField< PointT >::field_name_ [private] |
Name of the field used to create the color handler.
Definition at line 553 of file point_cloud_handlers.h.