UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Protected Attributes | List of all members
CDFT2D Class Referenceabstract

#include <cdft2d.hpp>

Inheritance diagram for CDFT2D:
CDFT2D_DCF CDFT2D_FFTW CDFT2D_FFTW_Thrds

Public Types

enum  NormType { DINORM = 0, INORM, NONORM }
 

Public Member Functions

 CDFT2D (int direction=1)
 
bool operator() (WaveField &tReal, WaveField &tIm) const
 
virtual bool calc (WaveField &tReal, WaveField &tIm) const =0
 
void setDirection (int direction)
 
int getDirection () const
 
void setNormType (NormType norm_type)
 
NormType getNormType () const
 

Protected Attributes

int m_direction
 
NormType m_norm_type
 

Detailed Description

Complex 2D discrete Fourier transformation interface

Member Enumeration Documentation

Type of norm.

Enumerator
DINORM 

Direct and inverse 1/sqrt(N) multiplication.

INORM 

Only inverse 1/N multiplication.

NONORM 

Without normalizing.

Constructor & Destructor Documentation

CDFT2D::CDFT2D ( int  direction = 1)

Default constructor with direction provided. 1 - Direct transform, -1 - inverse transform

Member Function Documentation

virtual bool CDFT2D::calc ( WaveField tReal,
WaveField tIm 
) const
pure virtual

Calculates Fourier transformation for real and image data provided

Implemented in CDFT2D_FFTW, and CDFT2D_DCF.

int CDFT2D::getDirection ( ) const
inline

Get current transormation direction

bool CDFT2D::operator() ( WaveField tReal,
WaveField tIm 
) const
inline

Calculates Fourier transformation for real and image data provided

void CDFT2D::setDirection ( int  direction)
inline

Available values are 1 (direct) and -1 (inverse) FFT

Member Data Documentation

int CDFT2D::m_direction
protected

Transformation direction


The documentation for this class was generated from the following file: