Classes | Public Member Functions | Protected Member Functions | Protected Attributes

GenericTransformND Class Reference

Lets any 1D orthogonal transform (GenericTransformND::GenericTransform1D) be extended to ND. Most transform fftw can be implemented as a subclass of GenericTransformND. More...

Inheritance diagram for GenericTransformND:
SequentialTask Task NamedObject CallBacker CosineTransform DWT Fourier::CC

List of all members.

Classes

class  Transform1D

Public Member Functions

 GenericTransformND ()
bool setInputInfo (const ArrayNDInfo &)
const ArrayNDInfogetInputInfo () const
void setInput (const float *)
void setInput (const float_complex *)
void setOutput (float *)
void setOutput (float_complex *)
void setSampling (int)
void setScope (int nr, int batchsampling)
void setScope (int nr, const int *batchstarts)
bool setDir (bool forward)
bool getDir () const
bool run (bool parallel)
 ~GenericTransformND ()

Protected Member Functions

virtual bool setup ()
int nextStep ()
virtual Transform1DcreateTransform () const =0

Protected Attributes

ObjectSet< Transform1Dtransforms_
ObjectSet< int > transforms1dstarts_
TypeSet< int > nr1dtransforms_
bool forward_
int sampling_
int batchsampling_
const int * batchstarts_
int nr_
ArrayNDInfoinfo_
int curdim_
bool parallel_
const float_complex * cinput_
const float * rinput_
float_complex * coutput_
float * routput_

Detailed Description

Lets any 1D orthogonal transform (GenericTransformND::GenericTransform1D) be extended to ND. Most transform fftw can be implemented as a subclass of GenericTransformND.


Constructor & Destructor Documentation

GenericTransformND::GenericTransformND (  ) 
GenericTransformND::~GenericTransformND (  ) 

Member Function Documentation

virtual Transform1D* GenericTransformND::createTransform (  )  const [protected, pure virtual]

Implemented in CosineTransform, Fourier::CC, and DWT.

bool GenericTransformND::getDir (  )  const [inline]
const ArrayNDInfo& GenericTransformND::getInputInfo (  )  const
int GenericTransformND::nextStep (  )  [protected, virtual]

Implements SequentialTask.

bool GenericTransformND::run ( bool  parallel  ) 
bool GenericTransformND::setDir ( bool  forward  ) 
void GenericTransformND::setInput ( const float_complex *   ) 
void GenericTransformND::setInput ( const float *   ) 
bool GenericTransformND::setInputInfo ( const ArrayNDInfo  ) 
void GenericTransformND::setOutput ( float *   ) 
void GenericTransformND::setOutput ( float_complex *   ) 
void GenericTransformND::setSampling ( int   ) 
void GenericTransformND::setScope ( int  nr,
int  batchsampling 
)
Parameters:
nr number of signals
batchsampling number of samples between signal starts.
void GenericTransformND::setScope ( int  nr,
const int *  batchstarts 
)
Parameters:
nr number of signals
batchstarts pointer to array with the indices of the signal starts.
virtual bool GenericTransformND::setup (  )  [protected, virtual]

Reimplemented in Fourier::CC, and DWT.


Member Data Documentation

const int* GenericTransformND::batchstarts_ [protected]
const float_complex* GenericTransformND::cinput_ [protected]
float_complex* GenericTransformND::coutput_ [protected]
int GenericTransformND::curdim_ [protected]
bool GenericTransformND::forward_ [protected]
int GenericTransformND::nr_ [protected]
const float* GenericTransformND::rinput_ [protected]
float* GenericTransformND::routput_ [protected]