#include <mrpt/poses/CPose3DPDF.h>
Public Member Functions | |
MRPT_DECLARE_DEPRECATED_FUNCTION ("**deprecated** Use getMean instead", CPose3D getEstimatedPose() const ) | |
Returns an estimate of the pose, (the mean, or mathematical expectation of the PDF). | |
virtual void | copyFrom (const CPose3DPDF &o)=0 |
Copy operator, translating if necesary (for example, between particles and gaussian representations). | |
virtual void | bayesianFusion (CPose3DPDF &p1, CPose3DPDF &p2)=0 |
Bayesian fusion of two pose distributions, then save the result in this object (WARNING: Currently only distributions of the same class can be fused! eg, gaussian with gaussian,etc). | |
virtual void | inverse (CPose3DPDF &o) const =0 |
Returns a new PDF such as: NEW_PDF = (0,0,0) - THIS_PDF. | |
Static Public Member Functions | |
static CPose3DPDF * | createFrom2D (const CPosePDF &o) |
This is a static transformation method from 2D poses to 3D PDFs, preserving the representation type (particles->particles, Gaussians->Gaussians,etc) It returns a new object of any of the derived classes of CPose3DPDF. |
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 3D points (without attitude), see CPointPDF
See also the tutorial on probabilistic spatial representations in the MRPT.
Definition at line 60 of file CPose3DPDF.h.
virtual void mrpt::poses::CPose3DPDF::bayesianFusion | ( | CPose3DPDF & | p1, | |
CPose3DPDF & | p2 | |||
) | [pure virtual] |
Bayesian fusion of two pose distributions, then save the result in this object (WARNING: Currently only distributions of the same class can be fused! eg, gaussian with gaussian,etc).
Implemented in mrpt::poses::CPose3DPDFGaussian, mrpt::poses::CPose3DPDFParticles, and mrpt::poses::CPose3DPDFSOG.
virtual void mrpt::poses::CPose3DPDF::copyFrom | ( | const CPose3DPDF & | o | ) | [pure virtual] |
Copy operator, translating if necesary (for example, between particles and gaussian representations).
Implemented in mrpt::poses::CPose3DPDFGaussian, mrpt::poses::CPose3DPDFParticles, and mrpt::poses::CPose3DPDFSOG.
static CPose3DPDF* mrpt::poses::CPose3DPDF::createFrom2D | ( | const CPosePDF & | o | ) | [static] |
This is a static transformation method from 2D poses to 3D PDFs, preserving the representation type (particles->particles, Gaussians->Gaussians,etc) It returns a new object of any of the derived classes of CPose3DPDF.
This object must be deleted by the user when not required anymore.
virtual void mrpt::poses::CPose3DPDF::inverse | ( | CPose3DPDF & | o | ) | const [pure virtual] |
Returns a new PDF such as: NEW_PDF = (0,0,0) - THIS_PDF.
Implemented in mrpt::poses::CPose3DPDFGaussian, mrpt::poses::CPose3DPDFParticles, and mrpt::poses::CPose3DPDFSOG.
mrpt::poses::CPose3DPDF::MRPT_DECLARE_DEPRECATED_FUNCTION | ( | "**deprecated** Use getMean instead" | , | |
CPose3D getEstimatedPose() | const | |||
) | [inline] |
Returns an estimate of the pose, (the mean, or mathematical expectation of the PDF).
Definition at line 68 of file CPose3DPDF.h.
Page generated by Doxygen 1.5.9 for MRPT 0.7.1 SVN: at Mon Aug 17 22:32:05 EDT 2009 |