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
//=============================================================================================================
48
inline
uint32_t
packABGR
(uint32_t r, uint32_t g, uint32_t b, uint32_t a = 0xFF)
49
{
50
return
(a << 24) | (b << 16) | (g << 8) | r;
51
}
52
53
//=============================================================================================================
60
enum
ShaderMode
61
{
62
Standard
,
63
Holographic
,
64
Anatomical
,
65
Dipole
,
66
XRay
,
67
ShowNormals
68
};
69
70
//=============================================================================================================
77
enum
VisualizationMode
78
{
79
ModeSurface
,
80
ModeAnnotation
,
81
ModeScientific
,
82
ModeSourceEstimate
83
};
84
85
#endif
// RENDERTYPES_H
packABGR
uint32_t packABGR(uint32_t r, uint32_t g, uint32_t b, uint32_t a=0xFF)
Definition
rendertypes.h:48
ShaderMode
ShaderMode
Definition
rendertypes.h:61
Standard
@ Standard
Definition
rendertypes.h:62
Dipole
@ Dipole
Definition
rendertypes.h:65
Holographic
@ Holographic
Definition
rendertypes.h:63
ShowNormals
@ ShowNormals
Definition
rendertypes.h:67
Anatomical
@ Anatomical
Definition
rendertypes.h:64
XRay
@ XRay
Definition
rendertypes.h:66
VisualizationMode
VisualizationMode
Definition
rendertypes.h:78
ModeScientific
@ ModeScientific
Definition
rendertypes.h:81
ModeAnnotation
@ ModeAnnotation
Definition
rendertypes.h:80
ModeSurface
@ ModeSurface
Definition
rendertypes.h:79
ModeSourceEstimate
@ ModeSourceEstimate
Definition
rendertypes.h:82
disp3D_global.h
Library export/import macros and namespace marker for the disp3D library.
Generated on
for MNE-CPP by
1.16.1