#include <ITKLayerImporter.h>
CLASS ITKLayerImporter This class imports files, using ITK's importers. This one has a low priority as it is the the importer of last resort. As ITK's importers are buggy, dedicated importers are preferred over ITK's importers
bool Seg3D::ITKLayerImporter::get_file_data |
( |
LayerImporterFileDataHandle & |
data | ) |
|
|
virtual |
GET_FILE_DATA Get the file data from the file/ file series NOTE: The information is generated again, so that hints can be processed
bool Seg3D::ITKLayerImporter::get_file_info |
( |
LayerImporterFileInfoHandle & |
info | ) |
|
|
virtual |
GET_FILE_INFO Get the information about the file we are currently importing. NOTE: This function often causes the file to be loaded in its entirety Hence it is best to run this on a separate thread if needed ( from the GUI ).
InputFilesImporterHandle Seg3D::ITKLayerImporter::get_inputfiles_importer |
( |
| ) |
|
|
virtual |
GET_INPUTFILES_IMPORTER For provenance files need to be copied into the project cache. As some files need special attention: for example mhd and nhdr files actually list where there data is stored, this function can be overloaded with a specific function that copies the files. Otherwise a default implementation is given in the two derived classes. NOTE: This function has to be implemented as metaIO files can refer to other files on the file system. Hence copying the header files needs special logic, as it needs to copy the depending files as well and may need to change file references in the header files.
Reimplemented from Seg3D::LayerSingleFileImporter.
The documentation for this class was generated from the following files: