COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coTabletUIMessages.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef CO_TABLET_UI_MESSAGES_H
9 #define CO_TABLET_UI_MESSAGES_H
10 
11 #define TABLET_CREATE 1
12 #define TABLET_REMOVE 2
13 #define TABLET_SET_VALUE 3
14 #define TABLET_QUIT 4
15 
17 // EVENTS
18 #define TABLET_PRESSED 1
19 #define TABLET_RELEASED 2
20 #define TABLET_ACTIVATED 3
21 #define TABLET_DISACTIVATED 4
22 
24 // VALUES
25 #define TABLET_BOOL 1
26 #define TABLET_INT 2
27 #define TABLET_FLOAT 3
28 #define TABLET_STRING 4
29 #define TABLET_MIN 5
30 #define TABLET_MAX 6
31 #define TABLET_STEP 7
32 #define TABLET_NUM_TICKS 8
33 #define TABLET_POS 9
34 #define TABLET_ADD_ENTRY 10
35 #define TABLET_REMOVE_ENTRY 11
36 #define TABLET_SELECT_ENTRY 12
37 #define TABLET_LABEL 13
38 #define TABLET_SIZE 14
39 #define TABLET_STYLE 15
40 #define TABLET_SHAPE 16
41 #define TABLET_ADD_MAP 17
42 #define TABLET_RGBA 18
43 #define TABLET_RED 19
44 #define TABLET_GREEN 20
45 #define TABLET_BLUE 21
46 #define TABLET_TEX 22
47 #define TABLET_CLICK 23
48 #define TABLET_ALL_TEXTURES 24
49 #define TABLET_TEX_MODE 25
50 #define TABLET_TEX_CHANGE 26
51 #define TABLET_TEX_UPDATE 27
52 #define TABLET_TRAVERSED_TEXTURES 28
53 #define TABLET_ECHOMODE 29
54 #define TABLET_IPADDRESS 30
55 #define TABLET_NODE_TEXTURES 31
56 #define TABLET_NO_TEXTURES 32
57 #define TABLET_TF_WIDGET_LIST 33
58 #define TABLET_TF_HISTOGRAM 34
59 #define TABLET_TEX_PORT 35
60 #define TABLET_LOADFILE_SATE 36
61 #define TABLET_SIM_SHOW_HIDE 37
62 #define TABLET_SIM_SETSIMPAIR 38
63 #define TABLET_INIT_SECOND_CONNECTION 39
64 #define TABLET_TYPE 40
65 #define TABLET_ORIENTATION 41
66 #define TABLET_COLOR 42
67 #define TABLET_SET_HIDDEN 43
68 #define TABLET_REMOVE_ALL 44
69 
71 //ObjectTypes
72 #define TABLET_BUTTON 1
73 #define TABLET_BITMAP_BUTTON 2
74 #define TABLET_TEXT_FIELD 3
75 #define TABLET_TAB_FOLDER 4
76 #define TABLET_TOGGLE_BUTTON 5
77 #define TABLET_BITMAP_TOGGLE_BUTTON 6
78 #define TABLET_MESSAGE_BOX 7
79 #define TABLET_EDIT_FIELD 8
80 #define TABLET_INT_EDIT_FIELD 9
81 #define TABLET_FLOAT_EDIT_FIELD 10
82 #define TABLET_SPIN_EDIT_FIELD 11
83 #define TABLET_SLIDER 12
84 #define TABLET_COMBOBOX 13
85 #define TABLET_LISTBOX 14
86 #define TABLET_TAB 15
87 #define TABLET_SPLITTER 16
88 #define TABLET_FRAME 17
89 #define TABLET_FLOAT_SLIDER 18
90 #define TABLET_MAP 19
91 #define TABLET_NAV_ELEMENT 20
92 #define TABLET_TEXT_SPIN_EDIT_FIELD 21
93 #define TABLET_PROGRESS_BAR 22
94 #define TABLET_COLOR_TRIANGLE 23
95 #define TABLET_TEXTURE_TAB 24
96 #define TABLET_BROWSER_TAB 25
97 #define TABLET_COLOR_TAB 26
98 #define TABLET_TEXT_EDIT_FIELD 27
99 #define TABLET_ANNOTATION_TAB 28
100 #define TABLET_FILEBROWSER_BUTTON 29
101 #define TABLET_FUNCEDIT_TAB 30
102 #define TABLET_COLOR_BUTTON 31
103 #define TABLET_SCROLLAREA 32
104 #define TABLET_POPUP 33
105 #define TABLET_UI_TAB 34
106 
108 // MESSAGES
109 
111 // SGBrowser (100)
112 #define TABLET_BROWSER_UPDATE 100
113 #define TABLET_BROWSER_NODE 101
114 #define TABLET_BROWSER_END 102
115 #define TABLET_BROWSER_CURRENT_NODE 103
116 #define TABLET_BROWSER_SELECTED_NODE 104
117 #define TABLET_BROWSER_CLEAR_SELECTION 105
118 #define TABLET_BROWSER_SHOW_NODE 106
119 #define TABLET_BROWSER_HIDE_NODE 107
120 #define TABLET_BROWSER_EXPAND_UPDATE 108
121 #define TABLET_BROWSER_FIND 109
122 #define TABLET_BROWSER_COLOR 110
123 #define TABLET_BROWSER_WIRE 111
124 #define TABLET_BROWSER_SEL_ONOFF 112
125 #define TABLET_BROWSER_REMOVE_NODE 113
126 #define TABLET_BROWSER_PROPERTIES 114
127 #define TABLET_BROWSER_LOAD_FILES 115
128 
129 // Visitor Modes (SGBrowser)
130 #define UPDATE_NODES 0
131 #define CLEAR_SELECTION 1
132 #define SET_SELECTION 2
133 #define SHOW_NODE 3
134 #define HIDE_NODE 4
135 #define UPDATE_EXPAND 5
136 #define FIND_NODE 6
137 #define CURRENT_NODE 7
138 #define UPDATE_COLOR 8
139 #define UPDATE_WIRE 9
140 #define UPDATE_SEL 10
141 #define LOAD_FILES 11
142 
143 // Property Modes (SGBrowser)
144 #define SET_PROPERTIES 0
145 #define GET_PROPERTIES 1
146 #define REMOVE_TEXTURE 2
147 #define GET_SHADER 3
148 #define GET_UNIFORMS 4
149 #define GET_SOURCE 5
150 #define SET_SHADER 6
151 #define SET_UNIFORM 7
152 #define SET_VERTEX 8
153 #define SET_FRAGMENT 9
154 #define REMOVE_SHADER 10
155 #define STORE_SHADER 11
156 #define UPDATE_UNIFORM 12
157 #define UPDATE_VERTEX 13
158 #define UPDATE_FRAGMENT 14
159 #define CENTER_OBJECT 15
160 #define SET_GEOMETRY 16
161 #define UPDATE_GEOMETRY 17
162 #define SET_NUM_VERT 18
163 #define SET_INPUT_TYPE 19
164 #define SET_OUTPUT_TYPE 20
165 #define SET_TESSCONTROL 21
166 #define SET_TESSEVAL 22
167 #define UPDATE_TESSCONTROL 23
168 #define UPDATE_TESSEVAL 24
169 
170 #define SEND_IMAGES 0
171 #define SEND_LIST 1
172 
173 #define SHADER_UNIFORM 0
174 #define SHADER_FRAGMENT 1
175 #define SHADER_VERTEX 2
176 #define SHADER_GEOMETRY 3
177 #define SHADER_TESSCONTROL 4
178 #define SHADER_TESSEVAL 5
179 
181 // ANNOTATION (200)
182 #define TABLET_ANNOTATION_NEW 200
183 #define TABLET_ANNOTATION_DELETE 201
184 #define TABLET_ANNOTATION_DELETE_ALL 202
185 #define TABLET_ANNOTATION_SCALE 203
186 #define TABLET_ANNOTATION_SCALE_ALL 204
187 #define TABLET_ANNOTATION_SET_COLOR 205
188 #define TABLET_ANNOTATION_SET_ALL_COLORS 206
189 #define TABLET_ANNOTATION_SHOW_OR_HIDE 207
190 #define TABLET_ANNOTATION_SHOW_OR_HIDE_ALL 208
191 #define TABLET_ANNOTATION_SEND_TEXT 209
192 #define TABLET_ANNOTATION_CHANGE_NEW_BUTTON_STATE 210
193 #define TABLET_ANNOTATION_SET_SELECTION 211
194 
196 //TabletUI - File Browser Messages (300)
207 #define TABLET_FB_FILE_SEL 300
208 
217 #define TABLET_SET_FILE 301
218 
225 #define TABLET_SET_CURDIR 302
226 
234 #define TABLET_SET_DIRLIST 303
235 
243 #define TABLET_SET_FILELIST 304
244 
251 #define TABLET_SET_FILTER 305
252 
262 #define TABLET_REQ_DIRLIST 306
263 
273 #define TABLET_REQ_FILELIST 307
274 
284 #define TABLET_REQ_CURDIR 308
285 
293 #define TABLET_REQ_FILTERCHANGE 309
294 
302 #define TABLET_REQ_DIRCHANGE 310
303 
310 #define TABLET_REQ_CLIENTS 311
311 
317 #define TABLET_SET_CLIENTS 312
318 
325 #define TABLET_SET_LOCATION 313
326 
335 #define TABLET_REQ_HOME 314
336 
346 #define TABLET_REQ_DRIVES 315
347 
356 #define TABLET_SET_DRIVES 316
357 
367 #define TABLET_REMSET_DIRLIST 317
368 
378 #define TABLET_REMSET_FILELIST 318
379 
389 #define TABLET_REMSET_FILE 319
390 
399 #define TABLET_REMSET_DIRCHANGE 320
400 
410 #define TABLET_REMSET_DRIVES 321
411 
419 #define TABLET_SET_MODE 322
420 
429 #define TABLET_SET_FILTERLIST 323
430 
438 #define TABLET_REQ_LOCATION 324
439 
445 #define TABLET_REQ_VRBSTAT 325
446 
453 #define TABLET_SET_VRBSTAT 326
454 
462 #define TABLET_REQ_HOMEDIR 327
463 
472 #define TABLET_REQ_HOMEFILES 328
473 
480 #define TABLET_SET_FILE_NOSUCCESS 329
481 
488 #define TABLET_REMSET_FILE_NOSUCCESS 330
489 
495 #define TABLET_REQ_MASTER 331
496 
503 #define TABLET_SET_MASTER 332
504 
512 #define TABLET_REQ_GLOBALLOAD 333
513 
521 #define TABLET_SET_GLOBALLOAD 334
522 
530 #define TABLET_FB_PATH_SELECT 335
531 
533 // UI (400)
534 
541 #define TABLET_UI_USE_DESCRIPTION 400
542 
550 #define TABLET_UI_COMMAND 401
551 
553 //Texture Environment Mode
554 #define TEX_ENV_DECAL 0
555 #define TEX_ENV_MODULATE 1
556 #define TEX_ENV_BLEND 2
557 #define TEX_ENV_REPLACE 3
558 #define TEX_ENV_ADD 4
559 
561 //TexGen Mode
562 #define TEX_GEN_NONE 0
563 #define TEX_GEN_OBJECT_LINEAR 1
564 #define TEX_GEN_EYE_LINEAR 2
565 #define TEX_GEN_SPHERE_MAP 3
566 #define TEX_GEN_NORMAL_MAP 4
567 #define TEX_GEN_REFLECTION_MAP 5
568 
570 //Node Types
571 #define SG_NODE 0
572 #define SG_GEODE 1
573 #define SG_BILLBOARD 2
574 #define SG_GROUP 3
575 #define SG_CLEAR_NODE 4
576 #define SG_COORDINATE_SYSTEM_NODE 5
577 #define SG_LIGHT_SOURCE 6
578 #define SG_LOD 7
579 #define SG_PAGED_LOD 8
580 #define SG_OCCLUDER_NODE 9
581 #define SG_PROJECTION 10
582 #define SG_PROXY_NODE 11
583 #define SG_SEQUENCE 12
584 #define SG_SWITCH 13
585 #define SG_TEX_GEN_NODE 14
586 #define SG_TRANSFORM 15
587 #define SG_AUTO_TRANSFORM 16
588 #define SG_MATRIX_TRANSFORM 17
589 #define SG_POSITION_ADDITUDE_TRANSFORM 18
590 #define SG_CLIP_NODE 19
591 #define SG_SIM_NODE 20
592 
593 #endif