Main MRPT website > C++ reference for MRPT 1.9.9
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-2017, 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 
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  */
44 {
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  */
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:
60  /** Private, virtual destructor: only can be deleted from smart pointers */
62 };
63 
64 } // end namespace
65 
66 } // End of namespace
67 
68 #endif
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
An especial "ellipsoid" in 2D computed as the uncertainty iso-surfaces of a (range,...
virtual ~CEllipsoidRangeBearing2D()
Private, virtual destructor: only can be deleted from smart pointers.
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,...
CGeneralizedEllipsoidTemplate< 2 > BASE
A class that generalizes the concept of an ellipsoid to arbitrary parameterizations of uncertainty sh...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.



Page generated by Doxygen 1.9.1 for MRPT 1.9.9 Git: 63ea9d1f1 Thu Nov 23 00:06:53 2017 +0100 at mar 26 may 2026 12:19:29 CEST