Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
corelib
include
rtabmap
core
RegistrationInfo.h
Go to the documentation of this file.
1
/*
2
Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
3
All rights reserved.
4
5
Redistribution and use in source and binary forms, with or without
6
modification, are permitted provided that the following conditions are met:
7
* Redistributions of source code must retain the above copyright
8
notice, this list of conditions and the following disclaimer.
9
* Redistributions in binary form must reproduce the above copyright
10
notice, this list of conditions and the following disclaimer in the
11
documentation and/or other materials provided with the distribution.
12
* Neither the name of the Universite de Sherbrooke nor the
13
names of its contributors may be used to endorse or promote products
14
derived from this software without specific prior written permission.
15
16
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
20
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
*/
27
28
#ifndef REGISTRATIONINFO_H_
29
#define REGISTRATIONINFO_H_
30
31
32
namespace
rtabmap
{
33
34
class
RegistrationInfo
35
{
36
public
:
37
RegistrationInfo
() :
38
totalTime
(0.0),
39
inliers
(0),
40
matches
(0),
41
icpInliersRatio
(0),
42
icpTranslation
(0.0
f
),
43
icpRotation
(0.0
f
),
44
icpStructuralComplexity
(0.0
f
)
45
46
{
47
}
48
49
RegistrationInfo
copyWithoutData
()
const
50
{
51
RegistrationInfo
output;
52
output.
totalTime
=
totalTime
;
53
output.
covariance
=
covariance
.clone();
54
output.
rejectedMsg
=
rejectedMsg
;
55
output.
inliers
=
inliers
;
56
output.
matches
=
matches
;
57
output.
icpInliersRatio
=
icpInliersRatio
;
58
output.
icpTranslation
=
icpTranslation
;
59
output.
icpRotation
=
icpRotation
;
60
output.
icpStructuralComplexity
=
icpStructuralComplexity
;
61
return
output;
62
}
63
64
cv::Mat
covariance
;
65
std::string
rejectedMsg
;
66
double
totalTime
;
67
68
// RegistrationVis
69
int
inliers
;
70
std::vector<int>
inliersIDs
;
71
int
matches
;
72
std::vector<int>
matchesIDs
;
73
std::vector<int>
projectedIDs
;
// "From" IDs
74
75
// RegistrationIcp
76
float
icpInliersRatio
;
77
float
icpTranslation
;
78
float
icpRotation
;
79
float
icpStructuralComplexity
;
80
};
81
82
}
83
84
#endif
/* REGISTRATIONINFO_H_ */
rtabmap::RegistrationInfo::rejectedMsg
std::string rejectedMsg
Definition:
RegistrationInfo.h:65
rtabmap::RegistrationInfo
Definition:
RegistrationInfo.h:34
f
f
rtabmap
Definition:
CameraTango.cpp:37
rtabmap::RegistrationInfo::inliersIDs
std::vector< int > inliersIDs
Definition:
RegistrationInfo.h:70
rtabmap::RegistrationInfo::icpTranslation
float icpTranslation
Definition:
RegistrationInfo.h:77
rtabmap::RegistrationInfo::totalTime
double totalTime
Definition:
RegistrationInfo.h:66
rtabmap::RegistrationInfo::projectedIDs
std::vector< int > projectedIDs
Definition:
RegistrationInfo.h:73
rtabmap::RegistrationInfo::covariance
cv::Mat covariance
Definition:
RegistrationInfo.h:64
rtabmap::RegistrationInfo::RegistrationInfo
RegistrationInfo()
Definition:
RegistrationInfo.h:37
rtabmap::RegistrationInfo::inliers
int inliers
Definition:
RegistrationInfo.h:69
rtabmap::RegistrationInfo::icpStructuralComplexity
float icpStructuralComplexity
Definition:
RegistrationInfo.h:79
rtabmap::RegistrationInfo::matchesIDs
std::vector< int > matchesIDs
Definition:
RegistrationInfo.h:72
rtabmap::RegistrationInfo::icpRotation
float icpRotation
Definition:
RegistrationInfo.h:78
rtabmap::RegistrationInfo::matches
int matches
Definition:
RegistrationInfo.h:71
rtabmap::RegistrationInfo::copyWithoutData
RegistrationInfo copyWithoutData() const
Definition:
RegistrationInfo.h:49
rtabmap::RegistrationInfo::icpInliersRatio
float icpInliersRatio
Definition:
RegistrationInfo.h:76
rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:41:32