Feature that defines a position and quantized value in a specific modality. More...
#include <pcl/recognition/sparse_quantized_multi_mod_template.h>
Public Member Functions | |
QuantizedMultiModFeature () | |
Constructor. More... |
|
bool | compareForEquality (const QuantizedMultiModFeature &base) const |
Compares whether two features are the same. 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 | |
int | x |
x-position. More... |
|
int | y |
y-position. More... |
|
std::size_t | modality_index |
the index of the corresponding modality. More... |
|
unsigned char | quantized_value |
the quantized value attached to the feature. More... |
|
Feature that defines a position and quantized value in a specific modality.
Definition at line 50 of file sparse_quantized_multi_mod_template.h.
| inline |
Constructor.
Definition at line 53 of file sparse_quantized_multi_mod_template.h.
| inline |
Compares whether two features are the same.
[in] | base | the feature to compare to. |
Definition at line 68 of file sparse_quantized_multi_mod_template.h.
References modality_index, quantized_value, x, and y.
| inline |
Deserializes the object from the specified stream.
[in] | stream | the stream the object will be deserialized from. |
Definition at line 96 of file sparse_quantized_multi_mod_template.h.
References modality_index, quantized_value, pcl::read(), x, and y.
| inline |
Serializes the object to the specified stream.
[out] | stream | the stream the object will be serialized to. |
Definition at line 85 of file sparse_quantized_multi_mod_template.h.
References modality_index, quantized_value, pcl::write(), x, and y.
std::size_t pcl::QuantizedMultiModFeature::modality_index |
the index of the corresponding modality.
Definition at line 60 of file sparse_quantized_multi_mod_template.h.
Referenced by compareForEquality(), deserialize(), pcl::ColorGradientModality< PointXYZT >::extractAllFeatures(), pcl::SurfaceNormalModality< PointXYZT >::extractAllFeatures(), pcl::ColorModality< PointInT >::extractFeatures(), pcl::ColorGradientModality< PointXYZT >::extractFeatures(), pcl::SurfaceNormalModality< PointXYZT >::extractFeatures(), and serialize().
unsigned char pcl::QuantizedMultiModFeature::quantized_value |
the quantized value attached to the feature.
Definition at line 62 of file sparse_quantized_multi_mod_template.h.
Referenced by compareForEquality(), deserialize(), pcl::ColorGradientModality< PointXYZT >::extractAllFeatures(), pcl::SurfaceNormalModality< PointXYZT >::extractAllFeatures(), pcl::ColorModality< PointInT >::extractFeatures(), pcl::ColorGradientModality< PointXYZT >::extractFeatures(), pcl::SurfaceNormalModality< PointXYZT >::extractFeatures(), and serialize().
int pcl::QuantizedMultiModFeature::x |
x-position.
Definition at line 56 of file sparse_quantized_multi_mod_template.h.
Referenced by compareForEquality(), deserialize(), pcl::ColorGradientModality< PointXYZT >::extractAllFeatures(), pcl::SurfaceNormalModality< PointXYZT >::extractAllFeatures(), pcl::ColorModality< PointInT >::extractFeatures(), pcl::ColorGradientModality< PointXYZT >::extractFeatures(), pcl::SurfaceNormalModality< PointXYZT >::extractFeatures(), and serialize().
int pcl::QuantizedMultiModFeature::y |
y-position.
Definition at line 58 of file sparse_quantized_multi_mod_template.h.
Referenced by compareForEquality(), deserialize(), pcl::ColorGradientModality< PointXYZT >::extractAllFeatures(), pcl::SurfaceNormalModality< PointXYZT >::extractAllFeatures(), pcl::ColorModality< PointInT >::extractFeatures(), pcl::ColorGradientModality< PointXYZT >::extractFeatures(), pcl::SurfaceNormalModality< PointXYZT >::extractFeatures(), and serialize().
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/structpcl_1_1_quantized_multi_mod_feature.html