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 | Protected Member Functions | Protected Attributes | List of all members
Seg3D::LayerExporter Class Referenceabstract
Inheritance diagram for Seg3D::LayerExporter:
Seg3D::ITKDataLayerExporter Seg3D::ITKMaskLayerExporter Seg3D::MatlabLayerExporter Seg3D::MRCLayerExporter Seg3D::NrrdLayerExporter

Public Member Functions

 LayerExporter (std::vector< LayerHandle > &layers)
 Construct a new layer file exporter for a specific file.
 
virtual ~LayerExporter ()
 Virtual destructor for memory management of derived classes.
 
virtual std::string get_name () const =0
 Name of the exporter (to be listed in the file filter dialog) More...
 
virtual std::string get_file_types () const =0
 The file types (extentions) that the exporter handles.
 
std::string get_error () const
 
virtual void set_label_layer_values (std::vector< double > values)
 
virtual bool label_layer_values_set ()
 
virtual void set_extension (std::string extension)
 
virtual bool export_layer (const std::string &mode, const std::string &file_path, const std::string &name)=0
 

Protected Member Functions

void set_error (const std::string &error)
 

Protected Attributes

std::vector< LayerHandle > layers_
 LAYERS_:
 

Member Function Documentation

virtual bool Seg3D::LayerExporter::export_layer ( const std::string &  mode,
const std::string &  file_path,
const std::string &  name 
)
pure virtual
std::string Seg3D::LayerExporter::get_error ( ) const

GET_ERROR: Get the last error recorded in the exporter

virtual std::string Seg3D::LayerExporter::get_name ( ) const
pure virtual

Name of the exporter (to be listed in the file filter dialog)

These functions define the properties of the exporter and are implemented by the SCI_EXPORTER_TYPE macro – Get the properties of this exporter – These properties are generated by the SCI_EXPORTER_TYPE macro

void Seg3D::LayerExporter::set_error ( const std::string &  error)
protected

SET_ERROR: Set the error message

virtual void Seg3D::LayerExporter::set_label_layer_values ( std::vector< double >  values)
inlinevirtual

SET_LABEL_LAYER_VALUES: this is used to set the values for the layers when exporting a label and for nothing else

Reimplemented in Seg3D::ITKMaskLayerExporter, Seg3D::MatlabLayerExporter, Seg3D::NrrdLayerExporter, and Seg3D::MRCLayerExporter.


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