#include <fileio.h>
Public Member Functions | |
| void | register_format () |
Static Public Member Functions | |
| static svector | create_unique_filenames (const STD_string &filename, const FileIO::ProtocolDataMap &pdmap) |
| static dvector | data_diagonal (const Geometry &geometry, int voxels_read, int voxels_phase) |
Static Protected Member Functions | |
| static STD_string | selectDataType (const Protocol &prot, const FileWriteOpts &opts) |
Friends | |
| class | FileIO |
Definition at line 114 of file fileio.h.
| void FileFormat::register_format | ( | ) |
Use this function on a static instance to register the corresponding file format
| static svector FileFormat::create_unique_filenames | ( | const STD_string & | filename, | |
| const FileIO::ProtocolDataMap & | pdmap | |||
| ) | [static] |
creates unique filenames based on 'filename' for the protocol-data pairs in 'pdmap'
| static dvector FileFormat::data_diagonal | ( | const Geometry & | geometry, | |
| int | voxels_read, | |||
| int | voxels_phase | |||
| ) | [static] |
compute the vector from the first spacial voxel to the last and return it transformed to the scanner space voxels_read,voxels_phase are the amount of voxels along the read/phase vector
| static STD_string FileFormat::selectDataType | ( | const Protocol & | prot, | |
| const FileWriteOpts & | opts | |||
| ) | [static, protected] |
Returns the spatial voxel extent in the given direction assuming the given size
1.5.6