Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
y
z
Typedefs
a
b
c
d
f
g
i
l
m
n
r
s
t
u
w
Enumerations
Enumerator
a
b
c
d
e
f
g
h
k
l
n
o
r
s
t
u
v
y
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Related Functions
:
_
a
g
i
l
n
o
p
r
s
t
u
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
g
i
l
m
n
o
p
r
s
t
u
v
Variables
_
a
c
d
g
i
m
n
r
s
t
v
w
Typedefs
b
c
d
i
m
n
o
p
q
s
t
v
Macros
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
y
z
3rdparty
libpointmatcher
pointmatcher
3rdparty/libpointmatcher/pointmatcher/Matcher.cpp
Go to the documentation of this file.
1
// kate: replace-tabs off; indent-width 4; indent-mode normal
2
// vim: ts=4:sw=4:noexpandtab
3
/*
4
5
Copyright (c) 2010--2012,
6
François Pomerleau and Stephane Magnenat, ASL, ETHZ, Switzerland
7
You can contact the authors at <f dot pomerleau at gmail dot com> and
8
<stephane at magnenat dot net>
9
10
All rights reserved.
11
12
Redistribution and use in source and binary forms, with or without
13
modification, are permitted provided that the following conditions are met:
14
* Redistributions of source code must retain the above copyright
15
notice, this list of conditions and the following disclaimer.
16
* Redistributions in binary form must reproduce the above copyright
17
notice, this list of conditions and the following disclaimer in the
18
documentation and/or other materials provided with the distribution.
19
* Neither the name of the <organization> nor the
20
names of its contributors may be used to endorse or promote products
21
derived from this software without specific prior written permission.
22
23
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
24
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26
DISCLAIMED. IN NO EVENT SHALL ETH-ASL BE LIABLE FOR ANY
27
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
34
*/
35
36
#include "
PointMatcher.h
"
37
#include "
PointMatcherPrivate.h
"
38
39
#include <limits>
40
41
using namespace
std
;
42
44
template
<
typename
T>
45
PointMatcher<T>::Matcher::Matcher
():
46
visitCounter(0)
47
{}
48
50
template
<
typename
T>
51
PointMatcher<T>::Matcher::Matcher
(
const
std::string
& className,
const
ParametersDoc
paramsDoc,
const
Parameters
& params):
52
Parametrizable
(className,paramsDoc,params),
53
visitCounter(0)
54
{}
55
57
template
<
typename
T>
58
PointMatcher<T>::Matcher::~Matcher
()
59
{}
60
62
template
<
typename
T>
63
void
PointMatcher<T>::Matcher::resetVisitCount
()
64
{
65
visitCounter = 0;
66
}
67
69
template
<
typename
T>
70
unsigned
long
PointMatcher<T>::Matcher::getVisitCount
()
const
71
{
72
return
visitCounter;
73
}
74
75
template
struct
PointMatcher<float>::Matcher
;
76
template
struct
PointMatcher<double>::Matcher
;
PointMatcher::Matcher::~Matcher
virtual ~Matcher()
virtual destructor
Definition:
3rdparty/libpointmatcher/pointmatcher/Matcher.cpp:58
PointMatcher
Functions and classes that are dependant on scalar type are defined in this templatized class.
Definition:
PointMatcher.h:130
PointMatcherPrivate.h
PointMatcher::Matcher
A matcher links points in the reading to points in the reference.
Definition:
PointMatcher.h:470
testing::internal::string
::std::string string
Definition:
gtest.h:1979
PointMatcher::Matcher::Matcher
Matcher()
Construct without parameter.
Definition:
3rdparty/libpointmatcher/pointmatcher/Matcher.cpp:45
PointMatcher::Matcher::resetVisitCount
void resetVisitCount()
Reset the visit counter.
Definition:
3rdparty/libpointmatcher/pointmatcher/Matcher.cpp:63
PointMatcher::Matcher::getVisitCount
unsigned long getVisitCount() const
Return the visit counter.
Definition:
3rdparty/libpointmatcher/pointmatcher/Matcher.cpp:70
PointMatcherSupport::Parametrizable::ParametersDoc
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
Definition:
Parametrizable.h:144
PointMatcherSupport::Parametrizable
The superclass of classes that are constructed using generic parameters. This class provides the para...
Definition:
Parametrizable.h:98
std
PointMatcher.h
public interface
PointMatcherSupport::Parametrizable::Parameters
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
Definition:
Parametrizable.h:156
mp2p_icp
Author(s):
autogenerated on Wed Feb 26 2025 03:45:47