Point Cloud Library (PCL)
1.3.1
|
Base Handler class for PointCloud colors. More...
#include <pcl/visualization/point_cloud_handlers.h>
Public Types | |
typedef pcl::PointCloud< PointT > | PointCloud |
typedef PointCloud::Ptr | PointCloudPtr |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef boost::shared_ptr < PointCloudColorHandler < PointT > > | Ptr |
typedef boost::shared_ptr < const PointCloudColorHandler < PointT > > | ConstPtr |
Public Member Functions | |
PointCloudColorHandler (const PointCloudConstPtr &cloud) | |
Constructor. | |
bool | isCapable () const |
Check if this handler is capable of handling the input data or not. | |
virtual std::string | getName () const =0 |
Abstract getName method. | |
virtual std::string | getFieldName () const =0 |
Abstract getFieldName method. | |
virtual void | getColor (vtkSmartPointer< vtkDataArray > &scalars) const =0 |
Obtain the actual color for the input dataset as vtk scalars. |
Base Handler class for PointCloud colors.
typedef boost::shared_ptr<const PointCloudColorHandler<PointT> > pcl::visualization::PointCloudColorHandler::ConstPtr |
Reimplemented in pcl::visualization::PointCloudColorHandlerGenericField, pcl::visualization::PointCloudColorHandlerRGBField, pcl::visualization::PointCloudColorHandlerCustom, and pcl::visualization::PointCloudColorHandlerRandom.
Definition at line 421 of file point_cloud_handlers.h.
Definition at line 416 of file point_cloud_handlers.h.
Definition at line 418 of file point_cloud_handlers.h.
Definition at line 417 of file point_cloud_handlers.h.
typedef boost::shared_ptr<PointCloudColorHandler<PointT> > pcl::visualization::PointCloudColorHandler::Ptr |
Reimplemented in pcl::visualization::PointCloudColorHandlerGenericField, pcl::visualization::PointCloudColorHandlerRGBField, pcl::visualization::PointCloudColorHandlerCustom, and pcl::visualization::PointCloudColorHandlerRandom.
Definition at line 420 of file point_cloud_handlers.h.
pcl::visualization::PointCloudColorHandler::PointCloudColorHandler | ( | const PointCloudConstPtr & | cloud | ) | [inline] |
Constructor.
Definition at line 424 of file point_cloud_handlers.h.
virtual void pcl::visualization::PointCloudColorHandler::getColor | ( | vtkSmartPointer< vtkDataArray > & | scalars | ) | const [pure virtual] |
Obtain the actual color for the input dataset as vtk scalars.
[out] | scalars | the output scalars containing the color for the dataset |
Implemented in pcl::visualization::PointCloudColorHandlerGenericField, pcl::visualization::PointCloudColorHandlerRGBField, pcl::visualization::PointCloudColorHandlerCustom, and pcl::visualization::PointCloudColorHandlerRandom.
virtual std::string pcl::visualization::PointCloudColorHandler::getFieldName | ( | ) | const [pure virtual] |
Abstract getFieldName method.
Implemented in pcl::visualization::PointCloudColorHandlerGenericField, pcl::visualization::PointCloudColorHandlerRGBField, pcl::visualization::PointCloudColorHandlerCustom, and pcl::visualization::PointCloudColorHandlerRandom.
virtual std::string pcl::visualization::PointCloudColorHandler::getName | ( | ) | const [pure virtual] |
Abstract getName method.
Implemented in pcl::visualization::PointCloudColorHandlerCustom, and pcl::visualization::PointCloudColorHandlerRandom.
bool pcl::visualization::PointCloudColorHandler::isCapable | ( | ) | const [inline] |
Check if this handler is capable of handling the input data or not.
Definition at line 430 of file point_cloud_handlers.h.