#include <mrpt/poses/CPoint2DPDF.h>
Public Member Functions | |
MRPT_DECLARE_DEPRECATED_FUNCTION ("**deprecated** Use getMean instead", CPoint2D getEstimatedPoint() const ) | |
Returns an estimate of the pose, (the mean, or mathematical expectation of the PDF). | |
virtual void | copyFrom (const CPoint2DPDF &o)=0 |
Copy operator, translating if necesary (for example, between particles and gaussian representations). | |
virtual void | bayesianFusion (const CPoint2DPDF &p1, const CPoint2DPDF &p2, const double &minMahalanobisDistToDrop=0)=0 |
Bayesian fusion of two point distributions (product of two distributions->new distribution), then save the result in this object (WARNING: See implementing classes to see classes that can and cannot be mixtured!). |
This class is just the base class for unifying many diferent ways this PDF can be implemented.
For convenience, a pose composition is also defined for any PDF derived class, changeCoordinatesReference, in the form of a method rather than an operator.
For a similar class for 6D poses (a 3D point with attitude), see CPose3DPDF
See also the tutorial on probabilistic spatial representations in the MRPT.
Definition at line 56 of file CPoint2DPDF.h.
virtual void mrpt::poses::CPoint2DPDF::bayesianFusion | ( | const CPoint2DPDF & | p1, | |
const CPoint2DPDF & | p2, | |||
const double & | minMahalanobisDistToDrop = 0 | |||
) | [pure virtual] |
Bayesian fusion of two point distributions (product of two distributions->new distribution), then save the result in this object (WARNING: See implementing classes to see classes that can and cannot be mixtured!).
p1 | The first distribution to fuse | |
p2 | The second distribution to fuse | |
minMahalanobisDistToDrop | If set to different of 0, the result of very separate Gaussian modes (that will result in negligible components) in SOGs will be dropped to reduce the number of modes in the output. |
Implemented in mrpt::poses::CPoint2DPDFGaussian.
virtual void mrpt::poses::CPoint2DPDF::copyFrom | ( | const CPoint2DPDF & | o | ) | [pure virtual] |
Copy operator, translating if necesary (for example, between particles and gaussian representations).
Implemented in mrpt::poses::CPoint2DPDFGaussian.
mrpt::poses::CPoint2DPDF::MRPT_DECLARE_DEPRECATED_FUNCTION | ( | "**deprecated** Use getMean instead" | , | |
CPoint2D getEstimatedPoint() | const | |||
) | [inline] |
Returns an estimate of the pose, (the mean, or mathematical expectation of the PDF).
Definition at line 63 of file CPoint2DPDF.h.
Page generated by Doxygen 1.5.7.1 for MRPT 0.7.1 SVN: at Mon Aug 17 23:10:56 EDT 2009 |