Go to the documentation of this file.
55 enum { is_3D_val = 1 };
56 static inline bool is_3D() {
return is_3D_val!=0; }
57 enum { is_PDF_val = 1 };
58 static inline bool is_PDF() {
return is_PDF_val!=0; }
63 template <
class OPENGL_SETOFOBJECTSPTR>
65 typedef typename OPENGL_SETOFOBJECTSPTR::value_type SETOFOBJECTS;
72 template <
class OPENGL_SETOFOBJECTSPTR,
class OPENGL_SETOFOBJECTS>
74 typedef typename OPENGL_SETOFOBJECTSPTR::value_type SETOFOBJECTS;
void getAs3DObject(OPENGL_SETOFOBJECTSPTR &out_obj) const
Returns a 3D representation of this PDF (it doesn't clear the current contents of out_obj,...
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE(class_name, base_name)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
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),...
#define DEFINE_VIRTUAL_SERIALIZABLE(class_name)
This declaration must be inserted in virtual CSerializable classes definition:
The virtual base class which provides a unified interface for all persistent objects in MRPT.
CSetOfObjectsPtr posePDF2opengl(const POSE_PDF &o)
Returns a representation of a the PDF - this is just an auxiliary function, it's more natural to call...
Declares a class that represents a Probability Distribution function (PDF) of a 3D point (x,...
A class used to store a 3D point.
virtual void copyFrom(const CPointPDF &o)=0
Copy operator, translating if necesary (for example, between particles and gaussian representations)
OPENGL_SETOFOBJECTSPTR getAs3DObject() const
Returns a 3D representation of this PDF.
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE(class_name, base_name)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |