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,
140 MENU_VIEW_LAYOUT, // call the Load/Save Layout Dialog
141 MENU_VIEW_LAYOUT_MSF, // call the Load/Save Layout_Msf Dialog
142 SASH_START, // ids of albaGUISashPanel/ ids of Dockable Panes - must be Menu events too
150 MENU_LAYOUT_START, // used by albaGUICrossSplitter
169 ID_APP_SETTINGS, // calls the Application-Settings-Panel - not implemented yet
170 ID_TIMEBAR_SETTINGS, // calls the TimeBar-Settings-Panel
171 ID_VIEW_SETTINGS, // calls the Selected-View-Settings-Panel
180 GET_BUILD_HELP_GUI, // sent from op, views or vme's to know if we are building the help gui in the application
181 OPEN_HELP_PAGE, // sent from an op, a view or a vme to open the corresponding help page
183
185 UPDATE_UI, // update menu and toolbar widgets
186 UPDATE_PROPERTY, // update vme property widgets
187 // connect a vtkObject to the ProgressBar
189 // manually set the ProgressBar status
194 // events about vme
195 VME_ADDED, // from albaVmeManager to albaLogic (to be removed Marco)
196 VME_REMOVING, // from albaVmeManager to albaLogic
197 VME_SELECT, // from albaGUITree or albaISV - run albaOpSelect
198 VME_DCLICKED, // from albaInteractorPER issued to infor logic that a double click has been done on a VME.
199 VME_SELECTED, // from albaOpSelect
200 VME_TRANSFORM, // from albaISV to albaLogic
201 VME_CHOOSE, // from a albaOp to receive more operands
202 VME_PICKED, // used sent to the listener a vtkPoint positioned at the picked position
203 VME_PICKING, // same as above, but send point position in continuous configuration (at each mouse motion)
207 VME_REF_SYS_CHOOSED, //from albaGUIVMERefSysChooser to a albaOp (to be moved elsewhere Marco)
208 VME_FEM_DATA_CHOOSED, //from albaGUIVMEFEMDataChooser to a albaOp (to be moved elsewhere Marco)
210
211 // events about views
212 VIEW_QUIT, // from keyboard, used specially to close external views.
213 VIEW_CREATE, // from menu to albaViewManager
214 VIEW_CREATED, // from albaViewManager to Logic
215 VIEW_DELETE, // from albaGUIMDIChild to albaViewManager
216 VIEW_SELECT, // from albaGUIMDIChild and albaGUIViewPanel to albaViewManager
217 VIEW_SELECTED, // used to ask to logic if there is a view selected and get a pointer to it
218 VIEW_CLICKED, // from albaRWIBase to albaGUIMDIChild and albaGUIViewPanel to albaViewManager
219 VIEW_MAXIMIZE, // from albaGUI to albaGUICrossSplitter
220 VIEW_RESIZE, // from anyone that want to block the view's size.
221 VIEW_SAVE_IMAGE,//from albaMDIChild to albaViewManager
222 PER_PUSH, // from an Operation to albaInteractionManager
223 PER_POP, // from an Operation to albaInteractionManager
225
226 CAMERA_FRONT, // constant used in albaRWIxxx to initialize Camera pos
250 CAMERA_ARB, //Camera with arbitrary look vector
251
252 CAMERA_SYNCHRONOUS_UPDATE, // from Interaction Manager to perform a view update
253 CAMERA_UPDATE, // events from the toolbar
259 CAMERA_MOVED, //Event invoked by albaInteractorCameraMove
260
261 // modified by Stefano 21-9-2004 (begin)
262 CAMERA_RXFEM_XNEG, //(to be moved elsewhere Marco)
263 CAMERA_RXFEM_XPOS, //(to be moved elsewhere Marco)
264 CAMERA_RXFEM_YNEG, //(to be moved elsewhere Marco)
265 CAMERA_RXFEM_YPOS, //(to be moved elsewhere Marco)
266 CAMERA_RXFEM_ZNEG, //(to be moved elsewhere Marco)
267 CAMERA_RXFEM_ZPOS, //(to be moved elsewhere Marco)
268 // //modified by Stefano 21-9-2004 (end)
269
271
272 OP_ADD, // events used by albaOpManager, albaOp and albaLogic
284
285 ITEM_SELECTED, //used by albaGUIListCtrl and Dictionary
286
287 IMPORT_FILE, // used when drag a non msf or zmsf file into the application as a VTK file.
288
289 CLEAR_UNDO_STACK, // used by albaGUIMDIFrame to clear UnDo stack when the application is running in low memory
290
293
294 //used by albaISATransform to talk with albaOpTransform
295 MOUSE_DOWN, //(to be removed Marco)
296 MOUSE_MOVE, //(to be removed Marco)
297 MOUSE_UP, //(to be removed Marco)
298 MOUSE_WHEEL, //(Used by albaGUI to send mouse wheel event to the listener) added by Losi 06/28/2012
299
300 ID_TRANSFORM, //added by Stefano. 30-11-2003
303
304
305 INTERACTOR_ADD, //modified by Marco. 25-8-2004 bind an interactor to an action
306 INTERACTOR_REMOVE, //modified by Marco. 25-8-2004 unbind an interactor from an action
307
311 // resize window
315
316 EVT_USER_START, // to be used from vertical applications
318
320
321 MENU_USER_START,// to be used from vertical applications
323
325
326 // ids of operations - used by albaOpManager and albaGUIFrame
327 // must be after MENU_END
342
343 // ids of views - used by albaViewManager and albaGUIFrame
344 // must be after MENU_END
347
348 // events sent by widget
349
351 ID_LAYOUT, //sent from a albaGUISashPanel to albaGUIFrame
352 ID_CLOSE_SASH, //sent from a albaGUIButton to albaGUISashPanel
353 ID_LABEL_CLICK, //sent from a albaGUILabel to albaGUIViewPanel
354 ID_DISPLAY_LIST, //sent from a albaGUIButton to albaGUIMDIChild - ask for display list menu
355 ID_SETTINGS, //sent from a albaGUIButton to albaGUIMDIChild - ask to display a view-settings-panel
356 ID_RANGE_MODIFIED, //sent from a albaGUILutSlider to albaGUIMDIChild - ask to Views
358
359 // id of pictures - used in albaGUIBitmaps
361 TIME_SET, //also sent by albaGUITimeBar to albaLogic
362 TIME_PLAY, //pictures used by the timebar
369 /*
370 APP_ICON,
371 PIC_NODE_BLUE, //picture used by the tree
372 PIC_NODE_YELLOW,
373 PIC_NODE_RED,
374 PIC_NODE_GRAY,
375 PIC_ZOOM_ALL, //picture used by the toolbar
376 PIC_ZOOM_SEL,
377 */
379 PIC_USER_START = PIC_START + 500,// to be used from vertical applications
380 PIC_USER_END = PIC_USER_START + 100,// to be used from vertical applications
381
382 PARSE_STRING, //Added by Paolo 16-9-2003 execute the operation passed as a string
384
385 // ids for event channels
395
396 // ids issued/observed by albaVME and albaVME
413
416
418
419 // const used by albaGUI and albaGUIValidator
422
424
425 ALBA_BASE_ID
426};
427
429{
451};
452
454{
457};
458
461//----------------------------------------------------------------------------
462// global functions
463//----------------------------------------------------------------------------
464
468ALBA_EXPORT extern wxWindow* albaGetFrame();
469
471//albaVmeBaseTypes albaGetBaseType(albaVME* vme); //(to be removed Marco)
472
474ALBA_EXPORT void albaSetFrame(wxWindow* frame);
475
477ALBA_EXPORT void albaYield();
478
480ALBA_EXPORT void albaEnableYielding(bool enable = true);
481
483ALBA_EXPORT wxString albaGetDirName(const char * initial, const char * title = "Select Directory", wxWindow *parent = NULL);
484
486ALBA_EXPORT wxString albaGetOpenFile(const char * initial, const char * wildcard, const char * title = "Open File", wxWindow *parent = NULL);
487
489ALBA_EXPORT void albaGetOpenMultiFiles(const char * path, const char * wildcard, std::vector<wxString> &files, const char * title = "Open Files", wxWindow *parent = NULL);
490
492ALBA_EXPORT wxString albaGetSaveFile(const char * initial, const char * wildcard, const char * title = "Save File", wxWindow *parent = NULL, bool warnOverWrite = true);
493
495ALBA_EXPORT void albaResetRandomColor();
496
498ALBA_EXPORT wxColour albaRandomColor();
499
501ALBA_EXPORT wxBitmap albaWhiteFade(wxBitmap bmp, double level = 0.5);
502
504ALBA_EXPORT wxBitmap albaBlueScale(wxBitmap bmp);
505
507ALBA_EXPORT wxString albaGetApplicationDirectory();
508
510ALBA_EXPORT wxString albaGetAppDataDirectory();
511
513ALBA_EXPORT wxString albaGetDocumentsDirectory();
514
516ALBA_EXPORT wxString albaGetLastUserFolder();
517
519ALBA_EXPORT void albaSetAppDebugDir(wxString ddir);
520
522ALBA_EXPORT wxString albaGetConfigDirectory();
523
525ALBA_EXPORT void albaSetLastUserFolder(albaString folder);
526
528ALBA_EXPORT wxString albaIdString(int id);
529
530ALBA_EXPORT float RoundValue(float f_in, int decimal_digits = 2);
531ALBA_EXPORT double RoundValue(double d_in, int decimal_digits = 2);
532
534ALBA_EXPORT void albaFormatDataSize(long long size, albaString& szOut);
535
536ALBA_EXPORT int* GetALBAExpertMode();
537
538#endif
TIME_PLAY
Definition: albaDecl.h:362
MOUSE_DOWN
Definition: albaDecl.h:295
PROGRESSBAR_SHOW
Definition: albaDecl.h:190
ALBA_EXPORT wxString albaIdString(int id)
translate an event-id into a readable string
MENU_VIEW_TIMEBAR
Definition: albaDecl.h:146
TIME_NEXT
Definition: albaDecl.h:365
ID_GUI_UPDATE
Definition: albaDecl.h:423
const int MAXOP
Definition: albaDecl.h:71
CAMERA_PERSPECTIVE_FRONT
Definition: albaDecl.h:244
CAMERA_RXFEM_ZPOS
Definition: albaDecl.h:267
NODE_DESTROYED
issued when the node is destroyed
Definition: albaDecl.h:400
CAMERA_POST_RESET
Definition: albaDecl.h:258
ALBA_SHIFT_KEY
Definition: albaDecl.h:108
MENU_FILE_QUIT
Definition: albaDecl.h:133
CAMERA_CT
Definition: albaDecl.h:239
VME_REF_SYS_CHOOSED
Definition: albaDecl.h:207
VME_GET_NEWITEM_ID
issued by VMEItems or DataVector to retrieve a new item-ID (served by albaVMERoot)
Definition: albaDecl.h:411
PROGRESSBAR_SET_VALUE
Definition: albaDecl.h:192
OP_RUN_CANCEL
Definition: albaDecl.h:278
PROGRESSBAR_HIDE
Definition: albaDecl.h:191
OP_REMOVE
Definition: albaDecl.h:273
MENU_OPTION_MEASURE_UNIT_SETTINGS
Definition: albaDecl.h:167
OP_PASTE
Definition: albaDecl.h:334
NODE_GET_STORAGE
issued by tree elements to retrieve the storage (served by albaVMERoot)
Definition: albaDecl.h:401
ALBA_EXPORT wxString albaGetAppDataDirectory()
return the WorkingData directory
CAMERA_RESET
Definition: albaDecl.h:254
OP_REDO
Definition: albaDecl.h:330
VME_MATRIX_UPDATE
issued when pose matrix is updated
Definition: albaDecl.h:406
VME_PICKING
Definition: albaDecl.h:203
CAMERA_DRR_LEFT
Definition: albaDecl.h:237
CAMERA_ARB
Definition: albaDecl.h:250
TILE_WINDOW_HORIZONTALLY
Definition: albaDecl.h:313
MENU_FILE_PRINT_PAGE_SETUP
Definition: albaDecl.h:132
EVT_USER_START
Definition: albaDecl.h:316
SASH_END
Definition: albaDecl.h:149
EVT_USER_END
Definition: albaDecl.h:317
ID_DISPLAY_LIST
Definition: albaDecl.h:354
CAMERA_MOVED
Definition: albaDecl.h:259
MINID
Definition: albaDecl.h:420
LAYOUT_THREE_RIGHT
Definition: albaDecl.h:157
OP_COPY
Definition: albaDecl.h:333
MENU_FILE_NEW
Definition: albaDecl.h:124
LOG_TO_FILE
Definition: albaDecl.h:292
ABOUT_APPLICATION
Definition: albaDecl.h:174
NODE_START
Definition: albaDecl.h:397
OP_RUN
Definition: albaDecl.h:276
MENU_OPTION_LOCALE_SETTINGS
Definition: albaDecl.h:166
ALBA_EXPORT wxColour albaRandomColor()
return a random wxColour from a palette of 16
GET_CURRENT_PER
Definition: albaDecl.h:224
CAMERA_LEFT
Definition: albaDecl.h:228
NULL_DATA
Definition: albaDecl.h:80
TILE_WINDOW_CASCADE
Definition: albaDecl.h:312
CAMERA_SYNCHRONOUS_UPDATE
Definition: albaDecl.h:252
GET_BUILD_HELP_GUI
Definition: albaDecl.h:180
MENU_USER_START
Definition: albaDecl.h:321
VME_FEM_DATA_CHOOSED
Definition: albaDecl.h:208
CAMERA_DRR_RIGHT
Definition: albaDecl.h:238
CAMERA_PERSPECTIVE_RIGHT
Definition: albaDecl.h:247
MENU_END
Definition: albaDecl.h:324
VIEW_CREATE
Definition: albaDecl.h:213
NODE_DETACHED_FROM_TREE
issued when the node is detachment from the tree
Definition: albaDecl.h:398
CAMERA_OS_P
Definition: albaDecl.h:243
TILE_WINDOW_VERTICALLY
Definition: albaDecl.h:314
MENU_FILE_END
Definition: albaDecl.h:134
ALBA_EXPORT wxString albaGetDocumentsDirectory()
return the Documents directory
MENU_VIEW_LAYOUT_MSF
Definition: albaDecl.h:141
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:140
OP_DELETE
Definition: albaDecl.h:331
MENU_VIEW_USER_LAST
Definition: albaDecl.h:148
CAMERA_FRONT
Definition: albaDecl.h:226
OP_RUN_STARTING
Definition: albaDecl.h:279
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:205
MENU_OP
Definition: albaDecl.h:137
VME_SELECT
Definition: albaDecl.h:197
PIC_USER_START
Definition: albaDecl.h:379
CAMERA_RX_LEFT
Definition: albaDecl.h:234
MENU_FILE_PRINT_SETUP
Definition: albaDecl.h:131
CREATE_STORAGE
Definition: albaDecl.h:209
VIEW_SELECT
Definition: albaDecl.h:216
PER_POP
Definition: albaDecl.h:223
TIME_SET
Definition: albaDecl.h:361
OP_CUT
Definition: albaDecl.h:332
PER_PUSH
Definition: albaDecl.h:222
SHOW_VIEW_CONTEXTUAL_MENU
Definition: albaDecl.h:301
OP_HIDE_GUI
Definition: albaDecl.h:282
CAMERA_PERSPECTIVE
Definition: albaDecl.h:232
HELP_HOME
Definition: albaDecl.h:177
VME_MATRIX_PREUPDATE
issued by albaMatrixPipe before updating the matrix
Definition: albaDecl.h:405
CAMERA_FLYTO
Definition: albaDecl.h:256
VME_CHOOSE_FEM_PROPERTY
Definition: albaDecl.h:206
PROGRESSBAR_SET_TEXT
Definition: albaDecl.h:193
LAYOUT_SAVE
Definition: albaDecl.h:160
VME_PICKED
Definition: albaDecl.h:202
OP_ENABLE
Definition: albaDecl.h:274
AVATAR_ADDED
used to advise the InteractionManager an avatar has been added (issued by mmdTracker's)
Definition: albaDecl.h:414
ALBA_EXPORT wxString albaGetConfigDirectory()
return the config directory
MENU_FILE_PRINT_PREVIEW
Definition: albaDecl.h:130
MENU_OPTION_APPLICATION_SETTINGS
Definition: albaDecl.h:164
ALBA_EXPORT void albaYield()
process pending events.
const int MAXVIEW
Definition: albaDecl.h:72
MOVIE_RECORD
Definition: albaDecl.h:368
MENU_SETTINGS_START
Definition: albaDecl.h:163
CAMERA_DRR_FRONT
Definition: albaDecl.h:236
LAYOUT_THREE_LEFT
Definition: albaDecl.h:156
MENU_VIEW_USER_FIRST
Definition: albaDecl.h:147
OP_REPARENT
Definition: albaDecl.h:336
ALBA_EXPORT void albaSetAppDebugDir(wxString ddir)
return the Last User directory
ID_TRANSFORM
Definition: albaDecl.h:300
VME_TIME_SET
used either to set or to advise of time changes
Definition: albaDecl.h:403
OP_RENAME
Definition: albaDecl.h:335
const int MAXWIZARD
Definition: albaDecl.h:73
LAYOUT_LOAD
Definition: albaDecl.h:159
ID_VIEW_SETTINGS
Definition: albaDecl.h:171
OP_START
Definition: albaDecl.h:328
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:350
CAMERA_PERSPECTIVE_BACK
Definition: albaDecl.h:245
UPDATE_PROPERTY
Definition: albaDecl.h:186
MENU_HELP_START
Definition: albaDecl.h:173
VME_TRANSFORM
Definition: albaDecl.h:200
CAMERA_BACK
Definition: albaDecl.h:227
REGISTER_PRODUCT
Definition: albaDecl.h:175
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:182
MED_MENU_EVENT_ID
Most of the constants used in ALBA are declared here.
Definition: albaDecl.h:454
@ MENU_WIZARD
Definition: albaDecl.h:455
@ MED_MENU_USER_START
Definition: albaDecl.h:456
LAYOUT_TWO_HORZ
Definition: albaDecl.h:153
APPSTAMP
Definition: albaDecl.h:383
MOUSE_UP
Definition: albaDecl.h:297
CAMERA_BLEND
Definition: albaDecl.h:270
MENU_OPTION_DEVICE_SETTINGS
Definition: albaDecl.h:165
MENU_FILE_OPEN
Definition: albaDecl.h:125
UPDATE_UI
Definition: albaDecl.h:185
MENU_FILE_MERGE
Definition: albaDecl.h:128
VME_CHOOSE
Definition: albaDecl.h:201
OP_RUN_OK
Definition: albaDecl.h:277
VIEW_DELETE
Definition: albaDecl.h:215
MENU_LAYOUT_END
Definition: albaDecl.h:161
ITEM_SELECTED
Definition: albaDecl.h:285
VME_ADDED
Definition: albaDecl.h:195
DEVICE_ADD
Definition: albaDecl.h:308
NODE_GET_ROOT
issued by subnode components to extract ROOT node
Definition: albaDecl.h:402
enum ALBA_EXPORT DEVICE_BUTTONS
conventional device button values
Definition: albaDecl.h:98
CAMERA_UPDATE
Definition: albaDecl.h:253
MENU_FILE_SAVEAS
Definition: albaDecl.h:127
ID_TIMEBAR_SETTINGS
Definition: albaDecl.h:170
MENU_FILE_SAVE
Definition: albaDecl.h:126
VIEW_RESIZE
Definition: albaDecl.h:220
INTERACTOR_ADD
Definition: albaDecl.h:305
MED_MAIN_EVENT_ID
Most of the constants used in ALBA are declared here.
Definition: albaDecl.h:429
@ WIZARD_UPDATE_WINDOW_TITLE
Definition: albaDecl.h:440
@ ID_GET_FILENAME
Definition: albaDecl.h:433
@ ID_VME_BEHAVIOR_UPDATE
Definition: albaDecl.h:430
@ WIZARD_RUN_CONTINUE
Definition: albaDecl.h:435
@ WIZARD_OP_DELETE
Definition: albaDecl.h:442
@ MENU_FILE_SNAPSHOT
Definition: albaDecl.h:431
@ WIZARD_RUN_STARTING
Definition: albaDecl.h:434
@ WIZARD_RUN_TERMINATED
Definition: albaDecl.h:436
@ MED_EVT_USER_START
Definition: albaDecl.h:450
@ WIZARD_INFORMATION_BOX_SHOW_GET
Definition: albaDecl.h:447
@ WIZARD_RELOAD_MSF
Definition: albaDecl.h:445
@ WIZARD_OP_NEW
Definition: albaDecl.h:443
@ WIZARD_SWITCH
Definition: albaDecl.h:444
@ MENU_FILE_MANAGE_SNAPSHOT
Definition: albaDecl.h:432
@ WIZARD_PAUSE
Definition: albaDecl.h:441
@ WIZARD_START
Definition: albaDecl.h:448
@ WIZARD_END
Definition: albaDecl.h:449
@ WIZARD_INFORMATION_BOX_SHOW_SET
Definition: albaDecl.h:446
@ WIZARD_DELETE_VIEW
Definition: albaDecl.h:438
@ WIZARD_RUN_OP
Definition: albaDecl.h:439
@ WIZARD_REQUIRED_VIEW
Definition: albaDecl.h:437
ID_CLOSE_SASH
Definition: albaDecl.h:352
MENU_VIEW_TOOLBAR
Definition: albaDecl.h:143
MOUSE_MOVE
Definition: albaDecl.h:296
VME_OUTPUT_DATA_PREUPDATE
issued by albaDataPipe before the output data is actually updated
Definition: albaDecl.h:408
VIEW_SAVE_IMAGE
Definition: albaDecl.h:221
MENU_START
Definition: albaDecl.h:122
EVT_START
Definition: albaDecl.h:184
VIEW_MAXIMIZE
Definition: albaDecl.h:219
STRING_DATA
Definition: albaDecl.h:84
LAYOUT_TWO_VERT
Definition: albaDecl.h:152
CAMERA_PERSPECTIVE_BOTTOM
Definition: albaDecl.h:249
CAMERA_RXFEM_ZNEG
Definition: albaDecl.h:266
VME_REMOVING
Definition: albaDecl.h:196
enum ALBA_EXPORT DEVICE_MODIFIERS
conventional key modifiers values
Definition: albaDecl.h:107
OP_TRANSFORM
Definition: albaDecl.h:339
MCH_END
Definition: albaDecl.h:394
OP_ADD_GROUP
Definition: albaDecl.h:337
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:393
ALBA_EXPORT void albaEnableYielding(bool enable=true)
process pending events.
const int MAXWIDGET
Definition: albaDecl.h:70
MENU_VIEW_START
Definition: albaDecl.h:139
VIEW_QUIT
Definition: albaDecl.h:212
OP_USER
Definition: albaDecl.h:340
CAMERA_OS_X
Definition: albaDecl.h:240
OP_UNDO
Definition: albaDecl.h:329
MCH_NODE
channel used by nodes for sending events to observers
Definition: albaDecl.h:391
DEVICE_REMOVE
Definition: albaDecl.h:309
ALBA_EXPORT int * GetALBAExpertMode()
MENU_SETTINGS_END
Definition: albaDecl.h:172
ID_RANGE_MODIFIED
Definition: albaDecl.h:356
MOUSE_WHEEL
Definition: albaDecl.h:298
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:392
DEVICE_GET
Definition: albaDecl.h:310
LOG_ALL_EVENT
Definition: albaDecl.h:291
OP_EXEC
Definition: albaDecl.h:275
LAYOUT_THREE_DOWN
Definition: albaDecl.h:155
CAMERA_RX_RIGHT
Definition: albaDecl.h:235
CAMERA_PERSPECTIVE_TOP
Definition: albaDecl.h:248
VME_OUTPUT_DATA_CHANGED
issued when the output data object has changed (i.e. object pointer changed)
Definition: albaDecl.h:410
NODE_END
Definition: albaDecl.h:412
ALBA_EXPORT void albaSetFrame(wxWindow *frame)
global function to retrieve the vme base type.
ID_LAYOUT
Definition: albaDecl.h:351
VIEW_END
Definition: albaDecl.h:346
MCH_DOWN
channel used to send events down in the tree
Definition: albaDecl.h:388
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:363
GENERATE_LICENCE
Definition: albaDecl.h:176
MENU_EDIT_START
Definition: albaDecl.h:135
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:162
MCH_UP
channel used to send events up in the tree
Definition: albaDecl.h:387
CAMERA_PRE_RESET
Definition: albaDecl.h:257
FLOAT_DATA
Definition: albaDecl.h:82
OP_END
Definition: albaDecl.h:341
ALBA_EXPORT wxString albaGetLastUserFolder()
return the Last User directory
TIME_BEGIN
Definition: albaDecl.h:366
EVT_END
Definition: albaDecl.h:319
WIDGETS_END
Definition: albaDecl.h:357
VME_OUTPUT_DATA_UPDATE
issued when the output data is updated
Definition: albaDecl.h:409
CAMERA_PERSPECTIVE_LEFT
Definition: albaDecl.h:246
ID_APP_SETTINGS
Definition: albaDecl.h:169
MAXID
Definition: albaDecl.h:421
VME_DCLICKED
Definition: albaDecl.h:198
MCH_INPUT
channel used for events coming from an input device
Definition: albaDecl.h:389
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:399
CAMERA_RX_FRONT
Definition: albaDecl.h:233
CLEAR_UNDO_STACK
Definition: albaDecl.h:289
TIME_END
Definition: albaDecl.h:367
ALBA_MIDDLE_BUTTON
Definition: albaDecl.h:101
MENU_FILE_PRINT
Definition: albaDecl.h:129
MCH_START
Definition: albaDecl.h:386
CAMERA_RXFEM_XNEG
Definition: albaDecl.h:262
LAYOUT_FOUR
Definition: albaDecl.h:158
MENU_EDIT_END
Definition: albaDecl.h:138
OPEN_HELP_PAGE
Definition: albaDecl.h:181
ALBA_ANY_BUTTON
Definition: albaDecl.h:99
OP_ADD
Definition: albaDecl.h:272
TIME_PREV
Definition: albaDecl.h:364
ID_LABEL_CLICK
Definition: albaDecl.h:353
VME_ABSMATRIX_UPDATE
issued when absolute pose matrix is updated
Definition: albaDecl.h:407
SASH_START
Definition: albaDecl.h:142
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:204
CAMERA_RXFEM_XPOS
Definition: albaDecl.h:263
CAMERA_RIGHT
Definition: albaDecl.h:229
CAMERA_OS_Z
Definition: albaDecl.h:242
MATRIX_UPDATED
issue by a matrix pipe to advise consumers of output matrix updating
Definition: albaDecl.h:417
SHOW_TREE_CONTEXTUAL_MENU
Definition: albaDecl.h:302
VIEW_CLICKED
Definition: albaDecl.h:218
MENU_EDIT_FIND_VME
Definition: albaDecl.h:136
PARSE_STRING
Definition: albaDecl.h:382
CAMERA_FIT
Definition: albaDecl.h:255
OP_SHOW_GUI
Definition: albaDecl.h:281
MENU_VIEW_SIDEBAR
Definition: albaDecl.h:145
MENU_HELP_END
Definition: albaDecl.h:178
LAYOUT_ONE
Definition: albaDecl.h:151
GUI_HELP_START
Definition: albaDecl.h:179
INTERACTOR_REMOVE
Definition: albaDecl.h:306
MCH_OUTPUT
channel used for events sent to an output device
Definition: albaDecl.h:390
MENU_VIEW_LOGBAR
Definition: albaDecl.h:144
VIEW_START
Definition: albaDecl.h:345
OP_FORCE_STOP
Definition: albaDecl.h:283
VIEW_CREATED
Definition: albaDecl.h:214
PIC_START
Definition: albaDecl.h:360
CAMERA_TOP
Definition: albaDecl.h:230
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:415
CAMERA_RXFEM_YNEG
Definition: albaDecl.h:264
VME_MATRIX_CHANGED
issued when the matrix in the output has changed (e.g. when matrix pipe is changed at runtime)
Definition: albaDecl.h:404
VIEW_SELECTED
Definition: albaDecl.h:217
OP_SELECT
Definition: albaDecl.h:338
VME_SELECTED
Definition: albaDecl.h:199
PIC_END
Definition: albaDecl.h:378
PRINT_TREE
Definition: albaDecl.h:168
PIC_USER_END
Definition: albaDecl.h:380
LAYOUT_THREE_UP
Definition: albaDecl.h:154
OP_RUN_TERMINATED
Definition: albaDecl.h:280
CAMERA_BOTTOM
Definition: albaDecl.h:231
MENU_LAYOUT_START
Definition: albaDecl.h:150
IMPORT_FILE
Definition: albaDecl.h:287
CAMERA_OS_Y
Definition: albaDecl.h:241
CAMERA_RXFEM_YPOS
Definition: albaDecl.h:265
MENU_USER_END
Definition: albaDecl.h:322
ID_SETTINGS
Definition: albaDecl.h:355
BIND_TO_PROGRESSBAR
Definition: albaDecl.h:188
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