#include <data_viewer.hh>
Inherits ost::gui::MainWindow.
Public Slots | |
| void | UpdateView () |
| void | OnSlabChange (int slab) |
| void | OnZoomChange (int zoomlevel) |
Public Member Functions | |
| virtual | ~DataViewer () |
| void | SetData (const Data &data) |
| NormalizerPtr | GetNormalizer () const |
| void | Renormalize () |
| void | Recenter () |
| Extent | GetSelection () const |
| void | SetName (const String &name) |
| int | AddOverlay (const OverlayPtr &ov, bool make_active=true) |
| void | ClearOverlays () |
| OverlayManagerPtr | GetOverlayManager () const |
| virtual void | OnPanelMouseEvent (QMouseEvent *e) |
| void | SetAntialiasing (bool f) |
| virtual bool | eventFilter (QObject *object, QEvent *event) |
Protected Member Functions | |
| DataViewer (QWidget *p, const Data &data, const QString &name="") | |
Friends | |
| class | ost::gui::GostyApp |
Definition at line 60 of file data_viewer.hh.
| virtual ~DataViewer | ( | ) | [virtual] |
| DataViewer | ( | QWidget * | p, | |
| const Data & | data, | |||
| const QString & | name = "" | |||
| ) | [protected] |
initialize with data to view, plus a name
| int AddOverlay | ( | const OverlayPtr & | ov, | |
| bool | make_active = true | |||
| ) |
add a new overlay
| void ClearOverlays | ( | ) |
remove all overlays
| virtual bool eventFilter | ( | QObject * | object, | |
| QEvent * | event | |||
| ) | [virtual] |
event filter for DataViewerPanel
| NormalizerPtr GetNormalizer | ( | ) | const |
retrieve used normalizer
| OverlayManagerPtr GetOverlayManager | ( | ) | const |
return the overlay manager for this viewer
| Extent GetSelection | ( | ) | const |
return currently active selection
| virtual void OnPanelMouseEvent | ( | QMouseEvent * | e | ) | [virtual] |
internal use
| void OnSlabChange | ( | int | slab | ) | [slot] |
| void OnZoomChange | ( | int | zoomlevel | ) | [slot] |
| void Recenter | ( | ) |
| void Renormalize | ( | ) |
re-apply normalization using current normalizer
| void SetAntialiasing | ( | bool | f | ) |
enable/disable antialiasing
| void SetData | ( | const Data & | data | ) |
set new image or function to display
| void SetName | ( | const String & | name | ) |
set the name, displayed as the window title
| void UpdateView | ( | ) | [slot] |
update view
friend class ost::gui::GostyApp [friend] |
Definition at line 62 of file data_viewer.hh.
1.5.8