v2.0.0
Loading...
Searching...
No Matches
src
libraries
disp3D
core
rendertypes.h
Go to the documentation of this file.
1
//=============================================================================================================
25
26
#ifndef RENDERTYPES_H
27
#define RENDERTYPES_H
28
29
//=============================================================================================================
30
// INCLUDES
31
//=============================================================================================================
32
33
#include "
../disp3D_global.h
"
34
35
#include <cstdint>
36
37
namespace
DISP3DLIB
38
{
39
40
//=============================================================================================================
51
inline
uint32_t
packABGR
(uint32_t r, uint32_t g, uint32_t b, uint32_t a = 0xFF)
52
{
53
return
(a << 24) | (b << 16) | (g << 8) | r;
54
}
55
56
//=============================================================================================================
63
enum
ShaderMode
64
{
65
Standard
,
66
Holographic
,
67
Anatomical
,
68
Dipole
,
69
XRay
,
70
ShowNormals
71
};
72
73
//=============================================================================================================
80
enum
VisualizationMode
81
{
82
ModeSurface
,
83
ModeAnnotation
,
84
ModeScientific
,
85
ModeSourceEstimate
86
};
87
88
}
// namespace DISP3DLIB
89
90
#endif
// RENDERTYPES_H
disp3D_global.h
Library export/import macros and namespace marker for the disp3D library.
DISP3DLIB
3-D brain visualisation using the Qt RHI rendering backend.
Definition
dataloader.cpp:40
DISP3DLIB::packABGR
uint32_t packABGR(uint32_t r, uint32_t g, uint32_t b, uint32_t a=0xFF)
Definition
rendertypes.h:51
DISP3DLIB::VisualizationMode
VisualizationMode
Definition
rendertypes.h:81
DISP3DLIB::ModeAnnotation
@ ModeAnnotation
Definition
rendertypes.h:83
DISP3DLIB::ModeSourceEstimate
@ ModeSourceEstimate
Definition
rendertypes.h:85
DISP3DLIB::ModeScientific
@ ModeScientific
Definition
rendertypes.h:84
DISP3DLIB::ModeSurface
@ ModeSurface
Definition
rendertypes.h:82
DISP3DLIB::ShaderMode
ShaderMode
Definition
rendertypes.h:64
DISP3DLIB::XRay
@ XRay
Definition
rendertypes.h:69
DISP3DLIB::Dipole
@ Dipole
Definition
rendertypes.h:68
DISP3DLIB::Standard
@ Standard
Definition
rendertypes.h:65
DISP3DLIB::Holographic
@ Holographic
Definition
rendertypes.h:66
DISP3DLIB::ShowNormals
@ ShowNormals
Definition
rendertypes.h:70
DISP3DLIB::Anatomical
@ Anatomical
Definition
rendertypes.h:67
Generated on
for MNE-CPP by
1.16.1