Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions | Public Attributes
pcl::SparseQuantizedMultiModTemplate Struct Reference

A multi-modality template constructed from a set of quantized multi-modality features. More...

#include <pcl/recognition/sparse_quantized_multi_mod_template.h>

+ Collaboration diagram for pcl::SparseQuantizedMultiModTemplate:

Public Member Functions

 SparseQuantizedMultiModTemplate ()=default
 Constructor. More...
 
void serialize (std::ostream &stream) const
 Serializes the object to the specified stream. More...
 
void deserialize (std::istream &stream)
 Deserializes the object from the specified stream. More...
 

Public Attributes

std::vector< QuantizedMultiModFeaturefeatures
 The storage for the multi-modality features. More...
 
RegionXY region
 The region assigned to the template. More...
 

Detailed Description

A multi-modality template constructed from a set of quantized multi-modality features.

Author
Stefan Holzer

Definition at line 108 of file sparse_quantized_multi_mod_template.h.

Constructor & Destructor Documentation

◆ SparseQuantizedMultiModTemplate()

pcl::SparseQuantizedMultiModTemplate::SparseQuantizedMultiModTemplate ( )
default

Constructor.

Member Function Documentation

◆ deserialize()

void pcl::SparseQuantizedMultiModTemplate::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 137 of file sparse_quantized_multi_mod_template.h.

References pcl::RegionXY::deserialize(), features, pcl::read(), and region.

Referenced by pcl::LineRGBD< PointXYZT, PointRGBT >::loadTemplates().

◆ serialize()

void pcl::SparseQuantizedMultiModTemplate::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 122 of file sparse_quantized_multi_mod_template.h.

References features, region, pcl::RegionXY::serialize(), and pcl::write().

Member Data Documentation

◆ features

std::vector<QuantizedMultiModFeature> pcl::SparseQuantizedMultiModTemplate::features

The storage for the multi-modality features.

Definition at line 114 of file sparse_quantized_multi_mod_template.h.

Referenced by deserialize(), and serialize().

◆ region

RegionXY pcl::SparseQuantizedMultiModTemplate::region

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