#include <NrrdLayerImporter.h>
|
NrrdLayerImporterPrivateHandle | private_ |
|
CLASS NrrdLayerImporter This class imports nrrds, the default file type supported by Seg3D. Hence it has the highest priority as this importer should be used by default for nrrd files.
bool Seg3D::NrrdLayerImporter::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::NrrdLayerImporter::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::NrrdLayerImporter::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 nhdr files can refer to other files on the file system. Hence copying NRRD 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: