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

SpecFVR/FFT.cpp File Reference

#include "Transform.h"
#include <stdio.h>
#include <iostream>
#include <fftw.h>

Include dependency graph for SpecFVR/FFT.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  SpecFVRNS

Defines

#define WISDOM   "fvr_fftw.wis"

Functions

void initTransforms (void)
void destroyTransforms (void)
void initTransform2D (dword XSize, dword YSize)
void transform2D (float *x)
void destroyTransform2D (void)
void initTransform3D (dword XSize, dword YSize, dword ZSize)
void transform3D (float *x)
void destroyTransform3D (void)
void shift3D (float *x, dword XSize, dword YSize, dword ZSize)
void shift2D (float *x, dword XSize, dword YSize)
void shift_copy2D (float *dest, float *src, dword XSize, dword YSize)

Variables

fftwnd_plan g_plan_2D
bool g_plan_exists = false
dword g_x3d
dword g_y3d
dword g_z3d


Define Documentation

#define WISDOM   "fvr_fftw.wis"
 

Definition at line 11 of file SpecFVR/FFT.cpp.


Function Documentation

void SpecFVRNS::destroyTransform2D void   ) 
 

Definition at line 56 of file SpecFVR/FFT.cpp.

References fftwnd_destroy_plan(), SpecFVRNS::g_plan_2D, and SpecFVRNS::g_plan_exists.

Referenced by Volume::~Volume().

Here is the call graph for this function:

void SpecFVRNS::destroyTransform3D void   ) 
 

Definition at line 83 of file SpecFVR/FFT.cpp.

References SpecFVRNS::g_x3d, SpecFVRNS::g_y3d, and SpecFVRNS::g_z3d.

Referenced by Volume::preprocess().

void SpecFVRNS::destroyTransforms void   ) 
 

Definition at line 31 of file SpecFVR/FFT.cpp.

References fftw_export_wisdom_to_file(), and WISDOM.

Referenced by Volume::~Volume().

Here is the call graph for this function:

void SpecFVRNS::initTransform2D dword  XSize,
dword  YSize
 

Definition at line 42 of file SpecFVR/FFT.cpp.

References fftw2d_create_plan(), FFTW_BACKWARD, FFTW_IN_PLACE, FFTW_MEASURE, FFTW_USE_WISDOM, SpecFVRNS::g_plan_2D, and SpecFVRNS::g_plan_exists.

Referenced by vu1112117::_init(), and Volume::convert().

Here is the call graph for this function:

void SpecFVRNS::initTransform3D dword  XSize,
dword  YSize,
dword  ZSize
 

Definition at line 64 of file SpecFVR/FFT.cpp.

References SpecFVRNS::g_x3d, SpecFVRNS::g_y3d, and SpecFVRNS::g_z3d.

Referenced by Volume::preprocess(), vu1112117::preprocess(), and realTrans().

void SpecFVRNS::initTransforms void   ) 
 

Definition at line 19 of file SpecFVR/FFT.cpp.

References fftw_import_wisdom_from_file(), and WISDOM.

Referenced by Volume::Volume().

Here is the call graph for this function:

void SpecFVRNS::shift2D float x,
dword  XSize,
dword  YSize
 

Definition at line 130 of file SpecFVR/FFT.cpp.

References dword.

Referenced by Volume::computeSlice(), and vu1112117::drawImageFromSlices().

void SpecFVRNS::shift3D float x,
dword  XSize,
dword  YSize,
dword  ZSize
 

Definition at line 90 of file SpecFVR/FFT.cpp.

References dword.

Referenced by FVR_NS::doStuff(), Volume::preprocess(), vu1112117::preprocess(), and realTrans().

void SpecFVRNS::shift_copy2D float dest,
float src,
dword  XSize,
dword  YSize
 

Definition at line 153 of file SpecFVR/FFT.cpp.

References dword.

Referenced by Volume::computeSlice().

void SpecFVRNS::transform2D float x  ) 
 

Definition at line 49 of file SpecFVR/FFT.cpp.

References fftwnd_one(), and SpecFVRNS::g_plan_2D.

Referenced by Volume::computeSlice(), and vu1112117::drawImageFromSlices().

Here is the call graph for this function:

void SpecFVRNS::transform3D float x  ) 
 

Definition at line 71 of file SpecFVR/FFT.cpp.

References dword, fftw3d_create_plan(), FFTW_ESTIMATE, FFTW_FORWARD, FFTW_IN_PLACE, FFTW_USE_WISDOM, fftwnd_destroy_plan(), fftwnd_one(), fftwnd_plan, SpecFVRNS::g_x3d, SpecFVRNS::g_y3d, SpecFVRNS::g_z3d, and NULL.

Referenced by Volume::preprocess(), vu1112117::preprocess(), and realTrans().

Here is the call graph for this function:


Variable Documentation

fftwnd_plan SpecFVRNS::g_plan_2D [static]
 

Definition at line 13 of file SpecFVR/FFT.cpp.

Referenced by SpecFVRNS::destroyTransform2D(), SpecFVRNS::initTransform2D(), and SpecFVRNS::transform2D().

bool SpecFVRNS::g_plan_exists = false [static]
 

Definition at line 14 of file SpecFVR/FFT.cpp.

Referenced by SpecFVRNS::destroyTransform2D(), and SpecFVRNS::initTransform2D().

dword SpecFVRNS::g_x3d [static]
 

Definition at line 15 of file SpecFVR/FFT.cpp.

Referenced by SpecFVRNS::destroyTransform3D(), SpecFVRNS::initTransform3D(), and SpecFVRNS::transform3D().

dword SpecFVRNS::g_y3d [static]
 

Definition at line 16 of file SpecFVR/FFT.cpp.

Referenced by SpecFVRNS::destroyTransform3D(), SpecFVRNS::initTransform3D(), and SpecFVRNS::transform3D().

dword SpecFVRNS::g_z3d [static]
 

Definition at line 17 of file SpecFVR/FFT.cpp.

Referenced by SpecFVRNS::destroyTransform3D(), SpecFVRNS::initTransform3D(), and SpecFVRNS::transform3D().


Generated on Wed Dec 15 21:20:41 2004 for vuVolume by  doxygen 1.3.9.1