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

FourierSlicer< SIZE > Class Template Reference

#include <FourierSlicer.h>

Inheritance diagram for FourierSlicer< SIZE >:

Inheritance graph
[legend]
Collaboration diagram for FourierSlicer< SIZE >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FourierSlicer (vuString fileName, dword numOfviews, float scale, float bias, vuString filterName, vuString timingFileName)
virtual ~FourierSlicer ()
void lazyCalculateAndDisplay (const char *fileName)
void lazyCalculateAndLog (const char *fileName)
dword getImageWidth ()
dword getImageHeight ()

Private Member Functions

void _initTransferFunction ()
void _renderView (dword i, vuSphericView< SIZE, byte > *view, bool verbose=true)
word _numberOfDigits (word number)
void _lazyCalculate (const char *fileName, bool display)

Private Attributes

vuUDSpherem_Sphere
vu1712_1< SIZE > * m_Fourier
vuTFDesign m_TransFunct
bool m_isComputed
dword m_Width
dword m_Height
dword m_NumOfViews
dword m_ExternalWidth
dword m_ExternalHeight
ostream * m_TimingStream

template<int SIZE>
class FourierSlicer< SIZE >


Constructor & Destructor Documentation

template<int S>
FourierSlicer< S >::FourierSlicer vuString  fileName,
dword  numOfviews,
float  scale,
float  bias,
vuString  filterName,
vuString  timingFileName
 

Definition at line 17 of file FourierSlicer.cpp.

References vuTorstensFourierFilter::getFilter(), vuString::getLastPathComponent(), vuString::isEmpty(), vuUDSphere::lazyCalculate(), FourierSlicer< SIZE >::m_ExternalHeight, FourierSlicer< SIZE >::m_ExternalWidth, FourierSlicer< SIZE >::m_Fourier, FourierSlicer< SIZE >::m_Height, FourierSlicer< SIZE >::m_isComputed, FourierSlicer< SIZE >::m_NumOfViews, FourierSlicer< SIZE >::m_Sphere, FourierSlicer< SIZE >::m_TimingStream, and FourierSlicer< SIZE >::m_Width.

Here is the call graph for this function:

template<int S>
FourierSlicer< S >::~FourierSlicer  )  [virtual]
 

Definition at line 94 of file FourierSlicer.cpp.

References CHECKNDELETE, FourierSlicer< SIZE >::m_Fourier, FourierSlicer< SIZE >::m_Sphere, and FourierSlicer< SIZE >::m_TimingStream.


Member Function Documentation

template<int S>
void FourierSlicer< S >::_initTransferFunction  )  [private]
 

Definition at line 133 of file FourierSlicer.cpp.

template<int S>
void FourierSlicer< S >::_lazyCalculate const char *  fileName,
bool  display
[private]
 

Definition at line 223 of file FourierSlicer.cpp.

References FourierSlicer< SIZE >::_renderView(), CHECKNDELETE, vuLightfieldFile::close(), dword, vuSphericView< SIZE, TYPE >::getMap(), GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, glClear(), glClearColor(), vuFixelMap< SIZE, TYPE >::glRender(), FourierSlicer< SIZE >::m_isComputed, vuLightfieldFile::open(), vuSphericLightfieldFile< SIZE, TYPE >::writeHeader(), and vuSphericLightfieldFile< SIZE, TYPE >::writeView().

Referenced by FourierSlicer< SIZE >::lazyCalculateAndDisplay(), and FourierSlicer< SIZE >::lazyCalculateAndLog().

Here is the call graph for this function:

template<int S>
word FourierSlicer< S >::_numberOfDigits word  number  )  [private]
 

Definition at line 212 of file FourierSlicer.cpp.

References word.

Referenced by FourierSlicer< SIZE >::_renderView().

template<int S>
void FourierSlicer< S >::_renderView dword  i,
vuSphericView< SIZE, byte > *  view,
bool  verbose = true
[private]
 

Definition at line 140 of file FourierSlicer.cpp.

References FourierSlicer< SIZE >::_numberOfDigits(), byte, dword, vuFixelMap< SIZE, TYPE >::getBuffer(), vuSphericView< SIZE, TYPE >::getMap(), vuTimer::getMilliSecondsAsDouble(), vuUDSphere::getPointAt(), FourierSlicer< SIZE >::m_Fourier, FourierSlicer< SIZE >::m_Height, FourierSlicer< SIZE >::m_NumOfViews, FourierSlicer< SIZE >::m_Sphere, FourierSlicer< SIZE >::m_TimingStream, FourierSlicer< SIZE >::m_Width, vuSphericView< SIZE, TYPE >::setLookFrom(), vuSphericView< SIZE, TYPE >::setUp(), Point3d::x, Point3d::y, and Point3d::z.

Referenced by FourierSlicer< SIZE >::_lazyCalculate().

Here is the call graph for this function:

template<int S>
dword FourierSlicer< S >::getImageHeight  )  [virtual]
 

Implements FourierSlicer_.

Definition at line 120 of file FourierSlicer.cpp.

References dword.

template<int S>
dword FourierSlicer< S >::getImageWidth  )  [virtual]
 

Implements FourierSlicer_.

Definition at line 114 of file FourierSlicer.cpp.

References dword.

template<int S>
void FourierSlicer< S >::lazyCalculateAndDisplay const char *  fileName  )  [virtual]
 

Implements FourierSlicer_.

Definition at line 102 of file FourierSlicer.cpp.

References FourierSlicer< SIZE >::_lazyCalculate().

Here is the call graph for this function:

template<int S>
void FourierSlicer< S >::lazyCalculateAndLog const char *  fileName  )  [virtual]
 

Implements FourierSlicer_.

Definition at line 108 of file FourierSlicer.cpp.

References FourierSlicer< SIZE >::_lazyCalculate().

Here is the call graph for this function:


Member Data Documentation

template<int SIZE>
dword FourierSlicer< SIZE >::m_ExternalHeight [private]
 

Definition at line 41 of file FourierSlicer.h.

Referenced by FourierSlicer< SIZE >::FourierSlicer().

template<int SIZE>
dword FourierSlicer< SIZE >::m_ExternalWidth [private]
 

Definition at line 40 of file FourierSlicer.h.

Referenced by FourierSlicer< SIZE >::FourierSlicer().

template<int SIZE>
vu1712_1<SIZE>* FourierSlicer< SIZE >::m_Fourier [private]
 

Definition at line 34 of file FourierSlicer.h.

Referenced by FourierSlicer< SIZE >::_renderView(), FourierSlicer< SIZE >::FourierSlicer(), and FourierSlicer< SIZE >::~FourierSlicer().

template<int SIZE>
dword FourierSlicer< SIZE >::m_Height [private]
 

Definition at line 38 of file FourierSlicer.h.

Referenced by FourierSlicer< SIZE >::_renderView(), and FourierSlicer< SIZE >::FourierSlicer().

template<int SIZE>
bool FourierSlicer< SIZE >::m_isComputed [private]
 

Definition at line 36 of file FourierSlicer.h.

Referenced by FourierSlicer< SIZE >::_lazyCalculate(), and FourierSlicer< SIZE >::FourierSlicer().

template<int SIZE>
dword FourierSlicer< SIZE >::m_NumOfViews [private]
 

Definition at line 39 of file FourierSlicer.h.

Referenced by FourierSlicer< SIZE >::_renderView(), and FourierSlicer< SIZE >::FourierSlicer().

template<int SIZE>
vuUDSphere* FourierSlicer< SIZE >::m_Sphere [private]
 

Definition at line 33 of file FourierSlicer.h.

Referenced by FourierSlicer< SIZE >::_renderView(), FourierSlicer< SIZE >::FourierSlicer(), and FourierSlicer< SIZE >::~FourierSlicer().

template<int SIZE>
ostream* FourierSlicer< SIZE >::m_TimingStream [private]
 

Definition at line 42 of file FourierSlicer.h.

Referenced by FourierSlicer< SIZE >::_renderView(), FourierSlicer< SIZE >::FourierSlicer(), and FourierSlicer< SIZE >::~FourierSlicer().

template<int SIZE>
vuTFDesign FourierSlicer< SIZE >::m_TransFunct [private]
 

Definition at line 35 of file FourierSlicer.h.

template<int SIZE>
dword FourierSlicer< SIZE >::m_Width [private]
 

Definition at line 37 of file FourierSlicer.h.

Referenced by FourierSlicer< SIZE >::_renderView(), and FourierSlicer< SIZE >::FourierSlicer().


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