Blue Brain BioExplorer
XYZBLoader.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015-2024, EPFL/Blue Brain Project
3  *
4  * The Blue Brain BioExplorer is a tool for scientists to extract and analyse
5  * scientific data from visualization
6  *
7  * This file is part of Blue Brain BioExplorer <https://github.com/BlueBrain/BioExplorer>
8  *
9  * This library is free software; you can redistribute it and/or modify it under
10  * the terms of the GNU Lesser General Public License version 3.0 as published
11  * by the Free Software Foundation.
12  *
13  * This library is distributed in the hope that it will be useful, but WITHOUT
14  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this library; if not, write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21  */
22 
23 #pragma once
24 
26 
27 namespace core
28 {
29 class XYZBLoader : public Loader
30 {
31 public:
32  XYZBLoader(Scene& scene);
33 
34  std::vector<std::string> getSupportedStorage() const final;
35  std::string getName() const final;
36 
37  bool isSupported(const std::string& storage, const std::string& extension) const final;
38  ModelDescriptorPtr importFromBlob(Blob&& blob, const LoaderProgress& callback,
39  const PropertyMap& properties) const final;
40 
41  ModelDescriptorPtr importFromStorage(const std::string& storage, const LoaderProgress& callback,
42  const PropertyMap& properties) const final;
43 };
44 } // namespace core
Scene object This object contains collections of geometries, materials and light sources that are use...
Definition: Scene.h:43
bool isSupported(const std::string &storage, const std::string &extension) const final
Definition: XYZBLoader.cpp:53
ModelDescriptorPtr importFromBlob(Blob &&blob, const LoaderProgress &callback, const PropertyMap &properties) const final
Definition: XYZBLoader.cpp:59
std::vector< std::string > getSupportedStorage() const final
Definition: XYZBLoader.cpp:161
std::string getName() const final
Definition: XYZBLoader.cpp:156
ModelDescriptorPtr importFromStorage(const std::string &storage, const LoaderProgress &callback, const PropertyMap &properties) const final
Definition: XYZBLoader.cpp:146
XYZBLoader(Scene &scene)
Definition: XYZBLoader.cpp:48
std::shared_ptr< ModelDescriptor > ModelDescriptorPtr
Definition: Types.h:112