FilterPlotScene
Namespace: DISPLIB · Library: Display Library
#include <disp/filterplotscene.h>
class DISPLIB::FilterPlotScene
QGraphicsScene rendering the magnitude (and optional phase) response of a designed FIR / IIR filter.
Used by FilterDesignView to preview the currently designed filter; re-renders itself every time the host view edits a kernel parameter.
Inheritance
Public Methods
FilterPlotScene(view, parent)
Constructs a FilterPlotScene dialog which is a child of parent.
Parameters:
- parent : *QObject **
pointer to parent widget; If parent is 0, the new
FilterPlotScenebecomes a window. If parent is another widget,FilterPlotScenebecomes a child window inside parent.FilterPlotSceneis deleted when its parent is deleted.
updateFilter(operatorFilter, samplingFreq, cutOffLow, cutOffHigh)
Updates the current filter.
Parameters:
-
operatorFilter : const FilterKernel & pointer to the current filter operator which is to be plotted.
-
samplingFreq : int holds the current sampling frequency.
-
cutOffLow : int cut off frequqency lowpass or lower cut off when filter is a bandpass.
-
cutOffHigh : int cut off frequqency highpass or higher cut off when filter is a bandpass.
Authors of this file
- Lorenz Esch <lorenz.esch@tu-ilmenau.de>
- Juan GPC <jgarciaprieto@mgh.harvard.edu>
- Gabriel Motta <gabrielbenmotta@gmail.com>
- Christoph Dinh <christoph.dinh@mne-cpp.org>