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 | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Seg3D::LayerIO Class Reference
Inheritance diagram for Seg3D::LayerIO:
Core::Lockable

Public Member Functions

template<class IMPORTER >
void register_importer ()
 
template<class EXPORTER >
void register_exporter ()
 
std::vector< std::string > get_single_file_importer_types ()
 
std::vector< std::string > get_file_series_importer_types ()
 
std::vector< std::string > get_exporter_types ()
 
bool create_single_file_importer (const std::string &filename, LayerImporterHandle &importer, std::string &error, const std::string &importername="")
 
bool create_file_series_importer (const std::vector< std::string > &filenames, LayerImporterHandle &importer, std::string &error, const std::string &importername="")
 
bool create_exporter (LayerExporterHandle &exporter, std::vector< LayerHandle > &layers, const std::string importername="", const std::string extension="")
 
- Public Member Functions inherited from Core::Lockable
mutex_type & get_mutex () const
 

Static Public Member Functions

static bool FindFileSeries (std::vector< std::string > &filenames)
 

Public Attributes

LayerIOPrivateHandle private_
 

Static Public Attributes

static const std::string DATA_MODE_C = "data"
 
static const std::string SINGLE_MASK_MODE_C = "single_mask"
 
static const std::string LABEL_MASK_MODE_C = "label_mask"
 
static const std::string BITPLANE_MASK_MODE_C = "bitplane_mask"
 

Additional Inherited Members

- Public Types inherited from Core::Lockable
typedef boost::mutex mutex_type
 
typedef boost::unique_lock< mutex_type > lock_type
 

Member Function Documentation

bool Seg3D::LayerIO::create_exporter ( LayerExporterHandle &  exporter,
std::vector< LayerHandle > &  layers,
const std::string  importername = "",
const std::string  extension = "" 
)

CREATE_EXPORTER: This function creates a new exporter by checking the file extension and it will return the appropriate exporter. If an exporter name is given as well, it will restrain the search to that specific name of exporter

bool Seg3D::LayerIO::create_file_series_importer ( const std::vector< std::string > &  filenames,
LayerImporterHandle &  importer,
std::string &  error,
const std::string &  importername = "" 
)

CREATE_FILE_SERIES_IMPORTER: This function creates a new importer by checking the file extension and it will return the appropriate importer. If an importer name is given as well, it will restrain the search to that specific name of importer

bool Seg3D::LayerIO::create_single_file_importer ( const std::string &  filename,
LayerImporterHandle &  importer,
std::string &  error,
const std::string &  importername = "" 
)

CREATE_SINGLE_FILE_IMPORTER: This function creates a new importer by checking the file extension and it will return the appropriate importer. If an importer name is given as well, it will restrain the search to that specific name of importer

bool Seg3D::LayerIO::FindFileSeries ( std::vector< std::string > &  filenames)
static

FINDFILESERIES Process the names/name of a file in a file series and find all the files that should belong to that file series bsed on the filenames of the files in the same directory.

std::vector< std::string > Seg3D::LayerIO::get_exporter_types ( )

GET_EXPORTER_TYPES Get the names of all the exporters that are available

std::vector< std::string > Seg3D::LayerIO::get_file_series_importer_types ( )

GET_FILE_SERIES_IMPORTER_TYPES Get the names of all the importers that are available for file series

std::vector< std::string > Seg3D::LayerIO::get_single_file_importer_types ( )

GET_SINGLE_FILE_IMPORTER_TYPES Get the names of all the importers that are available for a single file

template<class EXPORTER >
void Seg3D::LayerIO::register_exporter ( )
inline

REGISTER_EXPORTER: Register an importer that abstracts importing a file in a certain file format

template<class IMPORTER >
void Seg3D::LayerIO::register_importer ( )
inline

REGISTER_IMPORTER: Register an importer that abstracts importing a file in a certain file format


The documentation for this class was generated from the following files: