Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions | Public Attributes
pcl::MultiChannel2DComparisonFeature< PointT > Class Template Reference

Feature for comparing two sample points in 2D multi-channel data. More...

#include <pcl/ml/multi_channel_2d_comparison_feature.h>

Public Member Functions

 MultiChannel2DComparisonFeature ()
 Constructor. More...
 
virtual ~MultiChannel2DComparisonFeature ()
 Destructor. More...
 
void serialize (std::ostream &stream) const
 Serializes the feature to a stream. More...
 
void deserialize (std::istream &stream)
 Deserializes the feature from a stream. More...
 

Public Attributes

PointT p1
 First sample point. More...
 
PointT p2
 Second sample point. More...
 
unsigned char channel
 Specifies which channel is used for comparison. More...
 

Detailed Description

template<class PointT>
class pcl::MultiChannel2DComparisonFeature< PointT >

Feature for comparing two sample points in 2D multi-channel data.

Definition at line 50 of file multi_channel_2d_comparison_feature.h.

Constructor & Destructor Documentation

Constructor.

Definition at line 54 of file multi_channel_2d_comparison_feature.h.

template<class PointT>
virtual pcl::MultiChannel2DComparisonFeature< PointT >::~MultiChannel2DComparisonFeature ( )
inlinevirtual

Destructor.

Definition at line 56 of file multi_channel_2d_comparison_feature.h.

Member Function Documentation

template<class PointT>
void pcl::MultiChannel2DComparisonFeature< PointT >::deserialize ( std::istream &  stream)
inline

Deserializes the feature from a stream.

Parameters
[in]streamThe source for the deserialization.

Definition at line 73 of file multi_channel_2d_comparison_feature.h.

template<class PointT>
void pcl::MultiChannel2DComparisonFeature< PointT >::serialize ( std::ostream &  stream) const
inline

Serializes the feature to a stream.

Parameters
[out]streamThe destination for the serialization.

Definition at line 62 of file multi_channel_2d_comparison_feature.h.

Member Data Documentation

template<class PointT>
unsigned char pcl::MultiChannel2DComparisonFeature< PointT >::channel
template<class PointT>
PointT pcl::MultiChannel2DComparisonFeature< PointT >::p1
template<class PointT>
PointT pcl::MultiChannel2DComparisonFeature< PointT >::p2

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