GCC Code Coverage Report


Directory: ./
File: libs/viz/qt3d/factory/new.cpp
Date: 2024-04-24 14:25:45
Exec Total Coverage
Lines: 0 2 0.0%
Branches: 0 2 0.0%

Line Branch Exec Source
1 /************************************************************************
2 *
3 * Copyright (C) 2021-2023 IRCAD France
4 * Copyright (C) 2021 IHU Strasbourg
5 *
6 * This file is part of Sight.
7 *
8 * Sight is free software: you can redistribute it and/or modify it under
9 * the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * Sight is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with Sight. If not, see <https://www.gnu.org/licenses/>.
20 *
21 ***********************************************************************/
22
23 #include "viz/qt3d/factory/new.hpp"
24
25 #include "viz/qt3d/window_interactor.hpp"
26
27 namespace sight::viz::qt3d::factory
28 {
29
30 //------------------------------------------------------------------------------
31
32 viz::qt3d::window_interactor::sptr make(const viz::qt3d::registry::key_t& _classname)
33 {
34 return viz::qt3d::registry::get()->create(_classname);
35 }
36
37 } // namespace sight::viz::qt3d::factory
38