OpenStructure
|
#include <fft_panel.hh>
Inherits DataViewerPanelBase.
Public Slots | |
void | SetPosition (const Point &p) |
void | ShowSizeDialog () |
Public Member Functions | |
FFTPanel (const ImageHandle &parent_data, QWidget *parent) | |
virtual | ~FFTPanel () |
void | SetFFTSize (unsigned int size) |
unsigned int | GetFFTSize () |
virtual void | ObserverUpdate () |
virtual void | SetData (const ImageHandle &parent_data) |
Public Member Functions inherited from DataViewerPanelBase | |
DataViewerPanelBase (const ImageHandle &data, QWidget *parent) | |
virtual | ~DataViewerPanelBase () |
virtual void | paintEvent (QPaintEvent *event) |
virtual void | resizeEvent (QResizeEvent *event) |
virtual void | wheelEvent (QWheelEvent *event) |
virtual void | mousePressEvent (QMouseEvent *event) |
virtual void | mouseReleaseEvent (QMouseEvent *event) |
virtual void | mouseMoveEvent (QMouseEvent *event) |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | ObserverUpdate (const Extent &e) |
virtual void | ObserverUpdate (const Point &p) |
virtual void | ObserverRelease () |
void | UpdateView (bool update_raster_image=true) |
void | UpdateView (const QRect &rect, bool update_raster_image=true) |
ViewerNormalizerPtr | GetNormalizer () const |
void | Renormalize () |
Extent | GetSelection () const |
void | SetSelection (const Extent &extent) |
Point | WinToPoint (int mx, int my) const |
Point | WinToPoint (const QPoint &p) const |
geom::Vec2 | WinToFracPoint (const QPoint &p) const |
geom::Vec2 | WinToFracPoint (int mx, int my) const |
geom::Vec2 | WinToFracPointCenter (const QPoint &p) const |
geom::Vec2 | WinToFracPointCenter (int mx, int my) const |
QPoint | PointToWin (const Point &p) const |
QPoint | FracPointToWin (const geom::Vec2 &p) const |
QPoint | FracPointToWinCenter (const geom::Vec2 &p) const |
bool | IsWithin (const QPoint &p) const |
Real | GetZoomScale () const |
void | SetZoomScale (Real zoom) |
Extent | GetExtent () |
geom::Vec3 | GetPixelSampling () |
void | SetDefaultCursor (const QCursor &c) |
void | SetDefaultCursor (int id) |
void | SetCursor (const QCursor &c) |
void | SetCursor (int id) |
void | SetDisplayPixelValues (bool show) |
bool | GetDisplayPixelValues () |
void | Recenter () |
void | SetColorMode (RasterImage::Mode m) |
RasterImage::Mode | GetColorMode () |
void | SetFastLowMagnificationDrawing (bool flag) |
bool | GetFastLowMagnificationDrawing () |
void | SetFastHighMagnificationDrawing (bool flag) |
bool | GetFastHighMagnificationDrawing () |
geom::Vec2 | GetMousePosition () |
void | MoveTo (const geom::Vec2 &p) |
ImageHandle | Extract (const Extent &e) |
void | HideClickedPosition () |
void | ShowClickedPosition (bool show) |
bool | ClickedPositionIsVisible () |
bool | HasSelection () |
geom::Vec3 | GetClickedPosition () |
Real | GetDataMin () const |
Real | GetDataMax () const |
bool | GetInvert () const |
void | SetInvert (bool invert) |
Real | GetGamma () const |
void | SetGamma (Real gamma) |
void | SetViewerMin (Real min) |
Real | GetViewerMin () const |
void | SetViewerMax (Real max) |
Real | GetViewerMax () const |
void | UpdateNormalizer (Real min, Real max, Real gamma, bool invert) |
int | GetSlab () |
void | SetSlab (int slab) |
void | SetSelectionMode (int mode) |
int | GetSelectionMode () |
void | SetAntialiasing (bool f) |
bool | GetAntialiasing () const |
geom::Vec2 | GetOffset () const |
void | SetOffset (const geom::Vec2 &offset) |
Public Member Functions inherited from DataObserver | |
DataObserver (const ImageHandle &d) | |
DataObserver (const DataObserver &o) | |
DataObserver & | operator= (const DataObserver &o) |
virtual | ~DataObserver () |
void | ObserverInvalidate () |
virtual const ImageHandle & | GetObservedData () const |
bool | IsDataValid () const |
Protected Member Functions | |
void | update_fft () |
Protected Member Functions inherited from DataObserver | |
void | SetObservedData (const ImageHandle &d) |
bool | is_valid () const |
Protected Attributes | |
unsigned int | size_ |
Point | parent_position_ |
ImageHandle | fft_data_ |
ParentDataObserver | parent_observer_ |
Protected Attributes inherited from DataViewerPanelBase | |
QMenu * | popupmenu_ |
Additional Inherited Members | |
Signals inherited from DataViewerPanelBase | |
void | clicked (const geom::Vec3 &mousepos) |
void | zoomed (int zoomlevel) |
void | selected (const Extent &selection) |
void | deselected () |
void | slabChanged (int slab) |
void | released (void) |
Protected Slots inherited from DataViewerPanelBase | |
void | toggle_phase_color () |
void | normalize () |
void | center () |
void | toggle_invert () |
void | toggle_display_pixels () |
void | toggle_show_click_pos () |
void | zoom_plus () |
void | zoom_minus () |
void | zoom_reset () |
void | slab_plus () |
void | slab_minus () |
void | slab_start () |
void | slab_end () |
void | slab_center () |
void | toggle_fast_low_mag () |
void | toggle_fast_high_mag () |
void | toggle_antialiasing () |
Definition at line 47 of file fft_panel.hh.
FFTPanel | ( | const ImageHandle & | parent_data, |
QWidget * | parent | ||
) |
|
virtual |
unsigned int GetFFTSize | ( | ) |
|
virtual |
called upon data change, noop by default
Reimplemented from DataViewerPanelBase.
|
virtual |
Reimplemented from DataViewerPanelBase.
void SetFFTSize | ( | unsigned int | size | ) |
|
slot |
|
slot |
|
protected |
|
protected |
Definition at line 67 of file fft_panel.hh.
|
protected |
Definition at line 68 of file fft_panel.hh.
|
protected |
Definition at line 66 of file fft_panel.hh.
|
protected |
Definition at line 65 of file fft_panel.hh.