pcl::io::PointCloudImageExtractorWithScaling< PointT > Class Template Reference
[Module io]

Image Extractor extension which provides functionality to apply scaling to the values extracted from a field. More...

#include <pcl/io/point_cloud_image_extractors.h>

Inheritance diagram for pcl::io::PointCloudImageExtractorWithScaling< PointT >:
Inheritance graph
[legend]
Collaboration diagram for pcl::io::PointCloudImageExtractorWithScaling< PointT >:
Collaboration graph
[legend]

List of all members.

Public Types

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 Member Functions

 PointCloudImageExtractorWithScaling (const std::string &field_name, const ScalingMethod scaling_method)
 Constructor.
 PointCloudImageExtractorWithScaling (const std::string &field_name, const float scaling_factor)
 Constructor.
virtual ~PointCloudImageExtractorWithScaling ()
 Destructor.
virtual bool extract (const PointCloud &cloud, pcl::PCLImage &image) const
 Obtain the image from the given cloud.
void setScalingMethod (const ScalingMethod scaling_method)
 Set scaling method.
void setScalingFactor (const float scaling_factor)
 Set fixed scaling factor.

Protected Attributes

std::string field_name_
ScalingMethod scaling_method_
float scaling_factor_

Detailed Description

template<typename PointT>
class pcl::io::PointCloudImageExtractorWithScaling< PointT >

Image Extractor extension which provides functionality to apply scaling to the values extracted from a field.

Author:
Sergey Alexandrov

Definition at line 108 of file point_cloud_image_extractors.h.


Member Typedef Documentation

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

Member Enumeration Documentation

Different scaling methods.

  • SCALING_NO - no scaling.
  • SCALING_FULL_RANGE - scales to full range of the output value.
  • SCASING_FIXED_FACTOR - scales by a given fixed factor.
Enumerator:
SCALING_NO 
SCALING_FULL_RANGE 
SCALING_FIXED_FACTOR 

Definition at line 123 of file point_cloud_image_extractors.h.


Constructor & Destructor Documentation

template<typename PointT >
pcl::io::PointCloudImageExtractorWithScaling< PointT >::PointCloudImageExtractorWithScaling ( const std::string &  field_name,
const ScalingMethod  scaling_method 
) [inline]

Constructor.

Definition at line 131 of file point_cloud_image_extractors.h.

template<typename PointT >
pcl::io::PointCloudImageExtractorWithScaling< PointT >::PointCloudImageExtractorWithScaling ( const std::string &  field_name,
const float  scaling_factor 
) [inline]

Constructor.

Definition at line 139 of file point_cloud_image_extractors.h.

template<typename PointT >
virtual pcl::io::PointCloudImageExtractorWithScaling< PointT >::~PointCloudImageExtractorWithScaling (  )  [inline, virtual]

Destructor.

Definition at line 147 of file point_cloud_image_extractors.h.


Member Function Documentation

template<typename PointT >
bool pcl::io::PointCloudImageExtractorWithScaling< PointT >::extract ( const PointCloud cloud,
pcl::PCLImage image 
) const [inline, virtual]
template<typename PointT >
void pcl::io::PointCloudImageExtractorWithScaling< PointT >::setScalingFactor ( const float  scaling_factor  )  [inline]

Set fixed scaling factor.

Definition at line 166 of file point_cloud_image_extractors.h.

References pcl::io::PointCloudImageExtractorWithScaling< PointT >::scaling_factor_.

template<typename PointT >
void pcl::io::PointCloudImageExtractorWithScaling< PointT >::setScalingMethod ( const ScalingMethod  scaling_method  )  [inline]

Member Data Documentation

template<typename PointT >
std::string pcl::io::PointCloudImageExtractorWithScaling< PointT >::field_name_ [protected]
template<typename PointT >
float pcl::io::PointCloudImageExtractorWithScaling< PointT >::scaling_factor_ [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends