Point Cloud Library (PCL)  1.9.1-dev
List of all members | 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:

Public Member Functions

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

Public Attributes

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

Detailed Description

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

This is represented 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 59 of file correspondence.h.

Constructor & Destructor Documentation

◆ Correspondence() [1/2]

pcl::Correspondence::Correspondence ( )
inline

Standard constructor.

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

Definition at line 75 of file correspondence.h.

◆ Correspondence() [2/2]

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

Constructor.

Definition at line 80 of file correspondence.h.

◆ ~Correspondence()

virtual pcl::Correspondence::~Correspondence ( )
inlinevirtual

Empty destructor.

Definition at line 85 of file correspondence.h.

References pcl::operator<<(), PCL_EXPORTS, and PCL_MAKE_ALIGNED_OPERATOR_NEW.

Member Data Documentation

◆ @1

union { ... }

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

◆ distance

float pcl::Correspondence::distance

◆ index_match

int pcl::Correspondence::index_match

◆ index_query

int pcl::Correspondence::index_query

◆ weight

float pcl::Correspondence::weight

Definition at line 69 of file correspondence.h.


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