Image Extractor which uses the data present in the "rgb" or "rgba" fields to produce a color image with rgb8 encoding. More...
#include <pcl/io/point_cloud_image_extractors.h>
Public Types |
|
using | Ptr = shared_ptr< PointCloudImageExtractorFromRGBField< PointT > > |
using | ConstPtr = shared_ptr< const PointCloudImageExtractorFromRGBField< PointT > > |
Public Types inherited from pcl::io::PointCloudImageExtractor< PointT > | |
using | PointCloud = pcl::PointCloud< PointT > |
using | Ptr = shared_ptr< PointCloudImageExtractor< PointT > > |
using | ConstPtr = shared_ptr< const PointCloudImageExtractor< PointT > > |
Public Member Functions |
|
PointCloudImageExtractorFromRGBField () | |
Constructor. More... |
|
~PointCloudImageExtractorFromRGBField () | |
Destructor. More... |
|
Public Member Functions inherited from pcl::io::PointCloudImageExtractor< PointT > | |
PointCloudImageExtractor () | |
Constructor. More... |
|
virtual | ~PointCloudImageExtractor () |
Destructor. More... |
|
bool | extract (const PointCloud &cloud, pcl::PCLImage &image) const |
Obtain the image from the given cloud. More... |
|
void | setPaintNaNsWithBlack (bool flag) |
Set a flag that controls if image pixels corresponding to NaN (infinite) points should be painted black. More... |
|
Protected Member Functions |
|
bool | extractImpl (const PointCloud &cloud, pcl::PCLImage &img) const override |
Implementation of the extract() function, has to be implemented in deriving classes. More... |
|
Additional Inherited Members |
|
Protected Attributes inherited from pcl::io::PointCloudImageExtractor< PointT > | |
bool | paint_nans_with_black_ |
A flag that controls if image pixels corresponding to NaN (infinite) points should be painted black. More... |
|
Detailed Description
template<typename PointT>
class pcl::io::PointCloudImageExtractorFromRGBField< PointT >
Image Extractor which uses the data present in the "rgb" or "rgba" fields to produce a color image with rgb8 encoding.
Definition at line 230 of file point_cloud_image_extractors.h.
Member Typedef Documentation
ConstPtr
using pcl::io::PointCloudImageExtractorFromRGBField< PointT >::ConstPtr = shared_ptr<const PointCloudImageExtractorFromRGBField<PointT> > |
Definition at line 236 of file point_cloud_image_extractors.h.
Ptr
using pcl::io::PointCloudImageExtractorFromRGBField< PointT >::Ptr = shared_ptr<PointCloudImageExtractorFromRGBField<PointT> > |
Definition at line 235 of file point_cloud_image_extractors.h.
Constructor & Destructor Documentation
PointCloudImageExtractorFromRGBField()
|
inline |
Constructor.
Definition at line 239 of file point_cloud_image_extractors.h.
~PointCloudImageExtractorFromRGBField()
|
inline |
Destructor.
Definition at line 242 of file point_cloud_image_extractors.h.
Member Function Documentation
extractImpl()
|
overrideprotectedvirtual |
Implementation of the extract() function, has to be implemented in deriving classes.
Implements pcl::io::PointCloudImageExtractor< PointT >.
Definition at line 107 of file point_cloud_image_extractors.hpp.
References pcl::PCLImage::data, pcl::PCLImage::encoding, pcl::PCLImage::height, pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::size(), pcl::PCLImage::step, pcl::PCLImage::width, and pcl::PointCloud< PointT >::width.
The documentation for this class was generated from the following files:
- pcl/io/point_cloud_image_extractors.h
- pcl/io/impl/point_cloud_image_extractors.hpp
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1io_1_1_point_cloud_image_extractor_from_r_g_b_field.html