28 #ifndef RTABMAP_PDFPLOT_H_ 29 #define RTABMAP_PDFPLOT_H_ 34 #include "opencv2/opencv.hpp" 42 PdfPlotItem(
float dataX,
float dataY,
float width,
int childCount = -1);
45 void setLikelihood(
int id,
float value,
int childCount);
46 void setSignaturesRef(
const QMap<int, Signature> * signaturesRef) {_signaturesRef = signaturesRef;}
48 float value()
const {
return this->data().y();}
49 int id()
const {
return this->data().x();}
52 virtual void showDescription(
bool shown);
55 QGraphicsPixmapItem *
_img;
67 PdfPlotCurve(
const QString & name,
const QMap<int, Signature> * signaturesMapRef, QObject * parent = 0);
71 void setData(
const QMap<int, float> & dataMap,
const QMap<int, int> & weightsMap);
QGraphicsPixmapItem * _img
const QMap< int, Signature > * _signaturesRef
void setSignaturesRef(const QMap< int, Signature > *signaturesRef)
const QMap< int, Signature > * _signaturesMapRef
QGraphicsTextItem * _text