Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Types | Public Member Functions
pcl::io::PointCloudImageExtractorFromCurvatureField< PointT > Class Template Reference

Image Extractor which uses the data present in the "curvature" field to produce a curvature map (as a monochrome image with mono16 encoding). More...

#include <pcl/io/point_cloud_image_extractors.h>

+ Inheritance diagram for pcl::io::PointCloudImageExtractorFromCurvatureField< PointT >:
+ Collaboration diagram for pcl::io::PointCloudImageExtractorFromCurvatureField< PointT >:

Public Types

using Ptr = shared_ptr< PointCloudImageExtractorFromCurvatureField< PointT > >
 
using ConstPtr = shared_ptr< const PointCloudImageExtractorFromCurvatureField< PointT > >
 
- Public Types inherited from pcl::io::PointCloudImageExtractorWithScaling< PointT >
enum  ScalingMethod { SCALING_NO , SCALING_FULL_RANGE , SCALING_FIXED_FACTOR }
 Different scaling methods. More...
 
using Ptr = shared_ptr< PointCloudImageExtractorWithScaling< PointT > >
 
using ConstPtr = shared_ptr< const PointCloudImageExtractorWithScaling< 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

 PointCloudImageExtractorFromCurvatureField (const ScalingMethod scaling_method=PointCloudImageExtractorWithScaling< PointT >::SCALING_FULL_RANGE)
 Constructor. More...
 
 PointCloudImageExtractorFromCurvatureField (const float scaling_factor)
 Constructor. More...
 
 ~PointCloudImageExtractorFromCurvatureField () override=default
 Destructor. More...
 
- Public Member Functions inherited from pcl::io::PointCloudImageExtractorWithScaling< PointT >
 PointCloudImageExtractorWithScaling (const std::string &field_name, const ScalingMethod scaling_method)
 Constructor. More...
 
 PointCloudImageExtractorWithScaling (const std::string &field_name, const float scaling_factor)
 Constructor. More...
 
 ~PointCloudImageExtractorWithScaling () override=default
 Destructor. More...
 
void setScalingMethod (const ScalingMethod scaling_method)
 Set scaling method. More...
 
void setScalingFactor (const float scaling_factor)
 Set fixed scaling factor. More...
 
- Public Member Functions inherited from pcl::io::PointCloudImageExtractor< PointT >
 PointCloudImageExtractor ()=default
 Constructor. More...
 
virtual ~PointCloudImageExtractor ()=default
 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...
 

Additional Inherited Members

- Protected Member Functions inherited from pcl::io::PointCloudImageExtractorWithScaling< PointT >
bool extractImpl (const PointCloud &cloud, pcl::PCLImage &image) const override
 Implementation of the extract() function, has to be implemented in deriving classes. More...
 
- Protected Attributes inherited from pcl::io::PointCloudImageExtractorWithScaling< PointT >
std::string field_name_
 
ScalingMethod scaling_method_
 
float scaling_factor_
 
- Protected Attributes inherited from pcl::io::PointCloudImageExtractor< PointT >
bool paint_nans_with_black_ {false}
 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::PointCloudImageExtractorFromCurvatureField< PointT >

Image Extractor which uses the data present in the "curvature" field to produce a curvature map (as a monochrome image with mono16 encoding).

Author
Sergey Alexandrov

Definition at line 356 of file point_cloud_image_extractors.h.

Member Typedef Documentation

◆ ConstPtr

Definition at line 363 of file point_cloud_image_extractors.h.

◆ Ptr

Definition at line 362 of file point_cloud_image_extractors.h.

Constructor & Destructor Documentation

◆ PointCloudImageExtractorFromCurvatureField() [1/2]

Constructor.

Parameters
[in]scaling_methoda scaling method to use (default SCALING_FULL_RANGE)

Definition at line 368 of file point_cloud_image_extractors.h.

◆ PointCloudImageExtractorFromCurvatureField() [2/2]

template<typename PointT >
pcl::io::PointCloudImageExtractorFromCurvatureField< PointT >::PointCloudImageExtractorFromCurvatureField ( const float  scaling_factor)
inline

Constructor.

Parameters
[in]scaling_factora scaling factor to apply to each curvature value

Definition at line 376 of file point_cloud_image_extractors.h.

◆ ~PointCloudImageExtractorFromCurvatureField()

Destructor.


The documentation for this class was generated from the following file: