python
errorminimizers
point_to_plane_with_cov.cpp
Go to the documentation of this file.
1
#include "
point_to_plane_with_cov.h
"
2
3
#include "
pointmatcher/ErrorMinimizersImpl.h
"
4
5
namespace
python
6
{
7
namespace
errorminimizers
8
{
9
void
pybindPointToPlaneWithCov
(py::module& p_module)
10
{
11
using
PointToPlaneErrorMinimizer
=
ErrorMinimizersImpl<ScalarType>::PointToPlaneErrorMinimizer
;
12
using
PointToPlaneWithCovErrorMinimizer
=
ErrorMinimizersImpl<ScalarType>::PointToPlaneWithCovErrorMinimizer
;
13
py::class_<PointToPlaneWithCovErrorMinimizer, std::shared_ptr<PointToPlaneWithCovErrorMinimizer>,
PointToPlaneErrorMinimizer
>(p_module,
"PointToPlaneWithCovErrorMinimizer"
)
14
.def(
"name"
, &
PointToPlaneWithCovErrorMinimizer::name
)
15
16
.def_static(
"description"
, &
PointToPlaneWithCovErrorMinimizer::description
)
17
.def_static(
"availableParameters"
, &
PointToPlaneWithCovErrorMinimizer::availableParameters
)
18
19
.def_readonly(
"sensorStdDev"
, &
PointToPlaneWithCovErrorMinimizer::sensorStdDev
)
20
.def_readwrite(
"covMatrix"
, &
PointToPlaneWithCovErrorMinimizer::covMatrix
)
21
22
.def(py::init<const Parameters&>(), py::arg(
"params"
) =
Parameters
())
23
.def(
"compute"
, &
PointToPlaneWithCovErrorMinimizer::compute
, py::arg(
"mPts"
))
24
.def(
"getCovariance"
, &
PointToPlaneWithCovErrorMinimizer::getCovariance
)
25
.def(
"estimateCovariance"
, &
PointToPlaneWithCovErrorMinimizer::estimateCovariance
, py::arg(
"mPts"
), py::arg(
"transformation"
));
26
}
27
}
28
}
PointToPlaneWithCovErrorMinimizer::name
virtual const std::string name()
Definition:
PointToPlaneWithCov.h:60
PointToPlaneWithCovErrorMinimizer::compute
virtual TransformationParameters compute(const ErrorElements &mPts)
Find the transformation that minimizes the error given matched pair of points. This function most be ...
Definition:
PointToPlaneWithCov.cpp:61
PointToPlaneWithCovErrorMinimizer::getCovariance
virtual Matrix getCovariance() const
If not redefined by child class, return zero matrix.
Definition:
PointToPlaneWithCov.cpp:166
Parameters
PM::Parameters Parameters
Definition:
filterProfiler.cpp:20
python::errorminimizers::pybindPointToPlaneWithCov
void pybindPointToPlaneWithCov(py::module &p_module)
Definition:
point_to_plane_with_cov.cpp:9
PointToPlaneWithCovErrorMinimizer::sensorStdDev
const T sensorStdDev
Definition:
PointToPlaneWithCov.h:79
PointToPlaneWithCovErrorMinimizer::availableParameters
static const ParametersDoc availableParameters()
Definition:
PointToPlaneWithCov.h:70
ErrorMinimizersImpl.h
PointToPlaneWithCovErrorMinimizer::estimateCovariance
Matrix estimateCovariance(const ErrorElements &mPts, const TransformationParameters &transformation)
Definition:
PointToPlaneWithCov.cpp:73
python
Definition:
add_descriptor.cpp:5
PointToPlaneErrorMinimizer
Definition:
PointToPlane.h:42
PointToPlaneWithCovErrorMinimizer::description
static const std::string description()
Definition:
PointToPlaneWithCov.h:65
PointToPlaneWithCovErrorMinimizer
Definition:
PointToPlaneWithCov.h:43
PointToPlaneWithCovErrorMinimizer::covMatrix
Matrix covMatrix
Definition:
PointToPlaneWithCov.h:80
ErrorMinimizersImpl::PointToPlaneWithCovErrorMinimizer
::PointToPlaneWithCovErrorMinimizer< T > PointToPlaneWithCovErrorMinimizer
Definition:
ErrorMinimizersImpl.h:51
point_to_plane_with_cov.h
ErrorMinimizersImpl::PointToPlaneErrorMinimizer
::PointToPlaneErrorMinimizer< T > PointToPlaneErrorMinimizer
Definition:
ErrorMinimizersImpl.h:50
libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:09