Results.h
Go to the documentation of this file.
1 /* -------------------------------------------------------------------------
2  * A repertory of multi primitive-to-primitive (MP2P) ICP algorithms in C++
3  * Copyright (C) 2018-2024 Jose Luis Blanco, University of Almeria
4  * See LICENSE for license information.
5  * ------------------------------------------------------------------------- */
6 #pragma once
7 
8 #include <mp2p_icp/Pairings.h>
9 #include <mrpt/poses/CPose3DPDFGaussian.h>
10 
11 #include <cstdint>
12 #include <iosfwd>
13 
14 #include "IterTermReason.h"
15 
16 namespace mp2p_icp
17 {
21 struct Results
22 {
25  mrpt::poses::CPose3DPDFGaussian optimal_tf;
26 
28  double optimalScale = 1.0;
29 
31  size_t nIterations = 0;
32 
34 
38  double quality = 0;
39 
42 
43  void serializeTo(mrpt::serialization::CArchive& out) const;
44  void serializeFrom(mrpt::serialization::CArchive& in);
45 
49  void print(std::ostream& o) const;
50 };
51 
52 mrpt::serialization::CArchive& operator<<(
53  mrpt::serialization::CArchive& out, const Results& obj);
54 
55 mrpt::serialization::CArchive& operator>>(
56  mrpt::serialization::CArchive& in, Results& obj);
57 
60 } // namespace mp2p_icp
mp2p_icp::Results::terminationReason
IterTermReason terminationReason
Definition: Results.h:33
mp2p_icp
Definition: covariance.h:17
mp2p_icp::operator>>
mrpt::serialization::CArchive & operator>>(mrpt::serialization::CArchive &in, Pairings &obj)
Definition: Pairings.cpp:55
mp2p_icp::Pairings
Definition: Pairings.h:78
mp2p_icp::Results::optimal_tf
mrpt::poses::CPose3DPDFGaussian optimal_tf
Definition: Results.h:25
mp2p_icp::Results::serializeTo
void serializeTo(mrpt::serialization::CArchive &out) const
Definition: Results.cpp:16
mp2p_icp::Results::print
void print(std::ostream &o) const
Definition: Results.cpp:50
mp2p_icp::Results::finalPairings
Pairings finalPairings
Definition: Results.h:41
mp2p_icp::Results::nIterations
size_t nIterations
Definition: Results.h:31
mp2p_icp::Results::optimalScale
double optimalScale
Definition: Results.h:28
kitti-batch-convert.out
string out
Definition: kitti-batch-convert.py:7
IterTermReason.h
Pairings.h
Common types for all SE(3) optimal transformation methods.
mp2p_icp::IterTermReason
IterTermReason
Definition: IterTermReason.h:18
mp2p_icp::operator<<
mrpt::serialization::CArchive & operator<<(mrpt::serialization::CArchive &out, const Pairings &obj)
Definition: Pairings.cpp:48
mp2p_icp::Results::serializeFrom
void serializeFrom(mrpt::serialization::CArchive &in)
Definition: Results.cpp:24
mp2p_icp::Results
Definition: Results.h:21
mp2p_icp::IterTermReason::Undefined
@ Undefined
mp2p_icp::Results::quality
double quality
Definition: Results.h:38


mp2p_icp
Author(s):
autogenerated on Thu Dec 26 2024 03:48:12