42 #pragma GCC system_header
45 #include <pcl/pcl_base.h>
48 #include <Eigen/StdVector>
49 #include <Eigen/Geometry>
50 #include <pcl/pcl_exports.h>
69 float distance = std::numeric_limits<float>::max();
89 using Correspondences = std::vector< pcl::Correspondence, Eigen::aligned_allocator<pcl::Correspondence> >;
110 bool presorting_required =
true);
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
bool isBetterCorrespondence(const Correspondence &pc1, const Correspondence &pc2)
Comparator to enable us to sort a vector of PointCorrespondences according to their scores using std:...
Defines functions, macros and traits for allocating and using memory.
shared_ptr< Correspondences > CorrespondencesPtr
shared_ptr< const Correspondences > CorrespondencesConstPtr
static constexpr index_t UNAVAILABLE
detail::int_type_t< detail::index_type_size, detail::index_type_signed > index_t
Type used for an index in PCL.
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
std::vector< pcl::Correspondence, Eigen::aligned_allocator< pcl::Correspondence > > Correspondences
IndicesAllocator<> Indices
Type used for indices in PCL.
std::vector< PointCorrespondence3D, Eigen::aligned_allocator< PointCorrespondence3D > > PointCorrespondences3DVector
void getRejectedQueryIndices(const pcl::Correspondences &correspondences_before, const pcl::Correspondences &correspondences_after, Indices &indices, bool presorting_required=true)
Get the query points of correspondences that are present in one correspondence vector but not in the ...
std::vector< PointCorrespondence6D, Eigen::aligned_allocator< PointCorrespondence6D > > PointCorrespondences6DVector
Correspondence represents a match between two entities (e.g., points, descriptors,...
Correspondence(index_t _index_query, index_t _index_match, float _distance)
Constructor.
index_t index_query
Index of the query (source) point.
index_t index_match
Index of the matching (target) point.
Correspondence()=default
Standard constructor.
Representation of a (possible) correspondence between two 3D points in two different coordinate frame...
Eigen::Vector3f point1
The 3D position of the point in the first coordinate frame.
Eigen::Vector3f point2
The 3D position of the point in the second coordinate frame.
Representation of a (possible) correspondence between two points (e.g.
Eigen::Affine3f transformation
The transformation to go from the coordinate system.
Defines basic non-point types used by PCL.