Point Cloud Library (PCL)  1.7.0
Public Member Functions | Public Attributes
pcl::QuantizedMultiModFeature Struct Reference

Feature that defines a position and quantized value in a specific modality. More...

#include <pcl/recognition/sparse_quantized_multi_mod_template.h>

List of all members.

Public Member Functions

 QuantizedMultiModFeature ()
 Constructor.
bool compareForEquality (const QuantizedMultiModFeature &base)
 Compares whether two features are the same.
void serialize (std::ostream &stream) const
 Serializes the object to the specified stream.
void deserialize (std::istream &stream)
 Deserializes the object from the specified stream.

Public Attributes

int x
 x-position.
int y
 y-position.
size_t modality_index
 the index of the corresponding modality.
unsigned char quantized_value
 the quantized value attached to the feature.

Detailed Description

Feature that defines a position and quantized value in a specific modality.

Author:
Stefan Holzer

Definition at line 51 of file sparse_quantized_multi_mod_template.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 54 of file sparse_quantized_multi_mod_template.h.


Member Function Documentation

Compares whether two features are the same.

Parameters:
[in]basethe feature to compare to.

Definition at line 69 of file sparse_quantized_multi_mod_template.h.

References modality_index, quantized_value, x, and y.

void pcl::QuantizedMultiModFeature::deserialize ( std::istream &  stream) [inline]

Deserializes the object from the specified stream.

Parameters:
[in]streamthe stream the object will be deserialized from.

Definition at line 97 of file sparse_quantized_multi_mod_template.h.

References modality_index, quantized_value, pcl::read(), x, and y.

void pcl::QuantizedMultiModFeature::serialize ( std::ostream &  stream) const [inline]

Serializes the object to the specified stream.

Parameters:
[out]streamthe stream the object will be serialized to.

Definition at line 86 of file sparse_quantized_multi_mod_template.h.

References modality_index, quantized_value, pcl::write(), x, and y.


Member Data Documentation


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