Blue Brain BioExplorer
ImageManager.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
25
#include <
platform/core/common/Types.h
>
26
#include <
platform/core/common/material/Texture2D.h
>
27
28
namespace
core
29
{
35
class
ImageManager
36
{
37
public
:
44
static
Texture2DPtr
importTextureFromFile
(
const
std::string& filename,
const
TextureType
type);
45
};
46
}
// namespace core
Texture2D.h
core::ImageManager
The ImageManager class uses the FreeImage libray to manipulate images. This class provide an API for ...
Definition:
ImageManager.h:36
core::ImageManager::importTextureFromFile
static Texture2DPtr importTextureFromFile(const std::string &filename, const TextureType type)
Import a Texture from file.
Definition:
ImageManager.cpp:69
core
Definition:
BaseWindow.cpp:53
core::Texture2DPtr
std::shared_ptr< Texture2D > Texture2DPtr
Definition:
Types.h:159
core::TextureType
TextureType
Definition:
Types.h:244
Types.h
platform
core
common
ImageManager.h
Generated by
1.9.1