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; }
#define DEFINE_VIRTUAL_SERIALIZABLE(class_name)
This declaration must be inserted in virtual CSerializable classes definition:
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE(class_name, base_name)
#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.
Declares a class that represents a Probability Distribution function (PDF) of a 2D point (x,...
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),...
virtual void copyFrom(const CPoint2DPDF &o)=0
Copy operator, translating if necesary (for example, between particles and gaussian representations)
The virtual base class which provides a unified interface for all persistent objects in MRPT.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.