Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
Public Member Functions | Public Attributes | List of all members
Seg3D::NrrdLayerImporter Class Reference

#include <NrrdLayerImporter.h>

Inheritance diagram for Seg3D::NrrdLayerImporter:
Seg3D::LayerSingleFileImporter

Public Member Functions

virtual bool get_file_info (LayerImporterFileInfoHandle &info)
 
virtual bool get_file_data (LayerImporterFileDataHandle &data)
 
virtual InputFilesImporterHandle get_inputfiles_importer ()
 
- Public Member Functions inherited from Seg3D::LayerSingleFileImporter
 LayerSingleFileImporter ()
 Create an importer for a given file.
 
virtual std::string get_filename () const
 
virtual std::vector< std::string > get_filenames () const
 
virtual std::string get_file_tag () const
 
virtual bool check_files ()
 

Public Attributes

NrrdLayerImporterPrivateHandle private_
 

Additional Inherited Members

- Static Public Member Functions inherited from Seg3D::LayerSingleFileImporter
static LayerImporterType GetType ()
 
- Protected Member Functions inherited from Seg3D::LayerSingleFileImporter
void set_filename (const std::string &filename)
 

Detailed Description

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.

Member Function Documentation

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: