Blue Brain BioExplorer
Cylinder.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
struct
Cylinder
34
{
35
#if __cplusplus
36
Cylinder
(
const
Vector3f
c = {0.f, 0.f, 0.f},
const
Vector3f
u = {0.f, 0.f, 0.f},
const
float
r = 0.f,
37
const
uint64_t
data
= 0)
38
: userData(
data
)
39
, center(c)
40
, up(u)
41
, radius(r)
42
{
43
}
44
#endif
45
46
UINT64_T
userData
;
47
VEC3_TYPE
center
;
48
VEC3_TYPE
up
;
49
float
radius
;
50
__MEMORY_ALIGNMENT__
51
};
52
53
#if __cplusplus
54
}
// Platform
55
#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
Cylinder
Definition:
Cylinder.h:34
Cylinder::userData
UINT64_T userData
Definition:
Cylinder.h:46
Cylinder::radius
float radius
Definition:
Cylinder.h:49
Cylinder::center
VEC3_TYPE center
Definition:
Cylinder.h:47
Cylinder::up
VEC3_TYPE up
Definition:
Cylinder.h:48
platform
core
common
geometry
Cylinder.h
Generated by
1.9.1