Blue Brain BioExplorer
Cone.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 "
CommonDefines.h
"
26
27
#include <Defines.h>
28
29
#if __cplusplus
30
namespace
core
31
{
32
#endif
33
34
struct
Cone
35
{
36
#if __cplusplus
37
Cone
(
const
Vector3f
c = {0.f, 0.f, 0.f},
const
Vector3f
u = {0.f, 0.f, 0.f},
const
float
cr = 0.f,
38
const
float
ur = 0.f,
const
uint64_t
data
= 0)
39
: userData(
data
)
40
, center(c)
41
, up(u)
42
, centerRadius(cr)
43
, upRadius(ur)
44
{
45
}
46
#endif
47
48
UINT64_T
userData
;
49
VEC3_TYPE
center
;
50
VEC3_TYPE
up
;
51
float
centerRadius
;
52
float
upRadius
;
53
__MEMORY_ALIGNMENT__
54
};
55
56
#if __cplusplus
57
}
// Platform
58
#endif
CommonDefines.h
check_version.data
data
Definition:
check_version.py:11
core
Definition:
BaseWindow.cpp:53
core::Vector3f
glm::vec3 Vector3f
Definition:
MathTypes.h:137
Cone
Definition:
Cone.h:35
Cone::centerRadius
float centerRadius
Definition:
Cone.h:51
Cone::upRadius
float upRadius
Definition:
Cone.h:52
Cone::center
VEC3_TYPE center
Definition:
Cone.h:49
Cone::userData
UINT64_T userData
Definition:
Cone.h:48
Cone::up
VEC3_TYPE up
Definition:
Cone.h:50
platform
core
common
geometry
Cone.h
Generated by
1.9.1