#include <data_viewer_panel_base.hh>
Inherits QWidget, and DataObserver.
Inherited by DataViewerPanel, and FFTPanel.
Definition at line 56 of file data_viewer_panel_base.hh.
◆ DataViewerPanelBase()
◆ ~DataViewerPanelBase()
◆ center
◆ clicked
◆ ClickedPositionIsVisible()
bool ClickedPositionIsVisible |
( |
| ) |
|
◆ deselected
◆ Extract()
◆ FracPointToWin()
QPoint FracPointToWin |
( |
const geom::Vec2 & |
p | ) |
const |
convert fractional image point to window coordinates (top left corner of point)
◆ FracPointToWinCenter()
QPoint FracPointToWinCenter |
( |
const geom::Vec2 & |
p | ) |
const |
convert fractional image point to window coordinates (center of point)
◆ GetAntialiasing()
bool GetAntialiasing |
( |
| ) |
const |
◆ GetClickedPosition()
◆ GetColorMode()
◆ GetDataMax()
Real GetDataMax |
( |
| ) |
const |
◆ GetDataMin()
Real GetDataMin |
( |
| ) |
const |
◆ GetDisplayPixelValues()
bool GetDisplayPixelValues |
( |
| ) |
|
|
inline |
◆ GetExtent()
retrieve the extent of the image
◆ GetFastHighMagnificationDrawing()
bool GetFastHighMagnificationDrawing |
( |
| ) |
|
◆ GetFastLowMagnificationDrawing()
bool GetFastLowMagnificationDrawing |
( |
| ) |
|
◆ GetGamma()
◆ GetInvert()
◆ GetMousePosition()
◆ GetNormalizer()
retrieve ptr to internal normalizer
◆ GetOffset()
◆ GetPixelSampling()
retrieve the pixel sampling of the image
◆ GetSelection()
return currently active selection
if no selection is present, return Extent()
◆ GetSelectionMode()
◆ GetSlab()
◆ GetViewerMax()
Real GetViewerMax |
( |
| ) |
const |
◆ GetViewerMin()
Real GetViewerMin |
( |
| ) |
const |
◆ GetZoomScale()
Real GetZoomScale |
( |
| ) |
const |
◆ HasSelection()
◆ HideClickedPosition()
void HideClickedPosition |
( |
| ) |
|
◆ IsWithin()
bool IsWithin |
( |
const QPoint & |
p | ) |
const |
checks if given point is visible in current panel
◆ keyPressEvent()
virtual void keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
virtual |
◆ mouseMoveEvent()
virtual void mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
virtual |
◆ mousePressEvent()
virtual void mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
virtual |
◆ mouseReleaseEvent()
virtual void mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
virtual |
◆ MoveTo()
◆ normalize
◆ ObserverRelease()
virtual void ObserverRelease |
( |
| ) |
|
|
virtual |
Called if data is released from memory.
Implements DataObserver.
◆ ObserverUpdate() [1/3]
virtual void ObserverUpdate |
( |
| ) |
|
|
virtual |
called upon data change, noop by default
Reimplemented from DataObserver.
Reimplemented in FFTPanel.
◆ ObserverUpdate() [2/3]
virtual void ObserverUpdate |
( |
const Extent & |
| ) |
|
|
virtual |
◆ ObserverUpdate() [3/3]
virtual void ObserverUpdate |
( |
const Point & |
| ) |
|
|
virtual |
◆ paintEvent()
virtual void paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
virtual |
◆ PointToWin()
QPoint PointToWin |
( |
const Point & |
p | ) |
const |
convert image point to window coordinates
◆ Recenter()
re-center with spatial origin in the middle of the window
◆ released
◆ Renormalize()
do a renormalization with the current normalizer
◆ resizeEvent()
virtual void resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
virtual |
◆ selected
void selected |
( |
const Extent & |
selection | ) |
|
|
signal |
◆ SetAntialiasing()
void SetAntialiasing |
( |
bool |
f | ) |
|
◆ SetColorMode()
set coloring mode to either greyscale or phasecolor
◆ SetCursor() [1/2]
void SetCursor |
( |
const QCursor & |
c | ) |
|
◆ SetCursor() [2/2]
◆ SetData()
◆ SetDefaultCursor() [1/2]
void SetDefaultCursor |
( |
const QCursor & |
c | ) |
|
◆ SetDefaultCursor() [2/2]
void SetDefaultCursor |
( |
int |
id | ) |
|
◆ SetDisplayPixelValues()
void SetDisplayPixelValues |
( |
bool |
show | ) |
|
◆ SetFastHighMagnificationDrawing()
void SetFastHighMagnificationDrawing |
( |
bool |
flag | ) |
|
◆ SetFastLowMagnificationDrawing()
void SetFastLowMagnificationDrawing |
( |
bool |
flag | ) |
|
set/get fast drawing modes for low and high magnification
◆ SetGamma()
void SetGamma |
( |
Real |
gamma | ) |
|
◆ SetInvert()
void SetInvert |
( |
bool |
invert | ) |
|
◆ SetOffset()
◆ SetSelection()
void SetSelection |
( |
const Extent & |
extent | ) |
|
set currently active selection
◆ SetSelectionMode()
void SetSelectionMode |
( |
int |
mode | ) |
|
◆ SetSlab()
◆ SetViewerMax()
void SetViewerMax |
( |
Real |
max | ) |
|
◆ SetViewerMin()
void SetViewerMin |
( |
Real |
min | ) |
|
◆ SetZoomScale()
void SetZoomScale |
( |
Real |
zoom | ) |
|
◆ ShowClickedPosition()
void ShowClickedPosition |
( |
bool |
show | ) |
|
◆ slab_center
◆ slab_end
◆ slab_minus
◆ slab_plus
◆ slab_start
◆ slabChanged
void slabChanged |
( |
int |
slab | ) |
|
|
signal |
◆ toggle_antialiasing
void toggle_antialiasing |
( |
| ) |
|
|
protectedslot |
◆ toggle_display_pixels
void toggle_display_pixels |
( |
| ) |
|
|
protectedslot |
◆ toggle_fast_high_mag
void toggle_fast_high_mag |
( |
| ) |
|
|
protectedslot |
◆ toggle_fast_low_mag
void toggle_fast_low_mag |
( |
| ) |
|
|
protectedslot |
◆ toggle_invert
◆ toggle_phase_color
void toggle_phase_color |
( |
| ) |
|
|
protectedslot |
◆ toggle_show_click_pos
void toggle_show_click_pos |
( |
| ) |
|
|
protectedslot |
◆ UpdateNormalizer()
void UpdateNormalizer |
( |
Real |
min, |
|
|
Real |
max, |
|
|
Real |
gamma, |
|
|
bool |
invert |
|
) |
| |
◆ UpdateView() [1/2]
void UpdateView |
( |
bool |
update_raster_image = true | ) |
|
◆ UpdateView() [2/2]
void UpdateView |
( |
const QRect & |
rect, |
|
|
bool |
update_raster_image = true |
|
) |
| |
◆ wheelEvent()
virtual void wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
virtual |
◆ WinToFracPoint() [1/2]
geom::Vec2 WinToFracPoint |
( |
const QPoint & |
p | ) |
const |
convert window coordinates to fractional image point
◆ WinToFracPoint() [2/2]
geom::Vec2 WinToFracPoint |
( |
int |
mx, |
|
|
int |
my |
|
) |
| const |
◆ WinToFracPointCenter() [1/2]
geom::Vec2 WinToFracPointCenter |
( |
const QPoint & |
p | ) |
const |
◆ WinToFracPointCenter() [2/2]
geom::Vec2 WinToFracPointCenter |
( |
int |
mx, |
|
|
int |
my |
|
) |
| const |
◆ WinToPoint() [1/2]
Point WinToPoint |
( |
const QPoint & |
p | ) |
const |
◆ WinToPoint() [2/2]
Point WinToPoint |
( |
int |
mx, |
|
|
int |
my |
|
) |
| const |
convert window coordinates to image point
◆ zoom_minus
◆ zoom_plus
◆ zoom_reset
◆ zoomed
void zoomed |
( |
int |
zoomlevel | ) |
|
|
signal |
◆ popupmenu_
The documentation for this class was generated from the following file: