|
LayerIOPrivateHandle | private_ |
|
|
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" |
|
|
typedef boost::mutex | mutex_type |
|
typedef boost::unique_lock< mutex_type > | lock_type |
|
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:
- Application/LayerIO/LayerIO.h
- Application/LayerIO/LayerIO.cc