48 virtual void copyFrom(
const CPose3DPDF &o) = 0;
84 static void jacobiansPoseComposition(
91 enum { is_3D_val = 1 };
92 static inline bool is_3D() {
return is_3D_val!=0; }
93 enum { is_PDF_val = 1 };
94 static inline bool is_PDF() {
return is_PDF_val!=0; }
101 template <
class OPENGL_SETOFOBJECTSPTR>
103 typedef typename OPENGL_SETOFOBJECTSPTR::value_type SETOFOBJECTS;
110 template <
class OPENGL_SETOFOBJECTSPTR>
112 typedef typename OPENGL_SETOFOBJECTSPTR::value_type SETOFOBJECTS;
DEFINE_SERIALIZABLE_POST_CUSTOM_BASE(CPose3DPDFGaussianInf, CPose3DPDF)
OPENGL_SETOFOBJECTSPTR getAs3DObject() const
Returns a 3D representation of this PDF.
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:
A numeric matrix of compile-time fixed size.
Eigen::Matrix< dataType, 4, 4 > inverse(Eigen::Matrix< dataType, 4, 4 > &pose)
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE(class_name, base_name)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
void getAs3DObject(OPENGL_SETOFOBJECTSPTR &out_obj) const
Returns a 3D representation of this PDF (it doesn't clear the current contents of out_obj...
Declares a class that represents a probability density function (pdf) of a 2D pose (x...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Declares a class that represents a Probability Density Function (PDF) of a 3D pose (6D actually)...
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...