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

FVR/FFT.cpp File Reference

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

Include dependency graph for FVR/FFT.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  FVR_NS

Defines

#define WISDOM   "fvr_fftw.wis"

Functions

void initTransforms (void)
void destroyTransforms (void)
void initTransform2D (dword XSize, dword YSize)
void transform2D (t_data *x)
void destroyTransform2D (void)
void initTransform3D (dword XSize, dword YSize, dword ZSize)
void transform3D (t_data *x)
void destroyTransform3D (void)
void shift3D (t_data *x, dword XSize, dword YSize, dword ZSize)
void shift2D (t_data *x, dword XSize, dword YSize)
void shift_copy2D (t_data *dest, t_data *src, dword XSize, dword YSize)
int vcoord (int x, int y, int z)
void doStuff (t_data *x, int xMax, int yMax, int zMax)
t_data eval_f_c (t_data x)
t_data eval_f_r (t_data x)
t_data rfilter (t_data r, t_data c, t_data x)
t_data cfilter (t_data r, t_data c, t_data x)
t_data roundThings (t_data value)
 Sphere 64^3 = .0000008 UNCBrain 128^3 = .000001.
vuVectorcomputeGradient (t_data *volume)

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 10 of file FVR/FFT.cpp.


Function Documentation

t_data cfilter t_data  r,
t_data  c,
t_data  x
 

Definition at line 226 of file FVR/FFT.cpp.

References FVR_NS::eval_f_c(), FVR_NS::eval_f_r(), and t_data.

Referenced by FVR_NS::computeGradient().

Here is the call graph for this function:

vuVector * FVR_NS::computeGradient t_data *  x  ) 
 

Definition at line 242 of file FVR/FFT.cpp.

References FVR_NS::cfilter(), FVR_NS::doStuff(), dword, FVR_NS::g_x3d, FVR_NS::g_y3d, FVR_NS::g_z3d, FVR_NS::rfilter(), FVR_NS::roundThings(), t_data, and FVR_NS::vcoord().

Referenced by realTrans().

Here is the call graph for this function:

void FVR_NS::destroyTransform2D void   ) 
 

Definition at line 54 of file FVR/FFT.cpp.

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

Referenced by vu1112117::~vu1112117().

Here is the call graph for this function:

void FVR_NS::destroyTransform3D void   ) 
 

Definition at line 82 of file FVR/FFT.cpp.

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

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

void FVR_NS::destroyTransforms void   ) 
 

Definition at line 30 of file FVR/FFT.cpp.

References fftw_export_wisdom_to_file(), and WISDOM.

Referenced by vu1112117::~vu1112117().

Here is the call graph for this function:

void doStuff t_data *  x,
int  xMax,
int  yMax,
int  zMax
 

Definition at line 184 of file FVR/FFT.cpp.

References fftw3d_create_plan(), FFTW_BACKWARD, FFTW_IN_PLACE, FFTW_MEASURE, FFTW_USE_WISDOM, fftwnd_destroy_plan(), fftwnd_one(), fftwnd_plan, NULL, and SpecFVRNS::shift3D().

Referenced by FVR_NS::computeGradient().

Here is the call graph for this function:

t_data eval_f_c t_data  x  ) 
 

Definition at line 198 of file FVR/FFT.cpp.

References t_data.

Referenced by FVR_NS::cfilter(), and FVR_NS::rfilter().

t_data eval_f_r t_data  x  ) 
 

Definition at line 213 of file FVR/FFT.cpp.

References t_data.

Referenced by FVR_NS::cfilter(), and FVR_NS::rfilter().

void FVR_NS::initTransform2D dword  XSize,
dword  YSize
 

Definition at line 41 of file FVR/FFT.cpp.

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

Here is the call graph for this function:

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

Definition at line 62 of file FVR/FFT.cpp.

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

void FVR_NS::initTransforms void   ) 
 

Definition at line 18 of file FVR/FFT.cpp.

References fftw_import_wisdom_from_file(), and WISDOM.

Referenced by vu1112117::vu1112117().

Here is the call graph for this function:

t_data rfilter t_data  r,
t_data  c,
t_data  x
 

Definition at line 218 of file FVR/FFT.cpp.

References FVR_NS::eval_f_c(), FVR_NS::eval_f_r(), and t_data.

Referenced by FVR_NS::computeGradient().

Here is the call graph for this function:

t_data roundThings t_data  value  ) 
 

Sphere 64^3 = .0000008 UNCBrain 128^3 = .000001.

Definition at line 237 of file FVR/FFT.cpp.

References t_data.

Referenced by FVR_NS::computeGradient().

void FVR_NS::shift2D t_data *  x,
dword  XSize,
dword  YSize
 

Definition at line 129 of file FVR/FFT.cpp.

References dword.

void FVR_NS::shift3D t_data *  x,
dword  XSize,
dword  YSize,
dword  ZSize
 

Definition at line 89 of file FVR/FFT.cpp.

References dword.

void FVR_NS::shift_copy2D t_data *  dest,
t_data *  src,
dword  XSize,
dword  YSize
 

Definition at line 154 of file FVR/FFT.cpp.

References dword, and t_data.

void FVR_NS::transform2D t_data *  x  ) 
 

Definition at line 47 of file FVR/FFT.cpp.

References fftwnd_one(), and FVR_NS::g_plan_2D.

Here is the call graph for this function:

void FVR_NS::transform3D t_data *  x  ) 
 

Definition at line 69 of file FVR/FFT.cpp.

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

Here is the call graph for this function:

int vcoord int  x,
int  y,
int  z
[inline]
 

Definition at line 179 of file FVR/FFT.cpp.

References FVR_NS::g_x3d, and FVR_NS::g_y3d.

Referenced by FVR_NS::computeGradient().


Variable Documentation

fftwnd_plan FVR_NS::g_plan_2D [static]
 

Definition at line 12 of file FVR/FFT.cpp.

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

bool FVR_NS::g_plan_exists = false [static]
 

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

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

dword FVR_NS::g_x3d [static]
 

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

Referenced by FVR_NS::computeGradient(), FVR_NS::destroyTransform3D(), FVR_NS::initTransform3D(), FVR_NS::transform3D(), and FVR_NS::vcoord().

dword FVR_NS::g_y3d [static]
 

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

Referenced by FVR_NS::computeGradient(), FVR_NS::destroyTransform3D(), FVR_NS::initTransform3D(), FVR_NS::transform3D(), and FVR_NS::vcoord().

dword FVR_NS::g_z3d [static]
 

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

Referenced by FVR_NS::computeGradient(), FVR_NS::destroyTransform3D(), FVR_NS::initTransform3D(), and FVR_NS::transform3D().


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