-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhdglobals.h
106 lines (82 loc) · 2.76 KB
/
hdglobals.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/*
* hdglobals.h
*
* Copyright (c) 2015-2016 Dany Vohl, David G. Barnes, Christopher J. Fluke,
* Yuri Benovitski, Tsz Ho Wong, Owen L Kaluza, Toan D. Nguyen.
*
* This file is part of encube.
*
* encube is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* encube is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with encube. If not, see <http://www.gnu.org/licenses/>.
*
* We would appreciate it if research outcomes using encube would
* provide the following acknowledgement:
*
* "Visual analytics of multidimensional data was conducted with encube."
*
* and a reference to
*
* Dany Vohl, David G. Barnes, Christopher J. Fluke, Govinda Poudel, Nellie Georgiou-Karistianis,
* Amr H. Hassan, Yuri Benovitski, Tsz Ho Wong, Owen L Kaluza, Toan D. Nguyen, C. Paul Bonnington. (2016).
* Large-scale comparative visualisation of sets of multidimensional data. PeerJ Computer Science, In Press.
*
*/
#if !defined(_HDGLOBALS_H)
#define _HDGLOBALS_H
extern int gMemRequired;
extern float3 swinMin, swinMax;
extern HDCONFIG config;
extern bool need_reloaded_brain;
extern bool brain_loaded[MAXPANEL];
extern XRAW_STRUCT *mask_all_xrw;
extern XRAW_STRUCT *mask_temp_xrw;
extern vector<int> mask_ids;
extern int update;
extern char TRKfilename[MAXPANEL*2][MAXSTRING];
extern char NIIfilename[MAXPANEL*2][MAXSTRING];
extern char FITS_filename[MAXPANEL*2][MAXSTRING];
extern char inputextfile[MAXSTRING];
extern PanelData pd[MAXPANEL]; // array of 4 panelData variables
extern int updateflag;
extern char APPLABEL[MAXSTRING];
extern int _n_cmaps;
extern int _i_cmap;
extern char *_cmaps[];
extern float _core_alpha;
extern float _track_alpha;
extern bool bufferAllFlag;
extern float lFraction;
extern float sFraction;
extern float ps;
extern GLfloat scnTriPosArr[];
// for shader rendering
extern shaderService *vrShaders;
extern shaderService *trShaders;
extern shaderService *rgShaders;
extern int VBOdraw;
extern int trackUpdateByRemoteFlag;
extern float volumeScale;
// parameters from web
extern AABB clpb, aabb;
extern float viewport_width, viewport_height;
extern volumeProperty vp;
extern COLOUR C_GREEN, C_BLUE, C_ORANGE, C_GREY;
extern int master;
extern int nt;
extern int camset;
extern XYZ setpos, setup, setvdir;
extern RegionControl rgc;
extern float line_thick;
extern int _doFrames;
extern int DIVO;
#endif