qlaserdata.h
Go to the documentation of this file.
00001 #ifndef QLASERDATA_H
00002 #define QLASERDATA_H
00003 
00004 #include "qtv.h"
00005 
00006 class QLaserData : public QObject, public QGraphicsItem
00007 {
00008          Q_OBJECT
00009 
00010 public:
00011          QLaserData(LDP ld);
00012 
00013         QPainterPath createCountour();
00014 
00015          QRectF boundingRect() const;
00016          QPainterPath shape() const;
00017          void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
00018                                         QWidget *widget);
00019 
00020 protected:
00021          void timerEvent(QTimerEvent *event);
00022 
00023 private:
00024         LDP ld;
00025         QPainterPath countour;
00026 };
00027 
00028 #endif


csm
Author(s): Andrea Censi
autogenerated on Mon Jan 16 2017 03:48:29