#include <vuSphericLightfieldFile.h>
Inheritance diagram for vuSphericLightfieldFile< SIZE, TYPE >:
Public Member Functions | |
vuSphericLightfieldFile () | |
vuSphericLightfieldFile (const char *fileName) | |
default constructor for reading a file | |
vuSphericLightfieldFile (dword width, dword height, dword views, const char *fileName) | |
default constructor for writing a file | |
~vuSphericLightfieldFile () | |
Destructor. | |
vuSphericLightfieldFile (const vuSphericLightfieldFile< SIZE, TYPE > &other) | |
Copy constructor is not implemented. | |
bool | readHeader () |
Reads the header. | |
bool | writeHeader () |
Writes the header. | |
bool | readView (vuSphericView< SIZE, TYPE > *view) |
Reads the next view from file. | |
bool | writeView (vuSphericView< SIZE, TYPE > *view) |
Writes the view to the file. | |
dword | getNumberOfViews () |
dword | getWidth () |
dword | getHeight () |
Protected Member Functions | |
bool | _isDataSizeValid (dword dataSize) |
Protected Attributes | |
dword | m_Width |
Width of each view. | |
dword | m_Height |
Height of each view. | |
dword | m_NumberOfViews |
Number of views. |
|
Definition at line 4 of file vuSphericLightfieldFile.cpp. |
|
default constructor for reading a file
Definition at line 9 of file vuSphericLightfieldFile.cpp. References vuSphericLightfieldFile< SIZE, TYPE >::m_Height, vuSphericLightfieldFile< SIZE, TYPE >::m_NumberOfViews, and vuSphericLightfieldFile< SIZE, TYPE >::m_Width. |
|
default constructor for writing a file
Definition at line 18 of file vuSphericLightfieldFile.cpp. References dword, vuSphericView< SIZE, TYPE >::getSizeInByte(), vuSphericLightfieldFile< SIZE, TYPE >::m_Height, vuSphericLightfieldFile< SIZE, TYPE >::m_NumberOfViews, and vuSphericLightfieldFile< SIZE, TYPE >::m_Width. |
Here is the call graph for this function:
|
Destructor.
Definition at line 28 of file vuSphericLightfieldFile.cpp. |
|
Copy constructor is not implemented.
Definition at line 33 of file vuSphericLightfieldFile.cpp. |
|
Definition at line 185 of file vuSphericLightfieldFile.cpp. References dword, vuSphericView< SIZE, TYPE >::getSizeInByte(), vuSphericLightfieldFile< SIZE, TYPE >::m_Height, vuSphericLightfieldFile< SIZE, TYPE >::m_Width, and size. Referenced by vuSphericLightfieldFile< SIZE, TYPE >::readHeader(), and vuSphericLightfieldFile< SIZE, TYPE >::writeHeader(). |
Here is the call graph for this function:
|
Definition at line 174 of file vuSphericLightfieldFile.cpp. References dword. Referenced by vuSphericLightfieldBasicConverter< SI, TI, SO, TO >::convert(). |
|
Definition at line 162 of file vuSphericLightfieldFile.cpp. References dword. Referenced by vuSphericLightfieldBasicConverter< SI, TI, SO, TO >::convert(). |
|
Definition at line 168 of file vuSphericLightfieldFile.cpp. References dword. Referenced by vuSphericLightfieldBasicConverter< SI, TI, SO, TO >::convert(). |
|
Reads the header.
Reimplemented from vuLightfieldFile. Definition at line 39 of file vuSphericLightfieldFile.cpp. References vuSphericLightfieldFile< SIZE, TYPE >::_isDataSizeValid(), vuLightfieldFile::_setErrorMessage(), vuString::isEmpty(), vuLightfieldFile::readHeader(), and size. Referenced by vuSphericLightfieldBasicConverter< SI, TI, SO, TO >::convert(). |
Here is the call graph for this function:
|
Reads the next view from file.
Definition at line 125 of file vuSphericLightfieldFile.cpp. References vuLightfieldFile::_isReadyForReading(), vuLightfieldFile::_setErrorMessage(), vuSphericLightfieldFile< SIZE, TYPE >::m_Height, vuSphericLightfieldFile< SIZE, TYPE >::m_Width, and vuSphericView< SIZE, TYPE >::readFromFileStream(). Referenced by vuSphericLightfieldBasicConverter< SI, TI, SO, TO >::convert(). |
Here is the call graph for this function:
|
Writes the header.
Reimplemented from vuLightfieldFile. Definition at line 96 of file vuSphericLightfieldFile.cpp. References vuSphericLightfieldFile< SIZE, TYPE >::_isDataSizeValid(), vuLightfieldFile::_setErrorMessage(), vuSphericLightfieldFile< SIZE, TYPE >::m_Height, vuSphericLightfieldFile< SIZE, TYPE >::m_NumberOfViews, vuSphericLightfieldFile< SIZE, TYPE >::m_Width, and vuLightfieldFile::writeHeader(). Referenced by Scanner::_lazyCalculate(), FourierSlicer< SIZE >::_lazyCalculate(), and vuSphericLightfieldBasicConverter< SI, TI, SO, TO >::convert(). |
Here is the call graph for this function:
|
Writes the view to the file.
Definition at line 141 of file vuSphericLightfieldFile.cpp. References vuLightfieldFile::_isReadyForWriting(), vuLightfieldFile::_setErrorMessage(), and vuSphericView< SIZE, TYPE >::writeToFileStream(). Referenced by Scanner::_lazyCalculate(), FourierSlicer< SIZE >::_lazyCalculate(), and vuSphericLightfieldBasicConverter< SI, TI, SO, TO >::convert(). |
Here is the call graph for this function:
|
Height of each view.
Definition at line 50 of file vuSphericLightfieldFile.h. Referenced by vuSphericLightfieldFile< SIZE, TYPE >::_isDataSizeValid(), vuSphericLightfieldFile< SIZE, TYPE >::readView(), vuSphericLightfieldFile< SIZE, TYPE >::vuSphericLightfieldFile(), and vuSphericLightfieldFile< SIZE, TYPE >::writeHeader(). |
|
Number of views.
Definition at line 52 of file vuSphericLightfieldFile.h. Referenced by vuSphericLightfieldFile< SIZE, TYPE >::vuSphericLightfieldFile(), and vuSphericLightfieldFile< SIZE, TYPE >::writeHeader(). |
|
Width of each view.
Definition at line 48 of file vuSphericLightfieldFile.h. Referenced by vuSphericLightfieldFile< SIZE, TYPE >::_isDataSizeValid(), vuSphericLightfieldFile< SIZE, TYPE >::readView(), vuSphericLightfieldFile< SIZE, TYPE >::vuSphericLightfieldFile(), and vuSphericLightfieldFile< SIZE, TYPE >::writeHeader(). |