v2.0.0
Loading...
Searching...
No Matches
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//=============================================================================================================
48inline 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//=============================================================================================================
69
70//=============================================================================================================
84
85#endif // RENDERTYPES_H
uint32_t packABGR(uint32_t r, uint32_t g, uint32_t b, uint32_t a=0xFF)
Definition rendertypes.h:48
ShaderMode
Definition rendertypes.h:61
@ Standard
Definition rendertypes.h:62
@ Dipole
Definition rendertypes.h:65
@ Holographic
Definition rendertypes.h:63
@ ShowNormals
Definition rendertypes.h:67
@ Anatomical
Definition rendertypes.h:64
@ XRay
Definition rendertypes.h:66
VisualizationMode
Definition rendertypes.h:78
@ ModeScientific
Definition rendertypes.h:81
@ ModeAnnotation
Definition rendertypes.h:80
@ ModeSurface
Definition rendertypes.h:79
@ ModeSourceEstimate
Definition rendertypes.h:82
Library export/import macros and namespace marker for the disp3D library.