ALBA
albaDecl.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: ALBA (Agile Library for Biomedical Applications)
4Module: albaDecl
5Authors: Silvano Imboden, Gianluigi Crimi
6
7Copyright (c) BIC
8All rights reserved. See Copyright.txt or
9
10
11This software is distributed WITHOUT ANY WARRANTY; without even
12the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16#ifndef __albaDecl_H__
17#define __albaDecl_H__
18// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
19// be careful in changing this file
20// because force most of the ALBA to be rebuilt
21// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
22#include "albaDefines.h"
23#include <wx/bitmap.h>
24
25#include "albaString.h"
26
27#include <vector>
28
59//----------------------------------------------------------------------------
60// forward declarations :
61//----------------------------------------------------------------------------
62class wxColour;
63class wxWindow;
64
65//----------------------------------------------------------------------------
66// constant
67//----------------------------------------------------------------------------
68// MAX number of widgets that albaGUI can hold - used also by albaGUIValidator
69//const int MAXWIDGET = 200;
70const int MAXWIDGET = 4096;
71const int MAXOP = 200;
72const int MAXVIEW = 200;
73const int MAXWIZARD = 50;
74
75// extern ALBA_EXPORT int ALBAExpertMode; ///< Flag to turn On/Off detailed debug information or GUI widgets
76
78enum ALBA_EXPORT WIDGET_DATA_TYPE_ID
79{
85};
86
87struct ALBA_EXPORT WidgetDataType
88{
89 int iValue;
90 float fValue;
91 double dValue;
92 const char *sValue;
93 int dType;
94};
95
97enum ALBA_EXPORT DEVICE_BUTTONS
98{
102 ALBA_RIGHT_BUTTON
103};
104
106enum ALBA_EXPORT DEVICE_MODIFIERS
107{
110 ALBA_ALT_KEY
111};
112
120enum ALBA_EXPORT MAIN_EVENT_ID
121{
122 MENU_START = 10000,
141 MENU_VIEW_LAYOUT, // call the Load/Save Layout Dialog
142 MENU_VIEW_LAYOUT_MSF, // call the Load/Save Layout_Msf Dialog
143 SASH_START, // ids of albaGUISashPanel/ ids of Dockable Panes - must be Menu events too
151 MENU_LAYOUT_START, // used by albaGUICrossSplitter
170 ID_APP_SETTINGS, // calls the Application-Settings-Panel - not implemented yet
171 ID_TIMEBAR_SETTINGS, // calls the TimeBar-Settings-Panel
172 ID_VIEW_SETTINGS, // calls the Selected-View-Settings-Panel
181 GET_BUILD_HELP_GUI, // sent from op, views or vme's to know if we are building the help gui in the application
182 OPEN_HELP_PAGE, // sent from an op, a view or a vme to open the corresponding help page
184
186 UPDATE_UI, // update menu and toolbar widgets
187 UPDATE_PROPERTY, // update vme property widgets
188 // connect a vtkObject to the ProgressBar
190 // manually set the ProgressBar status
195 // events about vme
196 VME_ADDED, // from albaVmeManager to albaLogic (to be removed Marco)
197 VME_REMOVING, // from albaVmeManager to albaLogic
198 VME_SELECT, // from albaGUITree or albaISV - run albaOpSelect
199 VME_DCLICKED, // from albaInteractorPER issued to infor logic that a double click has been done on a VME.
200 VME_SELECTED, // from albaOpSelect
201 VME_TRANSFORM, // from albaISV to albaLogic
202 VME_CHOOSE, // from a albaOp to receive more operands
203 VME_PICKED, // used sent to the listener a vtkPoint positioned at the picked position
204 VME_PICKING, // same as above, but send point position in continuous configuration (at each mouse motion)
208 VME_REF_SYS_CHOOSED, //from albaGUIVMERefSysChooser to a albaOp (to be moved elsewhere Marco)
209 VME_FEM_DATA_CHOOSED, //from albaGUIVMEFEMDataChooser to a albaOp (to be moved elsewhere Marco)
211
212 // events about views
213 VIEW_QUIT, // from keyboard, used specially to close external views.
214 VIEW_CREATE, // from menu to albaViewManager
215 VIEW_CREATED, // from albaViewManager to Logic
216 VIEW_DELETE, // from albaGUIMDIChild to albaViewManager
217 VIEW_SELECT, // from albaGUIMDIChild and albaGUIViewPanel to albaViewManager
218 VIEW_SELECTED, // used to ask to logic if there is a view selected and get a pointer to it
219 VIEW_CLICKED, // from albaRWIBase to albaGUIMDIChild and albaGUIViewPanel to albaViewManager
220 VIEW_MAXIMIZE, // from albaGUI to albaGUICrossSplitter
221 VIEW_RESIZE, // from anyone that want to block the view's size.
222 VIEW_SAVE_IMAGE,//from albaMDIChild to albaViewManager
223 PER_PUSH, // from an Operation to albaInteractionManager
224 PER_POP, // from an Operation to albaInteractionManager
226
227 CAMERA_FRONT, // constant used in albaRWIxxx to initialize Camera pos
251 CAMERA_ARB, //Camera with arbitrary look vector
252
253 CAMERA_SYNCHRONOUS_UPDATE, // from Interaction Manager to perform a view update
254 CAMERA_UPDATE, // events from the toolbar
260 CAMERA_MOVED, //Event invoked by albaInteractorCameraMove
261
262 // modified by Stefano 21-9-2004 (begin)
263 CAMERA_RXFEM_XNEG, //(to be moved elsewhere Marco)
264 CAMERA_RXFEM_XPOS, //(to be moved elsewhere Marco)
265 CAMERA_RXFEM_YNEG, //(to be moved elsewhere Marco)
266 CAMERA_RXFEM_YPOS, //(to be moved elsewhere Marco)
267 CAMERA_RXFEM_ZNEG, //(to be moved elsewhere Marco)
268 CAMERA_RXFEM_ZPOS, //(to be moved elsewhere Marco)
269 // //modified by Stefano 21-9-2004 (end)
270
272
273 OP_ADD, // events used by albaOpManager, albaOp and albaLogic
285
286 ITEM_SELECTED, //used by albaGUIListCtrl and Dictionary
287
288 IMPORT_FILE, // used when drag a non msf or zmsf file into the application as a VTK file.
289
290 CLEAR_UNDO_STACK, // used by albaGUIMDIFrame to clear UnDo stack when the application is running in low memory
291
294
295 //used by albaISATransform to talk with albaOpTransform
296 MOUSE_DOWN, //(to be removed Marco)
297 MOUSE_MOVE, //(to be removed Marco)
298 MOUSE_UP, //(to be removed Marco)
299 MOUSE_WHEEL, //(Used by albaGUI to send mouse wheel event to the listener) added by Losi 06/28/2012
300
301 ID_TRANSFORM, //added by Stefano. 30-11-2003
304
305
306 INTERACTOR_ADD, //modified by Marco. 25-8-2004 bind an interactor to an action
307 INTERACTOR_REMOVE, //modified by Marco. 25-8-2004 unbind an interactor from an action
308
312 // resize window
316
317 EVT_USER_START, // to be used from vertical applications
319
321
322 MENU_USER_START,// to be used from vertical applications
324
326
327 // ids of operations - used by albaOpManager and albaGUIFrame
328 // must be after MENU_END
343
344 // ids of views - used by albaViewManager and albaGUIFrame
345 // must be after MENU_END
348
349 // events sent by widget
350
352 ID_LAYOUT, //sent from a albaGUISashPanel to albaGUIFrame
353 ID_CLOSE_SASH, //sent from a albaGUIButton to albaGUISashPanel
354 ID_LABEL_CLICK, //sent from a albaGUILabel to albaGUIViewPanel
355 ID_DISPLAY_LIST, //sent from a albaGUIButton to albaGUIMDIChild - ask for display list menu
356 ID_SETTINGS, //sent from a albaGUIButton to albaGUIMDIChild - ask to display a view-settings-panel
357 ID_RANGE_MODIFIED, //sent from a albaGUILutSlider to albaGUIMDIChild - ask to Views
359
360 // id of pictures - used in albaGUIBitmaps
362 TIME_SET, //also sent by albaGUITimeBar to albaLogic
363 TIME_PLAY, //pictures used by the timebar
370 /*
371 APP_ICON,
372 PIC_NODE_BLUE, //picture used by the tree
373 PIC_NODE_YELLOW,
374 PIC_NODE_RED,
375 PIC_NODE_GRAY,
376 PIC_ZOOM_ALL, //picture used by the toolbar
377 PIC_ZOOM_SEL,
378 */
380 PIC_USER_START = PIC_START + 500,// to be used from vertical applications
381 PIC_USER_END = PIC_USER_START + 100,// to be used from vertical applications
382
383 PARSE_STRING, //Added by Paolo 16-9-2003 execute the operation passed as a string
385
386 // ids for event channels
396
397 // ids issued/observed by albaVME and albaVME
414
417
419
420 // const used by albaGUI and albaGUIValidator
423
426
428
429 ALBA_BASE_ID
430};
431
433{
455};
456
458{
461};
462
465//----------------------------------------------------------------------------
466// global functions
467//----------------------------------------------------------------------------
468
472ALBA_EXPORT extern wxWindow* albaGetFrame();
473
475//albaVmeBaseTypes albaGetBaseType(albaVME* vme); //(to be removed Marco)
476
478ALBA_EXPORT void albaSetFrame(wxWindow* frame);
479
481ALBA_EXPORT void albaYield();
482
484ALBA_EXPORT void albaEnableYielding(bool enable = true);
485
487ALBA_EXPORT wxString albaGetDirName(const char * initial, const char * title = "Select Directory", wxWindow *parent = NULL);
488
490ALBA_EXPORT wxString albaGetOpenFile(const char * initial, const char * wildcard, const char * title = "Open File", wxWindow *parent = NULL);
491
493ALBA_EXPORT void albaGetOpenMultiFiles(const char * path, const char * wildcard, std::vector<wxString> &files, const char * title = "Open Files", wxWindow *parent = NULL);
494
496ALBA_EXPORT wxString albaGetSaveFile(const char * initial, const char * wildcard, const char * title = "Save File", wxWindow *parent = NULL, bool warnOverWrite = true);
497
499ALBA_EXPORT void albaResetRandomColor();
500
502ALBA_EXPORT wxColour albaRandomColor();
503
505ALBA_EXPORT wxBitmap albaWhiteFade(wxBitmap bmp, double level = 0.5);
506
508ALBA_EXPORT wxBitmap albaBlueScale(wxBitmap bmp);
509
511ALBA_EXPORT wxString albaGetApplicationDirectory();
512
514ALBA_EXPORT wxString albaGetAppDataDirectory();
515
517ALBA_EXPORT wxString albaGetDocumentsDirectory();
518
520ALBA_EXPORT wxString albaGetLastUserFolder();
521
523ALBA_EXPORT void albaOpenWithDefaultApp(const char *filename);
524
526ALBA_EXPORT void albaSetAppDebugDir(wxString ddir);
527
529ALBA_EXPORT wxString albaGetConfigDirectory();
530
532ALBA_EXPORT void albaSetLastUserFolder(albaString folder);
533
535ALBA_EXPORT wxString albaIdString(int id);
536
537ALBA_EXPORT float RoundValue(float f_in, int decimal_digits = 2);
538ALBA_EXPORT double RoundValue(double d_in, int decimal_digits = 2);
539
541ALBA_EXPORT void albaFormatDataSize(long long size, albaString& szOut);
542
543ALBA_EXPORT int* GetALBAExpertMode();
544
546ALBA_EXPORT FILE *albaTryOpenFile(const char *filename, const char *mode);
547
548
549#endif
TIME_PLAY
Definition: albaDecl.h:363
MOUSE_DOWN
Definition: albaDecl.h:296
PROGRESSBAR_SHOW
Definition: albaDecl.h:191
ALBA_EXPORT wxString albaIdString(int id)
translate an event-id into a readable string
MENU_VIEW_TIMEBAR
Definition: albaDecl.h:147
TIME_NEXT
Definition: albaDecl.h:366
ID_GUI_UPDATE
Definition: albaDecl.h:427
const int MAXOP
Definition: albaDecl.h:71
CAMERA_PERSPECTIVE_FRONT
Definition: albaDecl.h:245
CAMERA_RXFEM_ZPOS
Definition: albaDecl.h:268
NODE_DESTROYED
issued when the node is destroyed
Definition: albaDecl.h:401
CAMERA_POST_RESET
Definition: albaDecl.h:259
ALBA_SHIFT_KEY
Definition: albaDecl.h:108
MENU_FILE_QUIT
Definition: albaDecl.h:134
CAMERA_CT
Definition: albaDecl.h:240
VME_REF_SYS_CHOOSED
Definition: albaDecl.h:208
VME_GET_NEWITEM_ID
issued by VMEItems or DataVector to retrieve a new item-ID (served by albaVMERoot)
Definition: albaDecl.h:412
PROGRESSBAR_SET_VALUE
Definition: albaDecl.h:193
OP_RUN_CANCEL
Definition: albaDecl.h:279
PROGRESSBAR_HIDE
Definition: albaDecl.h:192
OP_REMOVE
Definition: albaDecl.h:274
MENU_OPTION_MEASURE_UNIT_SETTINGS
Definition: albaDecl.h:168
OP_PASTE
Definition: albaDecl.h:335
NODE_GET_STORAGE
issued by tree elements to retrieve the storage (served by albaVMERoot)
Definition: albaDecl.h:402
ALBA_EXPORT wxString albaGetAppDataDirectory()
return the WorkingData directory
CAMERA_RESET
Definition: albaDecl.h:255
OP_REDO
Definition: albaDecl.h:331
VME_MATRIX_UPDATE
issued when pose matrix is updated
Definition: albaDecl.h:407
VME_PICKING
Definition: albaDecl.h:204
CAMERA_DRR_LEFT
Definition: albaDecl.h:238
CAMERA_ARB
Definition: albaDecl.h:251
TILE_WINDOW_HORIZONTALLY
Definition: albaDecl.h:314
MENU_FILE_PRINT_PAGE_SETUP
Definition: albaDecl.h:133
EVT_USER_START
Definition: albaDecl.h:317
SASH_END
Definition: albaDecl.h:150
EVT_USER_END
Definition: albaDecl.h:318
ID_DISPLAY_LIST
Definition: albaDecl.h:355
CAMERA_MOVED
Definition: albaDecl.h:260
MINID
Definition: albaDecl.h:421
LAYOUT_THREE_RIGHT
Definition: albaDecl.h:158
OP_COPY
Definition: albaDecl.h:334
MENU_FILE_NEW
Definition: albaDecl.h:124
LOG_TO_FILE
Definition: albaDecl.h:293
ABOUT_APPLICATION
Definition: albaDecl.h:175
NODE_START
Definition: albaDecl.h:398
OP_RUN
Definition: albaDecl.h:277
MENU_OPTION_LOCALE_SETTINGS
Definition: albaDecl.h:167
ALBA_EXPORT wxColour albaRandomColor()
return a random wxColour from a palette of 16
GET_CURRENT_PER
Definition: albaDecl.h:225
CAMERA_LEFT
Definition: albaDecl.h:229
NULL_DATA
Definition: albaDecl.h:80
TILE_WINDOW_CASCADE
Definition: albaDecl.h:313
CAMERA_SYNCHRONOUS_UPDATE
Definition: albaDecl.h:253
GET_BUILD_HELP_GUI
Definition: albaDecl.h:181
MENU_USER_START
Definition: albaDecl.h:322
ALBA_EXPORT void albaOpenWithDefaultApp(const char *filename)
Open the file whit the system default application.
VME_FEM_DATA_CHOOSED
Definition: albaDecl.h:209
CAMERA_DRR_RIGHT
Definition: albaDecl.h:239
CAMERA_PERSPECTIVE_RIGHT
Definition: albaDecl.h:248
MENU_END
Definition: albaDecl.h:325
VIEW_CREATE
Definition: albaDecl.h:214
NODE_DETACHED_FROM_TREE
issued when the node is detachment from the tree
Definition: albaDecl.h:399
CAMERA_OS_P
Definition: albaDecl.h:244
TILE_WINDOW_VERTICALLY
Definition: albaDecl.h:315
MENU_FILE_END
Definition: albaDecl.h:135
ALBA_EXPORT wxString albaGetDocumentsDirectory()
return the Documents directory
MENU_VIEW_LAYOUT_MSF
Definition: albaDecl.h:142
ALBA_EXPORT wxString albaGetDirName(const char *initial, const char *title="Select Directory", wxWindow *parent=NULL)
show the Dir Selection Dialog Box
ALBA_EXPORT void albaFormatDataSize(long long size, albaString &szOut)
Formats the specified size to B, KB, MB or GB.
MENU_VIEW_LAYOUT
Definition: albaDecl.h:141
OP_DELETE
Definition: albaDecl.h:332
MENU_VIEW_USER_LAST
Definition: albaDecl.h:149
CAMERA_FRONT
Definition: albaDecl.h:227
OP_RUN_STARTING
Definition: albaDecl.h:280
ALBA_EXPORT wxBitmap albaWhiteFade(wxBitmap bmp, double level=0.5)
Used to generate gray scale bitmap given a colored one.
VME_CHOOSE_TRANSFER_FUNCTION
Definition: albaDecl.h:206
MENU_OP
Definition: albaDecl.h:138
VME_SELECT
Definition: albaDecl.h:198
PIC_USER_START
Definition: albaDecl.h:380
CAMERA_RX_LEFT
Definition: albaDecl.h:235
MENU_FILE_PRINT_SETUP
Definition: albaDecl.h:132
CREATE_STORAGE
Definition: albaDecl.h:210
VIEW_SELECT
Definition: albaDecl.h:217
PER_POP
Definition: albaDecl.h:224
TIME_SET
Definition: albaDecl.h:362
OP_CUT
Definition: albaDecl.h:333
PER_PUSH
Definition: albaDecl.h:223
SHOW_VIEW_CONTEXTUAL_MENU
Definition: albaDecl.h:302
OP_HIDE_GUI
Definition: albaDecl.h:283
CAMERA_PERSPECTIVE
Definition: albaDecl.h:233
HELP_HOME
Definition: albaDecl.h:178
VME_MATRIX_PREUPDATE
issued by albaMatrixPipe before updating the matrix
Definition: albaDecl.h:406
CAMERA_FLYTO
Definition: albaDecl.h:257
VME_CHOOSE_FEM_PROPERTY
Definition: albaDecl.h:207
PROGRESSBAR_SET_TEXT
Definition: albaDecl.h:194
LAYOUT_SAVE
Definition: albaDecl.h:161
VME_PICKED
Definition: albaDecl.h:203
OP_ENABLE
Definition: albaDecl.h:275
AVATAR_ADDED
used to advise the InteractionManager an avatar has been added (issued by mmdTracker's)
Definition: albaDecl.h:415
ALBA_EXPORT wxString albaGetConfigDirectory()
return the config directory
MENU_FILE_PRINT_PREVIEW
Definition: albaDecl.h:131
MENU_OPTION_APPLICATION_SETTINGS
Definition: albaDecl.h:165
ALBA_EXPORT void albaYield()
process pending events.
const int MAXVIEW
Definition: albaDecl.h:72
MOVIE_RECORD
Definition: albaDecl.h:369
MENU_SETTINGS_START
Definition: albaDecl.h:164
CAMERA_DRR_FRONT
Definition: albaDecl.h:237
LAYOUT_THREE_LEFT
Definition: albaDecl.h:157
MENU_VIEW_USER_FIRST
Definition: albaDecl.h:148
OP_REPARENT
Definition: albaDecl.h:337
ALBA_EXPORT void albaSetAppDebugDir(wxString ddir)
return the Last User directory
ID_TRANSFORM
Definition: albaDecl.h:301
VME_TIME_SET
used either to set or to advise of time changes
Definition: albaDecl.h:404
OP_RENAME
Definition: albaDecl.h:336
const int MAXWIZARD
Definition: albaDecl.h:73
LAYOUT_LOAD
Definition: albaDecl.h:160
ID_VIEW_SETTINGS
Definition: albaDecl.h:172
OP_START
Definition: albaDecl.h:329
ALBA_LEFT_BUTTON
Definition: albaDecl.h:100
ALBA_EXPORT wxString albaGetSaveFile(const char *initial, const char *wildcard, const char *title="Save File", wxWindow *parent=NULL, bool warnOverWrite=true)
show the File Save Dialog Box
ALBA_EXPORT void albaSetLastUserFolder(albaString folder)
Set the Last User directory.
WIDGETS_START
Definition: albaDecl.h:351
CAMERA_PERSPECTIVE_BACK
Definition: albaDecl.h:246
UPDATE_PROPERTY
Definition: albaDecl.h:187
MENU_HELP_START
Definition: albaDecl.h:174
VME_TRANSFORM
Definition: albaDecl.h:201
CAMERA_BACK
Definition: albaDecl.h:228
REGISTER_PRODUCT
Definition: albaDecl.h:176
ALBA_EXPORT wxString albaGetOpenFile(const char *initial, const char *wildcard, const char *title="Open File", wxWindow *parent=NULL)
show the File Open Dialog Box
GUI_HELP_END
Definition: albaDecl.h:183
MED_MENU_EVENT_ID
Most of the constants used in ALBA are declared here.
Definition: albaDecl.h:458
@ MENU_WIZARD
Definition: albaDecl.h:459
@ MED_MENU_USER_START
Definition: albaDecl.h:460
LAYOUT_TWO_HORZ
Definition: albaDecl.h:154
APPSTAMP
Definition: albaDecl.h:384
MOUSE_UP
Definition: albaDecl.h:298
CAMERA_BLEND
Definition: albaDecl.h:271
MENU_OPTION_DEVICE_SETTINGS
Definition: albaDecl.h:166
MENU_FILE_OPEN
Definition: albaDecl.h:125
UPDATE_UI
Definition: albaDecl.h:186
MENU_FILE_MERGE
Definition: albaDecl.h:129
VME_CHOOSE
Definition: albaDecl.h:202
OP_RUN_OK
Definition: albaDecl.h:278
VIEW_DELETE
Definition: albaDecl.h:216
MENU_LAYOUT_END
Definition: albaDecl.h:162
ITEM_SELECTED
Definition: albaDecl.h:286
VME_ADDED
Definition: albaDecl.h:196
DEVICE_ADD
Definition: albaDecl.h:309
NODE_GET_ROOT
issued by subnode components to extract ROOT node
Definition: albaDecl.h:403
enum ALBA_EXPORT DEVICE_BUTTONS
conventional device button values
Definition: albaDecl.h:98
CAMERA_UPDATE
Definition: albaDecl.h:254
KEY_RELEASED
used to send a key release event to the listener
Definition: albaDecl.h:425
MENU_FILE_SAVEAS
Definition: albaDecl.h:127
ID_TIMEBAR_SETTINGS
Definition: albaDecl.h:171
MENU_FILE_SAVE
Definition: albaDecl.h:126
VIEW_RESIZE
Definition: albaDecl.h:221
INTERACTOR_ADD
Definition: albaDecl.h:306
KEY_PRESSED
used to send a key press event to the listener
Definition: albaDecl.h:424
MED_MAIN_EVENT_ID
Most of the constants used in ALBA are declared here.
Definition: albaDecl.h:433
@ WIZARD_UPDATE_WINDOW_TITLE
Definition: albaDecl.h:444
@ ID_GET_FILENAME
Definition: albaDecl.h:437
@ ID_VME_BEHAVIOR_UPDATE
Definition: albaDecl.h:434
@ WIZARD_RUN_CONTINUE
Definition: albaDecl.h:439
@ WIZARD_OP_DELETE
Definition: albaDecl.h:446
@ MENU_FILE_SNAPSHOT
Definition: albaDecl.h:435
@ WIZARD_RUN_STARTING
Definition: albaDecl.h:438
@ WIZARD_RUN_TERMINATED
Definition: albaDecl.h:440
@ MED_EVT_USER_START
Definition: albaDecl.h:454
@ WIZARD_INFORMATION_BOX_SHOW_GET
Definition: albaDecl.h:451
@ WIZARD_RELOAD_MSF
Definition: albaDecl.h:449
@ WIZARD_OP_NEW
Definition: albaDecl.h:447
@ WIZARD_SWITCH
Definition: albaDecl.h:448
@ MENU_FILE_MANAGE_SNAPSHOT
Definition: albaDecl.h:436
@ WIZARD_PAUSE
Definition: albaDecl.h:445
@ WIZARD_START
Definition: albaDecl.h:452
@ WIZARD_END
Definition: albaDecl.h:453
@ WIZARD_INFORMATION_BOX_SHOW_SET
Definition: albaDecl.h:450
@ WIZARD_DELETE_VIEW
Definition: albaDecl.h:442
@ WIZARD_RUN_OP
Definition: albaDecl.h:443
@ WIZARD_REQUIRED_VIEW
Definition: albaDecl.h:441
ID_CLOSE_SASH
Definition: albaDecl.h:353
MENU_VIEW_TOOLBAR
Definition: albaDecl.h:144
MOUSE_MOVE
Definition: albaDecl.h:297
VME_OUTPUT_DATA_PREUPDATE
issued by albaDataPipe before the output data is actually updated
Definition: albaDecl.h:409
VIEW_SAVE_IMAGE
Definition: albaDecl.h:222
MENU_START
Definition: albaDecl.h:122
EVT_START
Definition: albaDecl.h:185
VIEW_MAXIMIZE
Definition: albaDecl.h:220
STRING_DATA
Definition: albaDecl.h:84
LAYOUT_TWO_VERT
Definition: albaDecl.h:153
CAMERA_PERSPECTIVE_BOTTOM
Definition: albaDecl.h:250
CAMERA_RXFEM_ZNEG
Definition: albaDecl.h:267
VME_REMOVING
Definition: albaDecl.h:197
enum ALBA_EXPORT DEVICE_MODIFIERS
conventional key modifiers values
Definition: albaDecl.h:107
OP_TRANSFORM
Definition: albaDecl.h:340
MCH_END
Definition: albaDecl.h:395
OP_ADD_GROUP
Definition: albaDecl.h:338
ALBA_EXPORT FILE * albaTryOpenFile(const char *filename, const char *mode)
Tries to open the files and ask the user for try again.
ALBA_CTRL_KEY
Definition: albaDecl.h:109
ALBA_EXPORT float RoundValue(float f_in, int decimal_digits=2)
MCH_VTK
channel used to as a bridge from VTK objects
Definition: albaDecl.h:394
ALBA_EXPORT void albaEnableYielding(bool enable=true)
process pending events.
const int MAXWIDGET
Definition: albaDecl.h:70
MENU_VIEW_START
Definition: albaDecl.h:140
VIEW_QUIT
Definition: albaDecl.h:213
OP_USER
Definition: albaDecl.h:341
CAMERA_OS_X
Definition: albaDecl.h:241
OP_UNDO
Definition: albaDecl.h:330
MCH_NODE
channel used by nodes for sending events to observers
Definition: albaDecl.h:392
DEVICE_REMOVE
Definition: albaDecl.h:310
ALBA_EXPORT int * GetALBAExpertMode()
MENU_SETTINGS_END
Definition: albaDecl.h:173
ID_RANGE_MODIFIED
Definition: albaDecl.h:357
MOUSE_WHEEL
Definition: albaDecl.h:299
ALBA_EXPORT wxString albaGetApplicationDirectory()
return the application start-up directory
MCH_ANY
Id used by albaAgent to identify any channel connected to it.
Definition: albaDecl.h:393
DEVICE_GET
Definition: albaDecl.h:311
LOG_ALL_EVENT
Definition: albaDecl.h:292
OP_EXEC
Definition: albaDecl.h:276
LAYOUT_THREE_DOWN
Definition: albaDecl.h:156
CAMERA_RX_RIGHT
Definition: albaDecl.h:236
CAMERA_PERSPECTIVE_TOP
Definition: albaDecl.h:249
VME_OUTPUT_DATA_CHANGED
issued when the output data object has changed (i.e. object pointer changed)
Definition: albaDecl.h:411
NODE_END
Definition: albaDecl.h:413
ALBA_EXPORT void albaSetFrame(wxWindow *frame)
global function to retrieve the vme base type.
ID_LAYOUT
Definition: albaDecl.h:352
VIEW_END
Definition: albaDecl.h:347
MCH_DOWN
channel used to send events down in the tree
Definition: albaDecl.h:389
enum ALBA_EXPORT WIDGET_DATA_TYPE_ID
Data Type enum that identify data stored in WidgetDataType struct.
Definition: albaDecl.h:79
TIME_STOP
Definition: albaDecl.h:364
GENERATE_LICENCE
Definition: albaDecl.h:177
MENU_EDIT_START
Definition: albaDecl.h:136
ALBA_EXPORT void albaGetOpenMultiFiles(const char *path, const char *wildcard, std::vector< wxString > &files, const char *title="Open Files", wxWindow *parent=NULL)
show the File Open Dialog Box for multiple file selection
MENU_VIEW_END
Definition: albaDecl.h:163
MCH_UP
channel used to send events up in the tree
Definition: albaDecl.h:388
CAMERA_PRE_RESET
Definition: albaDecl.h:258
FLOAT_DATA
Definition: albaDecl.h:82
OP_END
Definition: albaDecl.h:342
ALBA_EXPORT wxString albaGetLastUserFolder()
return the Last User directory
TIME_BEGIN
Definition: albaDecl.h:367
EVT_END
Definition: albaDecl.h:320
WIDGETS_END
Definition: albaDecl.h:358
VME_OUTPUT_DATA_UPDATE
issued when the output data is updated
Definition: albaDecl.h:410
CAMERA_PERSPECTIVE_LEFT
Definition: albaDecl.h:247
ID_APP_SETTINGS
Definition: albaDecl.h:170
MAXID
Definition: albaDecl.h:422
VME_DCLICKED
Definition: albaDecl.h:199
MCH_INPUT
channel used for events coming from an input device
Definition: albaDecl.h:390
ALBA_EXPORT void albaResetRandomColor()
Resets the Random Color Selection used for test repeatability.
NODE_ATTACHED_TO_TREE
issued when the node is attached to the tree
Definition: albaDecl.h:400
CAMERA_RX_FRONT
Definition: albaDecl.h:234
CLEAR_UNDO_STACK
Definition: albaDecl.h:290
TIME_END
Definition: albaDecl.h:368
ALBA_MIDDLE_BUTTON
Definition: albaDecl.h:101
MENU_FILE_PRINT
Definition: albaDecl.h:130
MCH_START
Definition: albaDecl.h:387
CAMERA_RXFEM_XNEG
Definition: albaDecl.h:263
LAYOUT_FOUR
Definition: albaDecl.h:159
MENU_EDIT_END
Definition: albaDecl.h:139
OPEN_HELP_PAGE
Definition: albaDecl.h:182
ALBA_ANY_BUTTON
Definition: albaDecl.h:99
OP_ADD
Definition: albaDecl.h:273
TIME_PREV
Definition: albaDecl.h:365
ID_LABEL_CLICK
Definition: albaDecl.h:354
VME_ABSMATRIX_UPDATE
issued when absolute pose matrix is updated
Definition: albaDecl.h:408
SASH_START
Definition: albaDecl.h:143
ALBA_EXPORT wxWindow * albaGetFrame()
return the application frame window.
ALBA_EXPORT wxBitmap albaBlueScale(wxBitmap bmp)
Used to generate red scale bitmap to represent a VME with data not present.
VME_CHOOSE_MATERIAL
Definition: albaDecl.h:205
MENU_FILE_SAVEAS_LEGACY
Definition: albaDecl.h:128
CAMERA_RXFEM_XPOS
Definition: albaDecl.h:264
CAMERA_RIGHT
Definition: albaDecl.h:230
CAMERA_OS_Z
Definition: albaDecl.h:243
MATRIX_UPDATED
issue by a matrix pipe to advise consumers of output matrix updating
Definition: albaDecl.h:418
SHOW_TREE_CONTEXTUAL_MENU
Definition: albaDecl.h:303
VIEW_CLICKED
Definition: albaDecl.h:219
MENU_EDIT_FIND_VME
Definition: albaDecl.h:137
PARSE_STRING
Definition: albaDecl.h:383
CAMERA_FIT
Definition: albaDecl.h:256
OP_SHOW_GUI
Definition: albaDecl.h:282
MENU_VIEW_SIDEBAR
Definition: albaDecl.h:146
MENU_HELP_END
Definition: albaDecl.h:179
LAYOUT_ONE
Definition: albaDecl.h:152
GUI_HELP_START
Definition: albaDecl.h:180
INTERACTOR_REMOVE
Definition: albaDecl.h:307
MCH_OUTPUT
channel used for events sent to an output device
Definition: albaDecl.h:391
MENU_VIEW_LOGBAR
Definition: albaDecl.h:145
VIEW_START
Definition: albaDecl.h:346
OP_FORCE_STOP
Definition: albaDecl.h:284
VIEW_CREATED
Definition: albaDecl.h:215
PIC_START
Definition: albaDecl.h:361
CAMERA_TOP
Definition: albaDecl.h:231
DOUBLE_DATA
Definition: albaDecl.h:83
INT_DATA
Definition: albaDecl.h:81
AVATAR_REMOVED
used to advise the InteractionManager an avatar has been removed (issued by mmdTracker's)
Definition: albaDecl.h:416
CAMERA_RXFEM_YNEG
Definition: albaDecl.h:265
VME_MATRIX_CHANGED
issued when the matrix in the output has changed (e.g. when matrix pipe is changed at runtime)
Definition: albaDecl.h:405
VIEW_SELECTED
Definition: albaDecl.h:218
OP_SELECT
Definition: albaDecl.h:339
VME_SELECTED
Definition: albaDecl.h:200
PIC_END
Definition: albaDecl.h:379
PRINT_TREE
Definition: albaDecl.h:169
PIC_USER_END
Definition: albaDecl.h:381
LAYOUT_THREE_UP
Definition: albaDecl.h:155
OP_RUN_TERMINATED
Definition: albaDecl.h:281
CAMERA_BOTTOM
Definition: albaDecl.h:232
MENU_LAYOUT_START
Definition: albaDecl.h:151
IMPORT_FILE
Definition: albaDecl.h:288
CAMERA_OS_Y
Definition: albaDecl.h:242
CAMERA_RXFEM_YPOS
Definition: albaDecl.h:266
MENU_USER_END
Definition: albaDecl.h:323
ID_SETTINGS
Definition: albaDecl.h:356
BIND_TO_PROGRESSBAR
Definition: albaDecl.h:189
MENU_FILE_START
Definition: albaDecl.h:123
albaString - performs common string operations on c-strings.
Definition: albaString.h:43
enum ALBA_EXPORT MAIN_EVENT_ID
Most of the constants used in ALBA are declared here.
Definition: albaDecl.h:121
float fValue
Definition: albaDecl.h:90
double dValue
Definition: albaDecl.h:91
const char * sValue
Definition: albaDecl.h:92