|
LARS
LARS (Light Augmented Reality System) is an open-source framework for light-based interaction and real-time tracking in multi-robot experiments. Inspired by ARK, LARS extends the augmented reality paradigm to robotic collectives by projecting dynamic visual cues and environments onto the arena, enabling new experimental possibilities for collective robotics research, education, and outreach. LARS features integrated tracking, light projection, and modular experiment control with a user-friendly Qt GUI.
|
The grid in both angular and radial dimensions for polar plots. More...
Public Types | |
| enum | GridType { gtAngular = 0x01 , gtRadial = 0x02 , gtAll = 0xFF , gtNone = 0x00 } |
Public Member Functions | |
| QCPPolarGrid (QCPPolarAxisAngular *parentAxis) | |
| QCPPolarAxisRadial * | radialAxis () const |
| GridTypes | type () const |
| GridTypes | subGridType () const |
| bool | antialiasedSubGrid () const |
| bool | antialiasedZeroLine () const |
| QPen | angularPen () const |
| QPen | angularSubGridPen () const |
| QPen | radialPen () const |
| QPen | radialSubGridPen () const |
| QPen | radialZeroLinePen () const |
| void | setRadialAxis (QCPPolarAxisRadial *axis) |
| void | setType (GridTypes type) |
| void | setSubGridType (GridTypes type) |
| void | setAntialiasedSubGrid (bool enabled) |
| void | setAntialiasedZeroLine (bool enabled) |
| void | setAngularPen (const QPen &pen) |
| void | setAngularSubGridPen (const QPen &pen) |
| void | setRadialPen (const QPen &pen) |
| void | setRadialSubGridPen (const QPen &pen) |
| void | setRadialZeroLinePen (const QPen &pen) |
| Public Member Functions inherited from QCPLayerable | |
| QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=nullptr) | |
| bool | visible () const |
| QCustomPlot * | parentPlot () const |
| QCPLayerable * | parentLayerable () const |
| QCPLayer * | layer () const |
| bool | antialiased () const |
| void | setVisible (bool on) |
| Q_SLOT bool | setLayer (QCPLayer *layer) |
| bool | setLayer (const QString &layerName) |
| void | setAntialiased (bool enabled) |
| virtual double | selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=nullptr) const |
| bool | realVisibility () const |
Protected Member Functions | |
| virtual void | applyDefaultAntialiasingHint (QCPPainter *painter) const Q_DECL_OVERRIDE |
| virtual void | draw (QCPPainter *painter) Q_DECL_OVERRIDE |
| void | drawRadialGrid (QCPPainter *painter, const QPointF ¢er, const QVector< double > &coords, const QPen &pen, const QPen &zeroPen=Qt::NoPen) |
| void | drawAngularGrid (QCPPainter *painter, const QPointF ¢er, double radius, const QVector< QPointF > &ticksCosSin, const QPen &pen) |
| Protected Member Functions inherited from QCPLayerable | |
| virtual void | parentPlotInitialized (QCustomPlot *parentPlot) |
| virtual QCP::Interaction | selectionCategory () const |
| virtual QRect | clipRect () const |
| virtual void | selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) |
| virtual void | deselectEvent (bool *selectionStateChanged) |
| virtual void | mousePressEvent (QMouseEvent *event, const QVariant &details) |
| virtual void | mouseMoveEvent (QMouseEvent *event, const QPointF &startPos) |
| virtual void | mouseReleaseEvent (QMouseEvent *event, const QPointF &startPos) |
| virtual void | mouseDoubleClickEvent (QMouseEvent *event, const QVariant &details) |
| virtual void | wheelEvent (QWheelEvent *event) |
| void | initializeParentPlot (QCustomPlot *parentPlot) |
| void | setParentLayerable (QCPLayerable *parentLayerable) |
| bool | moveToLayer (QCPLayer *layer, bool prepend) |
| void | applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const |
Protected Attributes | |
| GridTypes | mType |
| GridTypes | mSubGridType |
| bool | mAntialiasedSubGrid |
| bool | mAntialiasedZeroLine |
| QPen | mAngularPen |
| QPen | mAngularSubGridPen |
| QPen | mRadialPen |
| QPen | mRadialSubGridPen |
| QPen | mRadialZeroLinePen |
| QCPPolarAxisAngular * | mParentAxis |
| QPointer< QCPPolarAxisRadial > | mRadialAxis |
| Protected Attributes inherited from QCPLayerable | |
| bool | mVisible |
| QCustomPlot * | mParentPlot |
| QPointer< QCPLayerable > | mParentLayerable |
| QCPLayer * | mLayer |
| bool | mAntialiased |
Additional Inherited Members | |
| Signals inherited from QCPLayerable | |
| void | layerChanged (QCPLayer *newLayer) |
The grid in both angular and radial dimensions for polar plots.
TODO
|
explicit |
Creates a QCPPolarGrid instance and sets default values.
You shouldn't instantiate grids on their own, since every axis brings its own grid.
|
protectedvirtual |
Implements QCPLayerable.
|
protectedvirtual |
Implements QCPLayerable.
| void QCPPolarGrid::setAngularPen | ( | const QPen & | pen | ) |
Sets the pen with which (major) grid lines are drawn.
| void QCPPolarGrid::setAngularSubGridPen | ( | const QPen & | pen | ) |
Sets the pen with which sub grid lines are drawn.
| void QCPPolarGrid::setAntialiasedSubGrid | ( | bool | enabled | ) |
Sets whether sub grid lines are drawn antialiased.
| void QCPPolarGrid::setAntialiasedZeroLine | ( | bool | enabled | ) |
Sets whether zero lines are drawn antialiased.