#include "SHarmonics.h"
#include "TorstensFilters.h"
#include "vuVector.h"
#include "Transform.h"
#include "Image_io.h"
#include <math.h>
#include <string.h>
#include <stdio.h>
Include dependency graph for SHarmonics.cpp:
Go to the source code of this file.
Defines | |
#define | ANGLE_TOL 20.0/180.0 * M_PI |
Functions | |
bool | inRange (float v, float value, float error) |
int | indexOf (int x, int xMax, int y, int yMax, int z, int zMax) |
void | realTrans (t_data *volume, int &xMax, int &yMax, int &zMax, t_data *Yarray[10]) |
void | realLight (t_data sphy[], t_data lv[3]) |
Variables | |
t_data | dc [] |
bool | downsample = false |
|
Definition at line 12 of file SHarmonics.cpp. Referenced by realTrans(). |
|
Definition at line 23 of file SHarmonics.cpp. Referenced by realTrans(). |
|
Definition at line 19 of file SHarmonics.cpp. |
|
Definition at line 266 of file SHarmonics.cpp. References M_PI, pow(), and t_data. Referenced by vu1112117::updateShLight(). |
Here is the call graph for this function:
|
Let's compute the exact gradient, using Fourier Transform. Let's transform the volume to frequency domain first. Definition at line 28 of file SHarmonics.cpp. References ANGLE_TOL, FVR_NS::computeGradient(), FVR_NS::destroyTransform3D(), vuVector::dot, downsample, dword, indexOf(), SpecFVRNS::initTransform3D(), M_PI, vuVector::norm(), vuVector::print(), SpecFVRNS::shift3D(), t_data, and SpecFVRNS::transform3D(). Referenced by vu1112117::preprocess(). |
Here is the call graph for this function:
|
Initial value: {3.14198, 2.09440,2.09440,2.09440, 0.78520,0.78520,0.78520,0.78520,0.78520} Definition at line 15 of file SHarmonics.cpp. Referenced by vuSpecPalette::ClearAndHighlight(), vuLightDial::DrawShape(), vuSpecPalette::OnColourClick(), vuSpecPalette::OnCompSlider(), vuSpecPalette::OnPaint(), _HistoCanvas::OnPaint(), vuGLCanvas::onPaint(), vuSpecPalette::PaintColour(), vuSpecPalette::PaintColours(), and vuSpecPalette::PaintSpectrum(). |
|
Definition at line 18 of file SHarmonics.cpp. Referenced by realTrans(). |