#include <robot.h>
Public Member Functions | |
robot (QGraphicsItem *parent=0, QGraphicsScene *scene=0) | |
~robot () | |
QRectF | boundingRect () const |
void | initBeacons () |
void | setBeaconAngle (int, double) |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
void | rotateRobot (qreal angle) |
void | sensorRange (qreal size, int sens_id) |
void | moveRobot (double, double, double) |
Public Attributes | |
QGraphicsScene * | scene |
QGraphicsLineItem * | sensShort [SENSOR_SHORT_COUNT] |
QGraphicsLineItem * | sensLong [SENSOR_LONG_COUNT] |
QGraphicsRectItem * | robotBody |
QGraphicsLineItem * | beacons [3] |
QPoint * | pCenter |
char | id |
qreal | actPhi |
Definition at line 33 of file robot.h.