libFourierComponent 2.0(r200)
Fourier Widget
Signals | Public Member Functions

FourierWindowInterface Class Reference

Interface for Fourier window functions (like Hamming, Blackman-Harris...) More...

#include <FourierWindowInterface.h>

Inheritance diagram for FourierWindowInterface:

List of all members.

Signals

void windowParamsChanged ()

Public Member Functions

 FourierWindowInterface (QObject *parent=0)
virtual ~FourierWindowInterface ()
virtual QString getWindowName () const =0
virtual QWidget * getWindowControls (QWidget *parent) const =0
virtual QVector< qreal > applyWindowFunction (const QVector< qreal > &data) const =0
virtual void appendToDomNode (QDomElement &node) const =0
 Appends this object's current state to the passed DOM node.
virtual void initializeFromDomNode (const QDomElement &node)=0
 Initializes this object's current state from the passed DOM node.

Detailed Description

Interface for Fourier window functions (like Hamming, Blackman-Harris...)

Author:
Matthias Nagl <mnagl@uni-goettingen.de>
Warning:
The implementations of this interface expect unmirrored datasets! This class provides a standard interface to window functions. It supplys the window name (for use in the selection widget) and a QWidget containing controls (if available) for the window algorithm. The windowParamsChanged() must be connected to SpectraPac's computeFourierSpectrum() slot! Subclasses must emit windowParamsChanged() if any parameter that changes the window behaviour is changed. It is not emitted if the user selects another window (in this case the selection-slot in SpectraPac.h cares for the update).

Constructor & Destructor Documentation

FourierWindowInterface::FourierWindowInterface ( QObject *  parent = 0) [inline]
virtual FourierWindowInterface::~FourierWindowInterface ( ) [inline, virtual]

Member Function Documentation

virtual void FourierWindowInterface::appendToDomNode ( QDomElement &  node) const [pure virtual]

Appends this object's current state to the passed DOM node.

This method expects the parent element where it shall append this object's information as a parameter

Implemented in FourierWindowBlackman, FourierWindowHamming, FourierWindowHann, FourierWindowKaiser, and FourierWindowSquare.

virtual QVector<qreal> FourierWindowInterface::applyWindowFunction ( const QVector< qreal > &  data) const [pure virtual]
virtual QWidget* FourierWindowInterface::getWindowControls ( QWidget *  parent) const [pure virtual]
virtual QString FourierWindowInterface::getWindowName ( ) const [pure virtual]
virtual void FourierWindowInterface::initializeFromDomNode ( const QDomElement &  node) [pure virtual]

Initializes this object's current state from the passed DOM node.

This method expects the parent element where it shall read this object's information from as a parameter

Implemented in FourierWindowBlackman, FourierWindowHamming, FourierWindowHann, FourierWindowKaiser, and FourierWindowSquare.

void FourierWindowInterface::windowParamsChanged ( ) [signal]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Friends Defines