Point Cloud Library (PCL)  1.8.1-dev
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members | Public Types | Public Member Functions
pcl::io::PointCloudImageExtractorFromZField< PointT > Class Template Reference

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

#include <pcl/io/point_cloud_image_extractors.h>

+ Inheritance diagram for pcl::io::PointCloudImageExtractorFromZField< PointT >:

Public Types

typedef boost::shared_ptr
< PointCloudImageExtractorFromZField
< PointT > > 
Ptr
 
typedef boost::shared_ptr
< const
PointCloudImageExtractorFromZField
< PointT > > 
ConstPtr
 
- Public Types inherited from pcl::io::PointCloudImageExtractorWithScaling< PointT >
enum  ScalingMethod { SCALING_NO, SCALING_FULL_RANGE, SCALING_FIXED_FACTOR }
 Different scaling methods. More...
 
typedef boost::shared_ptr
< PointCloudImageExtractorWithScaling
< PointT > > 
Ptr
 
typedef boost::shared_ptr
< const
PointCloudImageExtractorWithScaling
< PointT > > 
ConstPtr
 
- Public Types inherited from pcl::io::PointCloudImageExtractor< PointT >
typedef pcl::PointCloud< PointTPointCloud
 
typedef boost::shared_ptr
< PointCloudImageExtractor
< PointT > > 
Ptr
 
typedef boost::shared_ptr
< const
PointCloudImageExtractor
< PointT > > 
ConstPtr
 

Public Member Functions

 PointCloudImageExtractorFromZField (const float scaling_factor=10000)
 Constructor. More...
 
 PointCloudImageExtractorFromZField (const ScalingMethod scaling_method)
 Constructor. More...
 
virtual ~PointCloudImageExtractorFromZField ()
 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...
 
virtual ~PointCloudImageExtractorWithScaling ()
 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 ()
 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...
 

Additional Inherited Members

- Protected Member Functions inherited from pcl::io::PointCloudImageExtractorWithScaling< PointT >
virtual bool extractImpl (const PointCloud &cloud, pcl::PCLImage &image) const
 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_
 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::PointCloudImageExtractorFromZField< PointT >

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

Author
Sergey Alexandrov

Definition at line 316 of file point_cloud_image_extractors.h.

Member Typedef Documentation

template<typename PointT >
typedef boost::shared_ptr<const PointCloudImageExtractorFromZField<PointT> > pcl::io::PointCloudImageExtractorFromZField< PointT >::ConstPtr

Definition at line 323 of file point_cloud_image_extractors.h.

template<typename PointT >
typedef boost::shared_ptr<PointCloudImageExtractorFromZField<PointT> > pcl::io::PointCloudImageExtractorFromZField< PointT >::Ptr

Definition at line 322 of file point_cloud_image_extractors.h.

Constructor & Destructor Documentation

template<typename PointT >
pcl::io::PointCloudImageExtractorFromZField< PointT >::PointCloudImageExtractorFromZField ( const float  scaling_factor = 10000)
inline

Constructor.

Parameters
[in]scaling_factora scaling factor to apply to each depth value (default 10000)

Definition at line 328 of file point_cloud_image_extractors.h.

template<typename PointT >
pcl::io::PointCloudImageExtractorFromZField< PointT >::PointCloudImageExtractorFromZField ( const ScalingMethod  scaling_method)
inline

Constructor.

Parameters
[in]scaling_methoda scaling method to use

Definition at line 336 of file point_cloud_image_extractors.h.

template<typename PointT >
virtual pcl::io::PointCloudImageExtractorFromZField< PointT >::~PointCloudImageExtractorFromZField ( )
inlinevirtual

Destructor.

Definition at line 342 of file point_cloud_image_extractors.h.


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