#include <pointlist_overlay_base.hh>
Inherits ost::img::gui::Overlay.
Inherited by PointlistOverlay.
Public Member Functions | |
| PointlistOverlayBase (const String &name) | |
| virtual void | OnDraw (QPainter &pnt, DataViewerPanel *dvp, bool is_active) |
| virtual void | OnMenuEvent (QAction *e) |
| virtual QMenu * | GetMenu () |
| virtual void | DrawPointList (QPainter &pnt, DataViewerPanel *dvp, const QColor &col, const std::vector< QPoint > &pointlist) |
| virtual void | DrawVariableSizePointList (QPainter &pnt, DataViewerPanel *dvp, const QColor &col, const std::vector< std::pair< QPoint, double > > &pointlist) |
| unsigned int | GetSymbolSize () const |
| void | SetSymbolSize (unsigned int symbolsize) |
| unsigned int | GetSymbolShape () const |
| void | SetSymbolShape (unsigned int symbolshape) |
| bool | GetCrosshair () const |
| void | SetCrosshair (bool flag) |
| void | SetActiveColor (const QColor &col) |
| void | SetPassiveColor (const QColor &col) |
Protected Member Functions | |
| void | SetProps (PointlistOverlayBaseSettings *props) |
Protected Attributes | |
| SymbolDrawingStrategyPtr | strategy_ |
| QColor | active_color_ |
| QColor | passive_color_ |
| unsigned int | symbolsize_ |
| unsigned int | symbolstrength_ |
| QMenu * | menu_ |
| QAction * | a_sq_ |
| QAction * | a_ci_ |
| QAction * | a_cr_ |
| QAction * | a_settings_ |
Definition at line 75 of file pointlist_overlay_base.hh.
| PointlistOverlayBase | ( | const String & | name | ) |
| virtual void DrawPointList | ( | QPainter & | pnt, | |
| DataViewerPanel * | dvp, | |||
| const QColor & | col, | |||
| const std::vector< QPoint > & | pointlist | |||
| ) | [virtual] |
| virtual void DrawVariableSizePointList | ( | QPainter & | pnt, | |
| DataViewerPanel * | dvp, | |||
| const QColor & | col, | |||
| const std::vector< std::pair< QPoint, double > > & | pointlist | |||
| ) | [virtual] |
| bool GetCrosshair | ( | ) | const |
| virtual QMenu* GetMenu | ( | ) | [virtual] |
| unsigned int GetSymbolShape | ( | ) | const |
| unsigned int GetSymbolSize | ( | ) | const |
| virtual void OnDraw | ( | QPainter & | pnt, | |
| DataViewerPanel * | dvp, | |||
| bool | is_active | |||
| ) | [inline, virtual] |
call when redrawing is necessary
params: the drawing context, the parent data viewer, as well as a flag to indicate wether this overlay is currently active
Reimplemented from Overlay.
Reimplemented in PointlistOverlay.
Definition at line 82 of file pointlist_overlay_base.hh.
| virtual void OnMenuEvent | ( | QAction * | e | ) | [virtual] |
| void SetActiveColor | ( | const QColor & | col | ) |
| void SetCrosshair | ( | bool | flag | ) |
| void SetPassiveColor | ( | const QColor & | col | ) |
| void SetProps | ( | PointlistOverlayBaseSettings * | props | ) | [protected] |
| void SetSymbolShape | ( | unsigned int | symbolshape | ) |
| void SetSymbolSize | ( | unsigned int | symbolsize | ) |
QAction* a_ci_ [protected] |
Definition at line 113 of file pointlist_overlay_base.hh.
QAction* a_cr_ [protected] |
Definition at line 114 of file pointlist_overlay_base.hh.
QAction* a_settings_ [protected] |
Definition at line 115 of file pointlist_overlay_base.hh.
QAction* a_sq_ [protected] |
Definition at line 112 of file pointlist_overlay_base.hh.
QColor active_color_ [protected] |
Definition at line 106 of file pointlist_overlay_base.hh.
QMenu* menu_ [protected] |
Definition at line 110 of file pointlist_overlay_base.hh.
QColor passive_color_ [protected] |
Definition at line 107 of file pointlist_overlay_base.hh.
SymbolDrawingStrategyPtr strategy_ [protected] |
Definition at line 105 of file pointlist_overlay_base.hh.
unsigned int symbolsize_ [protected] |
Definition at line 108 of file pointlist_overlay_base.hh.
unsigned int symbolstrength_ [protected] |
Definition at line 109 of file pointlist_overlay_base.hh.
1.5.8