9 #ifndef CPointPDFGaussian_H 10 #define CPointPDFGaussian_H 117 void bayesianFusion(
const CPointPDF &p1,
const CPointPDF &p2,
const double &minMahalanobisDistToDrop = 0) MRPT_OVERRIDE;
121 double mahalanobisDistanceTo( const
CPointPDFGaussian & other,
bool only_2D = false ) const;
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
CPoint3D mean
The mean value.
void saveToTextFile(const std::string &file, mrpt::math::TMatrixTextFileFormat fileFormat=mrpt::math::MATRIX_FORMAT_ENG, bool appendMRPTHeader=false, const std::string &userHeader=std::string()) const
Save matrix to a text file, compatible with MATLAB text format (see also the methods of matrix classe...
A numeric matrix of compile-time fixed size.
mrpt::math::CMatrixDouble33 cov
The 3x3 covariance matrix.
#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 3D point.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE(class_name, base_name)
Declares a class that represents a Probability Distribution function (PDF) of a 3D point (x...
A gaussian distribution for 3D points.