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

Correspondence represents a match between two entities (e.g., points, descriptors, etc). More...

#include <pcl/correspondence.h>

+ Inheritance diagram for pcl::Correspondence:

List of all members.

Public Member Functions

 Correspondence ()
 Standard constructor.
 Correspondence (int _index_query, int _index_match, float _distance)
 Constructor.
virtual ~Correspondence ()
 Empty destructor.

Public Attributes

int index_query
 Index of the query (source) point.
int index_match
 Index of the matching (target) point.
union {
   float   distance
   float   weight
}; 
 Distance between the corresponding points, or the weight denoting the confidence in correspondence estimation.

Detailed Description

Correspondence represents a match between two entities (e.g., points, descriptors, etc).

This is represesented via the indices of a source point and a target point, and the distance between them.

Author:
Dirk Holz, Radu B. Rusu, Bastian Steder

Definition at line 58 of file correspondence.h.


Constructor & Destructor Documentation

Standard constructor.

Sets index_query to 0, index_match to -1, and distance to FLT_MAX.

Definition at line 74 of file correspondence.h.

pcl::Correspondence::Correspondence ( int  _index_query,
int  _index_match,
float  _distance 
) [inline]

Constructor.

Definition at line 79 of file correspondence.h.

virtual pcl::Correspondence::~Correspondence ( ) [inline, virtual]

Empty destructor.

Definition at line 84 of file correspondence.h.


Member Data Documentation

union { ... }

Distance between the corresponding points, or the weight denoting the confidence in correspondence estimation.

Definition at line 68 of file correspondence.h.


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