#include <vuFileHelper.h>
Static Public Member Functions | |
vuString | getFileType (const char *filename) |
tries to find the filetype. | |
Static Private Member Functions | |
vuString | getdatFileType (const char *filename) |
Returns the type of the CG-TUWien file (type | geometry | modality | dimensionality | implementation) or 0 if it is invalid. | |
int | getTwoByte (FILE *file) |
Reads two byte from file and returns the corresponding integer. | |
vuString | getvuFileType (const char *filename) |
returns the type of the file (type | geometry | modality | dimensionality | implementation) returns 0 if invalid... | |
char | getType (FILE *file) |
'1' if valid header, '' otherwise | |
char | getGeometry (FILE *file) |
'1' if structured, '5' if BCC, '6' if Lightfield, '7' if Fourier, '' otherwise | |
char | getModality (FILE *file) |
'1' if unimodal, '2' if multimodal, '' otherwise | |
char | getDimension (FILE *file) |
'1' for 1d, '2' for 2d, '3' for 3d, '' otherwise | |
char | getImplementation (FILE *file) |
'1' if byte, '2' if word, '3' if dword, '' otherwise | |
char | _getKindOfLightfield (FILE *file) |
'1' for Spheric, '' otherwise | |
char | _getFieldsDataType (FILE *file) |
'1' if 1B, '2' if 2B, '3' if 3B, 'A' if 1F, 'B' if 2F, 'C' if 3F, '' otherwise |
|
'1' if 1B, '2' if 2B, '3' if 3B, 'A' if 1F, 'B' if 2F, 'C' if 3F, '' otherwise
Definition at line 211 of file vuFileHelper.cpp. Referenced by getImplementation(). |
|
'1' for Spheric, '' otherwise
Definition at line 243 of file vuFileHelper.cpp. References dword. Referenced by getDimension(). |
|
Returns the type of the CG-TUWien file (type | geometry | modality | dimensionality | implementation) or 0 if it is invalid.
Definition at line 13 of file vuFileHelper.cpp. References getTwoByte(), and size. Referenced by getFileType(). |
Here is the call graph for this function:
|
'1' for 1d, '2' for 2d, '3' for 3d, '' otherwise
Definition at line 136 of file vuFileHelper.cpp. References _getKindOfLightfield(), and dword. Referenced by getvuFileType(). |
Here is the call graph for this function:
|
tries to find the filetype. First the normal vu type is checked and if that does not give any result the CG-TUWien dat filetype is tried. Definition at line 4 of file vuFileHelper.cpp. References getdatFileType(), vuString::getLength(), and getvuFileType(). Referenced by _isConverterAvailable(), init(), main(), and vuMainWindow::open(). |
Here is the call graph for this function:
|
'1' if structured, '5' if BCC, '6' if Lightfield, '7' if Fourier, '' otherwise
Definition at line 106 of file vuFileHelper.cpp. Referenced by getvuFileType(). |
|
'1' if byte, '2' if word, '3' if dword, '' otherwise
Definition at line 171 of file vuFileHelper.cpp. References _getFieldsDataType(), dword, and size. Referenced by getvuFileType(). |
Here is the call graph for this function:
|
'1' if unimodal, '2' if multimodal, '' otherwise
Definition at line 123 of file vuFileHelper.cpp. Referenced by getvuFileType(). |
|
Reads two byte from file and returns the corresponding integer.
Definition at line 35 of file vuFileHelper.cpp. Referenced by getdatFileType(). |
|
'1' if valid header, '' otherwise
Definition at line 80 of file vuFileHelper.cpp. Referenced by getvuFileType(). |
|
returns the type of the file (type | geometry | modality | dimensionality | implementation) returns 0 if invalid...
Definition at line 43 of file vuFileHelper.cpp. References getDimension(), getGeometry(), getImplementation(), getModality(), and getType(). Referenced by getFileType(). |
Here is the call graph for this function: