483ALBA_EXPORT wxString
albaGetDirName(
const char * initial,
const char * title =
"Select Directory", wxWindow *parent = NULL);
486ALBA_EXPORT wxString
albaGetOpenFile(
const char * initial,
const char * wildcard,
const char * title =
"Open File", wxWindow *parent = NULL);
489ALBA_EXPORT
void albaGetOpenMultiFiles(
const char * path,
const char * wildcard, std::vector<wxString> &files,
const char * title =
"Open Files", wxWindow *parent = NULL);
492ALBA_EXPORT wxString
albaGetSaveFile(
const char * initial,
const char * wildcard,
const char * title =
"Save File", wxWindow *parent = NULL,
bool warnOverWrite =
true);
530ALBA_EXPORT
float RoundValue(
float f_in,
int decimal_digits = 2);
531ALBA_EXPORT
double RoundValue(
double d_in,
int decimal_digits = 2);
ALBA_EXPORT wxString albaIdString(int id)
translate an event-id into a readable string
NODE_DESTROYED
issued when the node is destroyed
VME_GET_NEWITEM_ID
issued by VMEItems or DataVector to retrieve a new item-ID (served by albaVMERoot)
MENU_OPTION_MEASURE_UNIT_SETTINGS
NODE_GET_STORAGE
issued by tree elements to retrieve the storage (served by albaVMERoot)
ALBA_EXPORT wxString albaGetAppDataDirectory()
return the WorkingData directory
VME_MATRIX_UPDATE
issued when pose matrix is updated
MENU_FILE_PRINT_PAGE_SETUP
MENU_OPTION_LOCALE_SETTINGS
ALBA_EXPORT wxColour albaRandomColor()
return a random wxColour from a palette of 16
CAMERA_SYNCHRONOUS_UPDATE
NODE_DETACHED_FROM_TREE
issued when the node is detachment from the tree
ALBA_EXPORT wxString albaGetDocumentsDirectory()
return the Documents directory
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.
ALBA_EXPORT wxBitmap albaWhiteFade(wxBitmap bmp, double level=0.5)
Used to generate gray scale bitmap given a colored one.
VME_CHOOSE_TRANSFER_FUNCTION
SHOW_VIEW_CONTEXTUAL_MENU
VME_MATRIX_PREUPDATE
issued by albaMatrixPipe before updating the matrix
AVATAR_ADDED
used to advise the InteractionManager an avatar has been added (issued by mmdTracker's)
ALBA_EXPORT wxString albaGetConfigDirectory()
return the config directory
MENU_OPTION_APPLICATION_SETTINGS
ALBA_EXPORT void albaYield()
process pending events.
ALBA_EXPORT void albaSetAppDebugDir(wxString ddir)
return the Last User directory
VME_TIME_SET
used either to set or to advise of time changes
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.
ALBA_EXPORT wxString albaGetOpenFile(const char *initial, const char *wildcard, const char *title="Open File", wxWindow *parent=NULL)
show the File Open Dialog Box
MED_MENU_EVENT_ID
Most of the constants used in ALBA are declared here.
MENU_OPTION_DEVICE_SETTINGS
NODE_GET_ROOT
issued by subnode components to extract ROOT node
enum ALBA_EXPORT DEVICE_BUTTONS
conventional device button values
MED_MAIN_EVENT_ID
Most of the constants used in ALBA are declared here.
@ WIZARD_UPDATE_WINDOW_TITLE
@ WIZARD_INFORMATION_BOX_SHOW_GET
@ MENU_FILE_MANAGE_SNAPSHOT
@ WIZARD_INFORMATION_BOX_SHOW_SET
VME_OUTPUT_DATA_PREUPDATE
issued by albaDataPipe before the output data is actually updated
CAMERA_PERSPECTIVE_BOTTOM
enum ALBA_EXPORT DEVICE_MODIFIERS
conventional key modifiers values
ALBA_EXPORT float RoundValue(float f_in, int decimal_digits=2)
MCH_VTK
channel used to as a bridge from VTK objects
ALBA_EXPORT void albaEnableYielding(bool enable=true)
process pending events.
MCH_NODE
channel used by nodes for sending events to observers
ALBA_EXPORT int * GetALBAExpertMode()
ALBA_EXPORT wxString albaGetApplicationDirectory()
return the application start-up directory
MCH_ANY
Id used by albaAgent to identify any channel connected to it.
VME_OUTPUT_DATA_CHANGED
issued when the output data object has changed (i.e. object pointer changed)
ALBA_EXPORT void albaSetFrame(wxWindow *frame)
global function to retrieve the vme base type.
MCH_DOWN
channel used to send events down in the tree
enum ALBA_EXPORT WIDGET_DATA_TYPE_ID
Data Type enum that identify data stored in WidgetDataType struct.
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
MCH_UP
channel used to send events up in the tree
ALBA_EXPORT wxString albaGetLastUserFolder()
return the Last User directory
VME_OUTPUT_DATA_UPDATE
issued when the output data is updated
MCH_INPUT
channel used for events coming from an input device
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
VME_ABSMATRIX_UPDATE
issued when absolute pose matrix is updated
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.
MATRIX_UPDATED
issue by a matrix pipe to advise consumers of output matrix updating
SHOW_TREE_CONTEXTUAL_MENU
MCH_OUTPUT
channel used for events sent to an output device
AVATAR_REMOVED
used to advise the InteractionManager an avatar has been removed (issued by mmdTracker's)
VME_MATRIX_CHANGED
issued when the matrix in the output has changed (e.g. when matrix pipe is changed at runtime)
albaString - performs common string operations on c-strings.
enum ALBA_EXPORT MAIN_EVENT_ID
Most of the constants used in ALBA are declared here.