28 #ifndef CPointPDFSOG_H
29 #define CPointPDFSOG_H
64 TGaussianMode() : val(), log_w(0)
82 void assureSymmetry();
119 m_modes.push_back(m);
122 iterator
begin() {
return m_modes.begin(); }
123 iterator
end() {
return m_modes.end(); }
124 const_iterator
begin()
const {
return m_modes.begin(); }
125 const_iterator
end()
const {
return m_modes.end(); }
127 iterator
erase(iterator i) {
return m_modes.erase(i); }
129 void resize(
const size_t N);
130 size_t size()
const {
return m_modes.size(); }
131 bool empty()
const {
return m_modes.empty(); }
136 void getMean(
CPoint3D &mean_point)
const;
145 void normalizeWeights();
156 void copyFrom(
const CPointPDF &o);
177 void changeCoordinatesReference(
const CPose3D &newReferenceBase );
181 void drawSingleSample(
CPoint3D &outSample)
const;
188 void bayesianFusion(
const CPointPDF &p1,
const CPointPDF &p2,
const double &minMahalanobisDistToDrop = 0);
193 void evaluatePDFInArea(
201 bool sumOverAllZs =
false );
207 bool sumOverAllZs )
const;