v2.0.0
Loading...
Searching...
No Matches
src
libraries
disp3D_rhi
core
rendertypes.h
Go to the documentation of this file.
1
//=============================================================================================================
37
38
#ifndef RENDERTYPES_H
39
#define RENDERTYPES_H
40
41
//=============================================================================================================
42
// INCLUDES
43
//=============================================================================================================
44
45
#include "
../disp3D_rhi_global.h
"
46
47
#include <cstdint>
48
49
//=============================================================================================================
60
inline
uint32_t
packABGR
(uint32_t r, uint32_t g, uint32_t b, uint32_t a = 0xFF)
61
{
62
return
(a << 24) | (b << 16) | (g << 8) | r;
63
}
64
65
//=============================================================================================================
72
enum
ShaderMode
73
{
74
Standard
,
75
Holographic
,
76
Anatomical
,
77
Dipole
,
78
XRay
,
79
ShowNormals
80
};
81
82
//=============================================================================================================
89
enum
VisualizationMode
90
{
91
ModeSurface
,
92
ModeAnnotation
,
93
ModeScientific
,
94
ModeSourceEstimate
95
};
96
97
#endif
// RENDERTYPES_H
disp3D_rhi_global.h
disp3D_rhi library export/import macros.
packABGR
uint32_t packABGR(uint32_t r, uint32_t g, uint32_t b, uint32_t a=0xFF)
Definition
rendertypes.h:60
ShaderMode
ShaderMode
Definition
rendertypes.h:73
Standard
@ Standard
Definition
rendertypes.h:74
Dipole
@ Dipole
Definition
rendertypes.h:77
Holographic
@ Holographic
Definition
rendertypes.h:75
ShowNormals
@ ShowNormals
Definition
rendertypes.h:79
Anatomical
@ Anatomical
Definition
rendertypes.h:76
XRay
@ XRay
Definition
rendertypes.h:78
VisualizationMode
VisualizationMode
Definition
rendertypes.h:90
ModeScientific
@ ModeScientific
Definition
rendertypes.h:93
ModeAnnotation
@ ModeAnnotation
Definition
rendertypes.h:92
ModeSurface
@ ModeSurface
Definition
rendertypes.h:91
ModeSourceEstimate
@ ModeSourceEstimate
Definition
rendertypes.h:94
Generated on
for MNE-CPP by
1.16.1