49 virtual void bayesianFusion(
const CPoint2DPDF &p1,
const CPoint2DPDF &p2,
const double &minMahalanobisDistToDrop = 0) = 0 ;
51 enum { is_3D_val = 0 };
52 static inline bool is_3D() {
return is_3D_val!=0; }
53 enum { is_PDF_val = 1 };
54 static inline bool is_PDF() {
return is_PDF_val!=0; }
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:
Declares a class that represents a Probability Distribution function (PDF) of a 2D point (x...
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE(class_name, base_name)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
A class used to store a 2D point.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE(class_name, base_name)