25 #ifndef IMG_GUI_DATA_VIEWER_H
26 #define IMG_GUI_DATA_VIEWER_H
59 namespace img {
namespace gui {
62 class DataViewerPanel;
89 Extent GetSelection()
const;
92 void SetSelection(
const Extent& selection);
95 void SetName(
const String& name);
98 int AddOverlay(
const OverlayPtr& ov,
bool make_active=
true);
101 void ClearOverlays();
104 void ClearActiveOverlay();
110 virtual void OnPanelMouseEvent(QMouseEvent* e);
113 void SetAntialiasing(
bool f);
116 virtual bool eventFilter(QObject *
object, QEvent *event);
119 void SetSlab(
int slab);
124 void SetZoomScale(
Real zoomscale);
126 Real GetZoomScale()
const;
129 void SetViewerMin(
Real min);
131 Real GetViewerMin()
const;
134 void SetViewerMax(
Real max);
136 Real GetViewerMax()
const;
139 void SetGamma(
Real gamma);
141 Real GetGamma()
const;
144 void SetInvert(
bool invert);
146 bool GetInvert()
const;
153 QButtonGroup* GetButtonGroup(
void);
162 void OnSlabChange(
int slab);
163 void OnZoomChange(
int zoomlevel);
191 void show_current_window_menu(
void);
boost::shared_ptr< NormalizerImpl > NormalizerPtr
boost::shared_ptr< Overlay > OverlayPtr
#define DLLEXPORT_OST_GUI
Defines lower and upper valid indices.
Manage shared instances of images.
boost::shared_ptr< OverlayManager > OverlayManagerPtr