62 const double& minMahalanobisDistToDrop = 0) = 0;
82 template <
class OPENGL_SETOFOBJECTSPTR>
85 typedef typename OPENGL_SETOFOBJECTSPTR::element_type SETOFOBJECTS;
93 template <
class OPENGL_SETOFOBJECTSPTR,
class OPENGL_SETOFOBJECTS>
96 typedef typename OPENGL_SETOFOBJECTSPTR::value_type SETOFOBJECTS;
The virtual base class which provides a unified interface for all persistent objects in MRPT...
#define DEFINE_VIRTUAL_SERIALIZABLE(class_name)
This declaration must be inserted in virtual CSerializable classes definition:
void getAs3DObject(OPENGL_SETOFOBJECTSPTR &out_obj) const
Returns a 3D representation of this PDF (it doesn't clear the current contents of out_obj...
virtual void bayesianFusion(const CPointPDF &p1, const CPointPDF &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 is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
CSetOfObjects::Ptr posePDF2opengl(const POSE_PDF &o)
Returns a representation of a the PDF - this is just an auxiliary function, it's more natural to call...
OPENGL_SETOFOBJECTSPTR getAs3DObject() const
Returns a 3D representation of this PDF.
virtual void copyFrom(const CPointPDF &o)=0
Copy operator, translating if necesary (for example, between particles and gaussian representations) ...
A generic template for probability density distributions (PDFs).
Declares a class that represents a Probability Distribution function (PDF) of a 3D point (x...