Updated default RGBD/LocalLoopDetectionPathFilteringRadius to 0.25

This commit is contained in:
Mathieu Labbe
2015-04-27 18:16:04 -04:00
parent 242c3e5f1b
commit a4f11b7a3b
5 changed files with 42 additions and 31 deletions

View File

@@ -87,7 +87,6 @@ protected:
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event )
{
qDeleteAll(this->childItems());
this->setScale(1);
QGraphicsEllipseItem::hoverEnterEvent(event);
}
@@ -133,11 +132,18 @@ public:
protected:
virtual void hoverEnterEvent ( QGraphicsSceneHoverEvent * event )
{
this->setToolTip(QString("%1->%2 %3 m").arg(_from).arg(_to).arg(_poseA.getDistance(_poseB)));
QPen pen = this->pen();
pen.setWidthF(pen.widthF()+0.02);
this->setPen(pen);
QGraphicsLineItem::hoverEnterEvent(event);
}
virtual void hoverLeaveEvent ( QGraphicsSceneHoverEvent * event )
{
QPen pen = this->pen();
pen.setWidthF(pen.widthF()-0.02);
this->setPen(pen);
QGraphicsLineItem::hoverEnterEvent(event);
}