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.
Loading...
Searching...
No Matches
QCPAxisPainterPrivate Class Reference

Classes

struct  CachedLabel
struct  TickLabelData

Public Member Functions

 QCPAxisPainterPrivate (QCustomPlot *parentPlot)
virtual void draw (QCPPainter *painter)
virtual int size ()
void clearCache ()
QRect axisSelectionBox () const
QRect tickLabelsSelectionBox () const
QRect labelSelectionBox () const

Public Attributes

QCPAxis::AxisType type
QPen basePen
QCPLineEnding lowerEnding
QCPLineEnding upperEnding
int labelPadding
QFont labelFont
QColor labelColor
QString label
int tickLabelPadding
double tickLabelRotation
QCPAxis::LabelSide tickLabelSide
bool substituteExponent
bool numberMultiplyCross
int tickLengthIn
int tickLengthOut
int subTickLengthIn
int subTickLengthOut
QPen tickPen
QPen subTickPen
QFont tickLabelFont
QColor tickLabelColor
QRect axisRect
QRect viewportRect
int offset
bool abbreviateDecimalPowers
bool reversedEndings
QVector< double > subTickPositions
QVector< double > tickPositions
QVector< QString > tickLabels

Protected Member Functions

virtual QByteArray generateLabelParameterHash () const
virtual void placeTickLabel (QCPPainter *painter, double position, int distanceToAxis, const QString &text, QSize *tickLabelsSize)
virtual void drawTickLabel (QCPPainter *painter, double x, double y, const TickLabelData &labelData) const
virtual TickLabelData getTickLabelData (const QFont &font, const QString &text) const
virtual QPointF getTickLabelDrawOffset (const TickLabelData &labelData) const
virtual void getMaxTickLabelSize (const QFont &font, const QString &text, QSize *tickLabelsSize) const

Protected Attributes

QCustomPlotmParentPlot
QByteArray mLabelParameterHash
QCache< QString, CachedLabelmLabelCache
QRect mAxisSelectionBox
QRect mTickLabelsSelectionBox
QRect mLabelSelectionBox

Constructor & Destructor Documentation

◆ QCPAxisPainterPrivate()

QCPAxisPainterPrivate::QCPAxisPainterPrivate ( QCustomPlot * parentPlot)
explicit

Constructs a QCPAxisPainterPrivate instance. Make sure to not create a new instance on every redraw, to utilize the caching mechanisms.


The documentation for this class was generated from the following files: