gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
RealFFT Class Reference

class RealFFT controls fftw plans and executes fwd/inv transforms More...

#include <RealFFT.H>

Collaboration diagram for RealFFT:
[legend]

Public Member Functions

 RealFFT (void)
 fft init ... don't forget to associate data using switchData More...
 
 RealFFT (RealFFTData *d)
 
virtual ~RealFFT (void)
 fft deconstructor More...
 
void switchData (RealFFTData *d)
 Use this to change associated fft data (for fft'ing) More...
 
void switchData (RealFFTData &d)
 Use this to change associated fft data (for fft'ing) More...
 
void fwdTransform ()
 Forward transform the data (in to out) More...
 
void invTransform ()
 Inverse transform the data (out to in) More...
 

Protected Attributes

RealFFTDatadata
 The pointer to the relevant data. More...
 

Private Member Functions

void createPlan (void)
 Method to create the plans. More...
 
void destroyPlan (void)
 Method to destroy the plans. More...
 

Private Attributes

fftw_plan fwdPlan
 The fwd/inv plans. More...
 
fftw_plan invPlan
 

Detailed Description

class RealFFT controls fftw plans and executes fwd/inv transforms

Examples:
AudioMaskerExample.C, and RealFFTExample.C.

Definition at line 24 of file RealFFT.H.

Constructor & Destructor Documentation

◆ RealFFT() [1/2]

RealFFT::RealFFT ( void  )

fft init ... don't forget to associate data using switchData

Definition at line 34 of file RealFFT.C.

Here is the call graph for this function:

◆ RealFFT() [2/2]

RealFFT::RealFFT ( RealFFTData d)

fft init ... data pointed to by 'd'

Parameters
dThe data to use.,

Definition at line 39 of file RealFFT.C.

Here is the call graph for this function:

◆ ~RealFFT()

RealFFT::~RealFFT ( void  )
virtual

fft deconstructor

Definition at line 45 of file RealFFT.C.

Here is the call graph for this function:

Member Function Documentation

◆ createPlan()

void RealFFT::createPlan ( void  )
private

Method to create the plans.

Definition at line 19 of file RealFFT.C.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ destroyPlan()

void RealFFT::destroyPlan ( void  )
private

Method to destroy the plans.

Definition at line 27 of file RealFFT.C.

Here is the caller graph for this function:

◆ fwdTransform()

void RealFFT::fwdTransform ( )

Forward transform the data (in to out)

Examples:
AudioMaskerExample.C, and RealFFTExample.C.

Definition at line 59 of file RealFFT.C.

Here is the caller graph for this function:

◆ invTransform()

void RealFFT::invTransform ( )

Inverse transform the data (out to in)

Examples:
RealFFTExample.C.

Definition at line 66 of file RealFFT.C.

Here is the call graph for this function:

◆ switchData() [1/2]

void RealFFT::switchData ( RealFFTData d)

Use this to change associated fft data (for fft'ing)

Definition at line 49 of file RealFFT.C.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ switchData() [2/2]

void RealFFT::switchData ( RealFFTData d)

Use this to change associated fft data (for fft'ing)

Definition at line 55 of file RealFFT.C.

Here is the call graph for this function:

Member Data Documentation

◆ data

RealFFTData* RealFFT::data
protected

The pointer to the relevant data.

Definition at line 36 of file RealFFT.H.

◆ fwdPlan

fftw_plan RealFFT::fwdPlan
private

The fwd/inv plans.

Definition at line 26 of file RealFFT.H.

◆ invPlan

fftw_plan RealFFT::invPlan
private

Definition at line 26 of file RealFFT.H.


The documentation for this class was generated from the following files:
gtkIOStream: RealFFT Class Reference
GTK+ IOStream  Beta