Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

vuFourierVolume_IO< S > Class Template Reference

#include <vuFourierVolume_IO.h>

Inheritance diagram for vuFourierVolume_IO< S >:

Inheritance graph
[legend]
Collaboration diagram for vuFourierVolume_IO< S >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~vuFourierVolume_IO ()
bool scaleAndWriteToFourierFile (const char *fileName, float scale)
 returns a scaled frequency volume
bool preprocessSpatialInput (byte *data, dword XSize, dword YSize, dword ZSize, float s=1.0, float mult_pad=M_SQRT2, dword add_pad=0, bool doWrapAndInit=true)
 reads the spatial domain volume data with size XSize, YSize, ZSize and transforms it into an fourier volume
void preprocess ()

Static Public Member Functions

void transform3D (float *data, dword xx, dword yy, dword zz)
void inverseTransform3D (float *vol, dword xx, dword yy, dword zz)
void shift3D (float *data, dword XSize, dword YSize, dword ZSize)
floatpad (float *v, dword n)
void readSpatial (byte *in, float *out, dword XX, dword YY, dword ZZ, dword XXsmall, dword YYsmall, dword ZZsmall)
bool getSpatialDataFromVUF (byte *&volume, dword &XSize, dword &YSize, dword &ZSize, float scale, vuString fileName)
void padFourier (float *in, float *out, dword XX, dword YY, dword ZZ, dword XXsmall, dword YYsmall, dword ZZsmall)

template<int S>
class vuFourierVolume_IO< S >


Constructor & Destructor Documentation

template<int S>
virtual vuFourierVolume_IO< S >::~vuFourierVolume_IO  )  [inline, virtual]
 

Definition at line 21 of file vuFourierVolume_IO.h.


Member Function Documentation

template<int S>
bool vuFourierVolume_IO< S >::getSpatialDataFromVUF byte *&  volume,
dword XSize,
dword YSize,
dword ZSize,
float  scale,
vuString  fileName
[static]
 

Definition at line 234 of file vuFourierVolume_IO.cpp.

References byte, CHECKNDELETE, dword, vuFourierVolume_IO< S >::inverseTransform3D(), vuString::isEmpty(), vu1712< SIZE >::readData(), and vu1712< SIZE >::readHeader().

Referenced by vu1112119::convertVUF2VUD().

Here is the call graph for this function:

template<int S>
void vuFourierVolume_IO< S >::inverseTransform3D float vol,
dword  xx,
dword  yy,
dword  zz
[static]
 

Definition at line 80 of file vuFourierVolume_IO.cpp.

References fftw3d_create_plan(), FFTW_BACKWARD, FFTW_ESTIMATE, FFTW_IN_PLACE, FFTW_USE_WISDOM, fftwnd(), fftwnd_destroy_plan(), fftwnd_plan, and NULL.

Referenced by vuFourierVolume_IO< S >::getSpatialDataFromVUF().

Here is the call graph for this function:

template<int S>
float * vuFourierVolume_IO< S >::pad float v,
dword  n
[static]
 

Definition at line 193 of file vuFourierVolume_IO.cpp.

References dword.

Referenced by vuFourierVolume_IO< S >::padFourier(), and vuFourierVolume_IO< S >::readSpatial().

template<int S>
void vuFourierVolume_IO< S >::padFourier float in,
float out,
dword  XX,
dword  YY,
dword  ZZ,
dword  XXsmall,
dword  YYsmall,
dword  ZZsmall
[static]
 

Definition at line 200 of file vuFourierVolume_IO.cpp.

References dword, and vuFourierVolume_IO< S >::pad().

Referenced by vuFourierVolume_IO< S >::preprocessSpatialInput().

Here is the call graph for this function:

template<int S>
void vuFourierVolume_IO< S >::preprocess  ) 
 

Definition at line 49 of file vuFourierVolume_IO.cpp.

References vuFourierVolume_IO< S >::shift3D(), and vuFourierVolume_IO< S >::transform3D().

Referenced by vuFourierVolume_IO< S >::preprocessSpatialInput().

Here is the call graph for this function:

template<int S>
bool vuFourierVolume_IO< S >::preprocessSpatialInput byte data,
dword  XSize,
dword  YSize,
dword  ZSize,
float  s = 1.0,
float  mult_pad = M_SQRT2,
dword  add_pad = 0,
bool  doWrapAndInit = true
 

reads the spatial domain volume data with size XSize, YSize, ZSize and transforms it into an fourier volume

Definition at line 7 of file vuFourierVolume_IO.cpp.

References CHECKNDELETE, vuFourierVolume< S >::computeDimensions(), data, dword, MAX_FILTER_SIZE, vuFourierVolume_IO< S >::padFourier(), vuFourierVolume_IO< S >::preprocess(), vuFourierVolume_IO< S >::readSpatial(), vuFourierVolume< S >::setWrap(), and vuFourierVolume< S >::wrapAndInitialize().

Referenced by vu1112119::convertVUD2VUF().

Here is the call graph for this function:

template<int S>
void vuFourierVolume_IO< S >::readSpatial byte in,
float out,
dword  XX,
dword  YY,
dword  ZZ,
dword  XXsmall,
dword  YYsmall,
dword  ZZsmall
[static]
 

Definition at line 158 of file vuFourierVolume_IO.cpp.

References byte, dword, and vuFourierVolume_IO< S >::pad().

Referenced by vuFourierVolume_IO< S >::preprocessSpatialInput().

Here is the call graph for this function:

template<int S>
bool vuFourierVolume_IO< S >::scaleAndWriteToFourierFile const char *  fileName,
float  scale
 

returns a scaled frequency volume

Definition at line 128 of file vuFourierVolume_IO.cpp.

References dword, vu1712< SIZE >::writeData(), and vu1712< SIZE >::writeHeader().

Referenced by vu1112119::convertVUD2VUF().

Here is the call graph for this function:

template<int S>
void vuFourierVolume_IO< S >::shift3D float data,
dword  XSize,
dword  YSize,
dword  ZSize
[static]
 

Definition at line 94 of file vuFourierVolume_IO.cpp.

References data, and dword.

Referenced by vuFourierVolume_IO< S >::preprocess().

template<int S>
void vuFourierVolume_IO< S >::transform3D float data,
dword  xx,
dword  yy,
dword  zz
[static]
 

Definition at line 63 of file vuFourierVolume_IO.cpp.

References dword, fftw3d_create_plan(), FFTW_ESTIMATE, FFTW_FORWARD, FFTW_IN_PLACE, FFTW_USE_WISDOM, fftwnd(), fftwnd_destroy_plan(), fftwnd_plan, and NULL.

Referenced by vuFourierVolume_IO< S >::preprocess().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Wed Dec 15 21:21:16 2004 for vuVolume by  doxygen 1.3.9.1