Blue Brain BioExplorer
bioexplorer::morphology::NeuronsLoader Class Reference

#include <NeuronsLoader.h>

Inheritance diagram for bioexplorer::morphology::NeuronsLoader:
Collaboration diagram for bioexplorer::morphology::NeuronsLoader:

Public Member Functions

 NeuronsLoader (core::Scene &scene, core::PropertyMap &&loaderParams={})
 
std::string getName () const final
 
strings getSupportedStorage () const final
 
bool isSupported (const std::string &storage, const std::string &extension) const final
 
core::PropertyMap getProperties () const final
 
core::ModelDescriptorPtr importFromBlob (core::Blob &&blob, const core::LoaderProgress &callback, const core::PropertyMap &properties) const final
 
core::ModelDescriptorPtr importFromStorage (const std::string &storage, const core::LoaderProgress &callback, const core::PropertyMap &properties) const final
 
- Public Member Functions inherited from core::Loader
 Loader (Scene &scene)
 
virtual ~Loader ()=default
 

Static Public Member Functions

static core::PropertyMap getCLIProperties ()
 

Additional Inherited Members

- Protected Attributes inherited from core::Loader
Scene_scene
 

Detailed Description

Load Neurons from file, memory or database

Definition at line 35 of file NeuronsLoader.h.

Constructor & Destructor Documentation

◆ NeuronsLoader()

bioexplorer::morphology::NeuronsLoader::NeuronsLoader ( core::Scene scene,
core::PropertyMap &&  loaderParams = {} 
)

Definition at line 45 of file NeuronsLoader.cpp.

Member Function Documentation

◆ getCLIProperties()

PropertyMap bioexplorer::morphology::NeuronsLoader::getCLIProperties ( )
static

Definition at line 133 of file NeuronsLoader.cpp.

◆ getName()

std::string bioexplorer::morphology::NeuronsLoader::getName ( ) const
finalvirtual
Returns
The loader name

Implements core::Loader.

Definition at line 51 of file NeuronsLoader.cpp.

◆ getProperties()

PropertyMap bioexplorer::morphology::NeuronsLoader::getProperties ( ) const
finalvirtual
Returns
The loader properties

Reimplemented from core::Loader.

Definition at line 128 of file NeuronsLoader.cpp.

◆ getSupportedStorage()

std::vector< std::string > bioexplorer::morphology::NeuronsLoader::getSupportedStorage ( ) const
finalvirtual
Returns
The loaders supported file extensions

Implements core::Loader.

Definition at line 56 of file NeuronsLoader.cpp.

◆ importFromBlob()

ModelDescriptorPtr bioexplorer::morphology::NeuronsLoader::importFromBlob ( core::Blob &&  blob,
const core::LoaderProgress callback,
const core::PropertyMap properties 
) const
finalvirtual

Import the data from the blob and return the created model.

Parameters
blobthe blob containing the data to import
callbackCallback for loader progress
propertiesProperties used for loading
Returns
the model that has been created by the loader

Implements core::Loader.

Definition at line 66 of file NeuronsLoader.cpp.

◆ importFromStorage()

ModelDescriptorPtr bioexplorer::morphology::NeuronsLoader::importFromStorage ( const std::string &  storage,
const core::LoaderProgress callback,
const core::PropertyMap properties 
) const
finalvirtual

Import the data from the given file or database schema and return the created model.

Parameters
storagethe file or database schema containing the data to import
callbackCallback for loader progress
propertiesProperties used for loading
Returns
the model that has been created by the loader

Implements core::Loader.

Definition at line 72 of file NeuronsLoader.cpp.

◆ isSupported()

bool bioexplorer::morphology::NeuronsLoader::isSupported ( const std::string &  filename,
const std::string &  extension 
) const
finalvirtual

Query the loader if it can load the given file

Implements core::Loader.

Definition at line 61 of file NeuronsLoader.cpp.


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