Main MRPT website
>
C++ reference for MRPT 1.9.9
mrpt
opengl
CEllipsoidRangeBearing2D.h
Go to the documentation of this file.
1
/* +------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| http://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6
| See: http://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See details in http://www.mrpt.org/License |
8
+------------------------------------------------------------------------+ */
9
#ifndef opengl_CEllipsoidRangeBearing2D_H
10
#define opengl_CEllipsoidRangeBearing2D_H
11
12
#include <
mrpt/opengl/CGeneralizedEllipsoidTemplate.h
>
13
14
namespace
mrpt
15
{
16
namespace
opengl
17
{
18
/** An especial "ellipsoid" in 2D computed as the uncertainty iso-surfaces of a
19
* (range,bearing) variable.
20
* The parameter space of this ellipsoid comprises these variables (in this
21
* order):
22
* - range: Distance from sensor to feature.
23
* - bearing: Angle from +X to the line that goes from the sensor towards the
24
* feature.
25
*
26
* This class expects you to provide a mean vector of length 2 and a 2x2
27
* covariance matrix, set with \a setCovMatrixAndMean().
28
*
29
* Please read the documentation of
30
* CGeneralizedEllipsoidTemplate::setQuantiles() for learning
31
* the mathematical details about setting the desired confidence interval.
32
*
33
* <div align="center">
34
* <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px;
35
* border-style: solid;">
36
* <tr> <td> mrpt::opengl::CEllipsoidRangeBearing2D </td> <td> \image html
37
* preview_CEllipsoidRangeBearing2D.png </td> </tr>
38
* </table>
39
* </div>
40
*
41
* \ingroup mrpt_opengl_grp
42
*/
43
class
CEllipsoidRangeBearing2D
:
public
CGeneralizedEllipsoidTemplate
<2>
44
{
45
using
BASE
=
CGeneralizedEllipsoidTemplate<2>
;
46
DEFINE_SERIALIZABLE
(
CEllipsoidRangeBearing2D
)
47
protected
:
48
/** To be implemented by derived classes: maps, using some arbitrary space
49
* transformation, a list of points
50
* defining an ellipsoid in parameter space into their corresponding
51
* points in 2D/3D space.
52
*/
53
virtual
void
transformFromParameterSpace
(
54
const
std::vector<BASE::array_parameter_t>& in_pts,
55
std::vector<BASE::array_point_t>& out_pts)
const override
;
56
/** Constructor
57
*/
58
public
:
59
CEllipsoidRangeBearing2D
() {}
60
/** Private, virtual destructor: only can be deleted from smart pointers */
61
virtual
~CEllipsoidRangeBearing2D
() {}
62
};
63
64
}
// end namespace
65
66
}
// End of namespace
67
68
#endif
mrpt::opengl::CEllipsoidRangeBearing2D::CEllipsoidRangeBearing2D
CEllipsoidRangeBearing2D()
Constructor.
Definition:
CEllipsoidRangeBearing2D.h:59
mrpt::opengl::CEllipsoidRangeBearing2D::~CEllipsoidRangeBearing2D
virtual ~CEllipsoidRangeBearing2D()
Private, virtual destructor: only can be deleted from smart pointers.
Definition:
CEllipsoidRangeBearing2D.h:61
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition:
CKalmanFilterCapable.h:30
mrpt::opengl::CEllipsoidRangeBearing2D
An especial "ellipsoid" in 2D computed as the uncertainty iso-surfaces of a (range,...
Definition:
CEllipsoidRangeBearing2D.h:43
mrpt::opengl::CGeneralizedEllipsoidTemplate
A class that generalizes the concept of an ellipsoid to arbitrary parameterizations of uncertainty sh...
Definition:
CGeneralizedEllipsoidTemplate.h:73
DEFINE_SERIALIZABLE
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
Definition:
CSerializable.h:102
CGeneralizedEllipsoidTemplate.h
mrpt::opengl::CEllipsoidRangeBearing2D::transformFromParameterSpace
virtual void transformFromParameterSpace(const std::vector< BASE::array_parameter_t > &in_pts, std::vector< BASE::array_point_t > &out_pts) const override
To be implemented by derived classes: maps, using some arbitrary space transformation,...
Page generated by
Doxygen 1.8.17
for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST