Generic field handler class for colors. Uses an user given field to extract 1D data and display the color at each point using a min-max lookup table. 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 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. | |
PointCloudColorHandlerGenericField (const PointCloudConstPtr &cloud, const std::string &field_name) | |
Constructor. | |
virtual | ~PointCloudColorHandlerGenericField () |
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 |
Private Attributes | |
std::string | field_name_ |
Name of the field used to create the color handler. |
Generic field handler class for colors. Uses an user given field to extract 1D data and display the color at each point using a min-max lookup table.
Definition at line 669 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 677 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 671 of file point_cloud_handlers.h.
typedef PointCloud::ConstPtr pcl::visualization::PointCloudColorHandlerGenericField< PointT >::PointCloudConstPtr [private] |
Reimplemented from pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 673 of file point_cloud_handlers.h.
typedef PointCloud::Ptr pcl::visualization::PointCloudColorHandlerGenericField< PointT >::PointCloudPtr [private] |
Reimplemented from pcl::visualization::PointCloudColorHandler< PointT >.
Definition at line 672 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 676 of file point_cloud_handlers.h.
pcl::visualization::PointCloudColorHandlerGenericField< PointT >::PointCloudColorHandlerGenericField | ( | const PointCloudConstPtr & | cloud, |
const std::string & | field_name | ||
) |
Constructor.
Definition at line 317 of file point_cloud_handlers.hpp.
virtual pcl::visualization::PointCloudColorHandlerGenericField< PointT >::~PointCloudColorHandlerGenericField | ( | ) | [inline, virtual] |
Destructor.
Definition at line 684 of file point_cloud_handlers.h.
void pcl::visualization::PointCloudColorHandlerGenericField< 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 331 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 687 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 698 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 707 of file point_cloud_handlers.h.