1 #include <QGraphicsScene> 3 #include <QStyleOption> 6 #include "qlaserdata.moc" 13 setPos(QPointF(p[0],p[1]));
33 for(
int i=0;i<ld->nrays;i++) {
34 if(sequence[i].
valid==0)
continue;
35 double *
p = sequence[i].
p;
37 path.moveTo(p[0], p[1]);
39 path.lineTo(p[0], p[1]);
66 painter->setPen(Qt::black);
67 painter->setBrush(Qt::NoBrush);
void compute_stroke_sequence(LDP ld, struct stroke_sequence *draw_info, double horizon, double connect_threshold)
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
QRectF boundingRect() const
QPainterPath shape() const
void timerEvent(QTimerEvent *event)
QPainterPath createCountour()
void ld_compute_cartesian(LDP ld)
double rad2deg(double rad)