Blue Brain BioExplorer
|
#include <Loader.h>
Public Member Functions | |
Loader (Scene &scene) | |
virtual | ~Loader ()=default |
virtual std::vector< std::string > | getSupportedStorage () const =0 |
virtual std::string | getName () const =0 |
virtual PropertyMap | getProperties () const |
virtual ModelDescriptorPtr | importFromBlob (Blob &&blob, const LoaderProgress &callback, const PropertyMap &properties) const =0 |
virtual ModelDescriptorPtr | importFromStorage (const std::string &storage, const LoaderProgress &callback, const PropertyMap &properties) const =0 |
virtual bool | isSupported (const std::string &filename, const std::string &extension) const =0 |
Protected Attributes | |
Scene & | _scene |
A base class for data loaders to unify loading data from blobs and files, and provide progress feedback.
|
virtualdefault |
|
pure virtual |
Implemented in core::XYZBLoader, core::RawVolumeLoader, core::MHDVolumeLoader, core::MeshLoader, core::ArchiveLoader, bioexplorer::vasculature::VasculatureLoader, bioexplorer::morphology::NeuronsLoader, bioexplorer::morphology::AstrocytesLoader, bioexplorer::io::CacheLoader, bioexplorer::connectomics::WhiteMatterLoader, bioexplorer::atlas::AtlasLoader, sonataexplorer::neuroscience::neuron::SynapseCircuitLoader, sonataexplorer::neuroscience::neuron::PairSynapsesLoader, sonataexplorer::neuroscience::neuron::MorphologyCollageLoader, sonataexplorer::neuroscience::neuron::MeshCircuitLoader, sonataexplorer::neuroscience::neuron::AdvancedCircuitLoader, sonataexplorer::neuroscience::common::MorphologyLoader, sonataexplorer::neuroscience::astrocyte::AstrocyteLoader, and sonataexplorer::io::loader::SonataCacheLoader.
|
inlinevirtual |
Reimplemented in core::RawVolumeLoader, core::MeshLoader, bioexplorer::vasculature::VasculatureLoader, bioexplorer::morphology::NeuronsLoader, bioexplorer::morphology::AstrocytesLoader, bioexplorer::io::CacheLoader, bioexplorer::connectomics::WhiteMatterLoader, bioexplorer::atlas::AtlasLoader, sonataexplorer::neuroscience::neuron::AbstractCircuitLoader, sonataexplorer::neuroscience::common::MorphologyLoader, and sonataexplorer::io::loader::SonataCacheLoader.
|
pure virtual |
Implemented in core::XYZBLoader, core::RawVolumeLoader, core::MHDVolumeLoader, core::MeshLoader, core::ArchiveLoader, bioexplorer::vasculature::VasculatureLoader, bioexplorer::morphology::NeuronsLoader, bioexplorer::morphology::AstrocytesLoader, bioexplorer::io::CacheLoader, bioexplorer::connectomics::WhiteMatterLoader, bioexplorer::atlas::AtlasLoader, sonataexplorer::neuroscience::common::MorphologyLoader, sonataexplorer::neuroscience::astrocyte::AstrocyteLoader, sonataexplorer::io::loader::SonataCacheLoader, and sonataexplorer::neuroscience::neuron::AbstractCircuitLoader.
|
pure virtual |
Import the data from the blob and return the created model.
blob | the blob containing the data to import |
callback | Callback for loader progress |
properties | Properties used for loading |
Implemented in bioexplorer::vasculature::VasculatureLoader, bioexplorer::morphology::NeuronsLoader, bioexplorer::morphology::AstrocytesLoader, bioexplorer::io::CacheLoader, bioexplorer::connectomics::WhiteMatterLoader, bioexplorer::atlas::AtlasLoader, sonataexplorer::neuroscience::common::MorphologyLoader, sonataexplorer::neuroscience::astrocyte::AstrocyteLoader, sonataexplorer::io::loader::SonataCacheLoader, sonataexplorer::neuroscience::neuron::AbstractCircuitLoader, core::XYZBLoader, core::RawVolumeLoader, core::MHDVolumeLoader, core::MeshLoader, and core::ArchiveLoader.
|
pure virtual |
Import the data from the given file or database schema and return the created model.
storage | the file or database schema containing the data to import |
callback | Callback for loader progress |
properties | Properties used for loading |
Implemented in core::XYZBLoader, core::RawVolumeLoader, core::MHDVolumeLoader, core::MeshLoader, core::ArchiveLoader, bioexplorer::vasculature::VasculatureLoader, bioexplorer::morphology::NeuronsLoader, bioexplorer::morphology::AstrocytesLoader, bioexplorer::io::CacheLoader, bioexplorer::connectomics::WhiteMatterLoader, bioexplorer::atlas::AtlasLoader, sonataexplorer::neuroscience::common::MorphologyLoader, sonataexplorer::io::loader::SonataCacheLoader, sonataexplorer::neuroscience::neuron::SynapseCircuitLoader, sonataexplorer::neuroscience::neuron::PairSynapsesLoader, sonataexplorer::neuroscience::neuron::MorphologyCollageLoader, sonataexplorer::neuroscience::neuron::MeshCircuitLoader, sonataexplorer::neuroscience::neuron::AdvancedCircuitLoader, and sonataexplorer::neuroscience::astrocyte::AstrocyteLoader.
|
pure virtual |
Query the loader if it can load the given file
Implemented in core::XYZBLoader, core::RawVolumeLoader, core::MHDVolumeLoader, core::MeshLoader, core::ArchiveLoader, bioexplorer::vasculature::VasculatureLoader, bioexplorer::morphology::NeuronsLoader, bioexplorer::morphology::AstrocytesLoader, bioexplorer::io::CacheLoader, bioexplorer::connectomics::WhiteMatterLoader, bioexplorer::atlas::AtlasLoader, sonataexplorer::neuroscience::common::MorphologyLoader, sonataexplorer::io::loader::SonataCacheLoader, sonataexplorer::neuroscience::astrocyte::AstrocyteLoader, and sonataexplorer::neuroscience::neuron::AbstractCircuitLoader.