Classes | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes
rqt_multiplot::PlotCursor Class Reference

#include <PlotCursor.h>

List of all members.

Classes

struct  TrackedPoint

Signals

void activeChanged (bool active)
void currentPositionChanged (const QPointF &position)

Public Member Functions

bool arePointsTracked () const
void drawRubberBand (QPainter *painter) const
const QPointF & getCurrentPosition () const
bool hasMouseControl () const
 PlotCursor (QwtPlotCanvas *canvas)
void setActive (bool active, const QPointF &position=QPointF(0.0, 0.0))
void setCurrentPosition (const QPointF &position)
void setTrackPoints (bool track)
void update ()
 ~PlotCursor ()

Protected Member Functions

void begin ()
void drawTrackedPoints (QPainter *painter) const
bool end (bool ok=true)
bool eventFilter (QObject *object, QEvent *event)
QRect getTextRect (const QPointF &point, const QFont &font) const
void move (const QPoint &point)
QwtText trackerTextF (const QPointF &point) const
void updateDisplay ()
void updateTrackedPoints ()

Private Slots

void plotXAxisScaleDivChanged ()
void plotYAxisScaleDivChanged ()

Private Attributes

QPointF currentPosition_
bool mouseControl_
QVector< TrackedPointtrackedPoints_
bool trackPoints_

Detailed Description

Definition at line 31 of file PlotCursor.h.


Constructor & Destructor Documentation

rqt_multiplot::PlotCursor::PlotCursor ( QwtPlotCanvas *  canvas)

Definition at line 44 of file PlotCursor.cpp.

Definition at line 60 of file PlotCursor.cpp.


Member Function Documentation

void rqt_multiplot::PlotCursor::activeChanged ( bool  active) [signal]

Definition at line 115 of file PlotCursor.cpp.

void rqt_multiplot::PlotCursor::begin ( ) [protected]

Definition at line 212 of file PlotCursor.cpp.

void rqt_multiplot::PlotCursor::currentPositionChanged ( const QPointF &  position) [signal]
void rqt_multiplot::PlotCursor::drawRubberBand ( QPainter *  painter) const

Definition at line 196 of file PlotCursor.cpp.

void rqt_multiplot::PlotCursor::drawTrackedPoints ( QPainter *  painter) const [protected]

Definition at line 315 of file PlotCursor.cpp.

bool rqt_multiplot::PlotCursor::end ( bool  ok = true) [protected]

Definition at line 235 of file PlotCursor.cpp.

bool rqt_multiplot::PlotCursor::eventFilter ( QObject *  object,
QEvent *  event 
) [protected]

Definition at line 246 of file PlotCursor.cpp.

Definition at line 102 of file PlotCursor.cpp.

QRect rqt_multiplot::PlotCursor::getTextRect ( const QPointF &  point,
const QFont &  font 
) const [protected]

Definition at line 123 of file PlotCursor.cpp.

Definition at line 119 of file PlotCursor.cpp.

void rqt_multiplot::PlotCursor::move ( const QPoint &  point) [protected]

Definition at line 221 of file PlotCursor.cpp.

Definition at line 348 of file PlotCursor.cpp.

Definition at line 377 of file PlotCursor.cpp.

void rqt_multiplot::PlotCursor::setActive ( bool  active,
const QPointF &  position = QPointF(0.0, 0.0) 
)

Definition at line 67 of file PlotCursor.cpp.

void rqt_multiplot::PlotCursor::setCurrentPosition ( const QPointF &  position)

Definition at line 89 of file PlotCursor.cpp.

Definition at line 106 of file PlotCursor.cpp.

QwtText rqt_multiplot::PlotCursor::trackerTextF ( const QPointF &  point) const [protected]

Definition at line 168 of file PlotCursor.cpp.

Definition at line 266 of file PlotCursor.cpp.

Definition at line 272 of file PlotCursor.cpp.


Member Data Documentation

Definition at line 76 of file PlotCursor.h.

Definition at line 80 of file PlotCursor.h.

Definition at line 77 of file PlotCursor.h.

Definition at line 79 of file PlotCursor.h.


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


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Thu Jun 6 2019 21:49:11