5 #include <shape_detect.h>
8 #include <QStyleOptionGraphicsItem>
10 #include <QGraphicsItem>
12 class HokuyoScan : public QGraphicsItem
17 struct hokuyo_scan_type data;
18 struct sick_scan_type sick_data;
20 QRectF boundingRect() const;
21 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
22 void setPosition(double x, double y, double phi);
23 void newScan(struct sick_scan_type *scan);
25 void paintShapeDetect(QPainter * painter);
30 #endif // HOKUYOSCAN_H