ALBA
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
albaLogicWithManagers Class Reference

#include <albaLogicWithManagers.h>

Inheritance diagram for albaLogicWithManagers:
Inheritance graph
[legend]
Collaboration diagram for albaLogicWithManagers:
Collaboration graph
[legend]

Public Member Functions

 albaLogicWithManagers (albaGUIMDIFrame *mdiFrame=NULL)
 
virtual ~albaLogicWithManagers ()
 
virtual void OnEvent (albaEventBase *alba_event)
 
virtual void Plug (albaView *view, bool visibleInMenu=true)
 
virtual void Plug (albaOp *op, wxString menuPath="", bool canUndo=true, albaGUISettings *setting=NULL)
 
virtual void Configure ()
 
void CreateToolBarsAndPanels ()
 
virtual void Init (int argc, char **argv)
 
void PlugVMEManager (bool b)
 
void PlugViewManager (bool b)
 
void PlugOpManager (bool b)
 
void PlugInteractionManger (bool b)
 
void PlugWizardManager (bool b)
 
void PlugSnapshotManager (bool b)
 
void PlugProsthesisDBManager (albaString passPhrase="")
 
virtual void Plug (albaWizard *wizard, wxString menuPath="")
 
virtual void Show ()
 
void FillMenus ()
 
albaUserGetUser ()
 
void SetApplicationStamp (albaString &app_stamp)
 
virtual void HandleException ()
 
int AppEventFilter (wxEvent &event)
 
void ALBAExpertModeOn ()
 
void ALBAExpertModeOff ()
 
void SetALBAExpertMode (int value)
 
void SetFileExtension (albaString &extension)
 
virtual albaGUIMDIFrameGetTopWin ()
 
void PlugToolbar (bool plug)
 
void PlugSidebar (bool plug)
 
void PlugTimebar (bool plug)
 
void PlugLogbar (bool plug)
 
virtual void ShowSplashScreen ()
 
virtual void ShowSplashScreen (wxBitmap &splashImage, wxString message="", int x=0, int y=0, wxColour color= *wxBLACK)
 
bool IsOperationRunning ()
 
virtual const char * GetMsfFileExtension ()
 
virtual albaOpManagerGetOpManager () const
 
virtual albaViewManagerGetViewManager ()
 
virtual void PrintImage (albaVMEImage *img)
 
eventfilterFunc GetEventFilterFunc () const
 
void SetEventFilterFunc (eventfilterFunc val)
 
mmaApplicationLayoutGetLayout ()
 
virtual albaProsthesesDBManagerGetProsthesesDBManager ()
 
void PlugStandardOperations ()
 
void PlugStandardViews ()
 
albaString GetAboutImage () const
 
void SetAboutImage (albaString aboutImage)
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Static Public Member Functions

static void ShowWebSite (wxString url)
 

Protected Member Functions

virtual void UpdateTimeBounds ()
 
virtual void TimeSet (double t)
 
virtual void CreateMenu ()
 
virtual void CreateStorage (albaEvent *e)
 
virtual void CreateAndPlugToolbar ()
 
virtual void CreateToolbar ()
 
virtual void CreateControlPanel ()
 
virtual void CreateTimeBar ()
 
virtual void CreateLogPanel ()
 
void CreateNullLog ()
 
void EnableItem (int item, bool enable)
 
void StoreLayout ()
 
virtual void RestoreLayout ()
 
virtual void OnFileNew ()
 
virtual void OnFileOpen (const char *file_to_open=NULL)
 
virtual void OnFileHistory (int menuId)
 
virtual void OnFileSave ()
 
virtual void OnFileSaveAs ()
 
virtual void OnQuit ()
 
virtual void ImportExternalFile (albaString &filename)
 
virtual void VmeSelect (albaVME *vme)
 
virtual void VmeSelected (albaVME *vme)
 
void SelectLandmark (albaVMELandmark *lm, bool select)
 
virtual void VmeDoubleClicked (albaEvent &e)
 
virtual void VmeShow (albaVME *vme, bool visibility)
 
void ShowLandmarkCloud (albaVMELandmarkCloud *lmc, bool visibility)
 
void ShowInSideBar (albaVME *vme, bool visibility)
 
void ShowLandmark (albaVMELandmark *lm, bool visibility)
 
virtual void VmeModified (albaVME *vme)
 
virtual void VmeAdd (albaVME *vme)
 
virtual void VmeAdded (albaVME *vme)
 
virtual void VmeRemove (albaVME *vme)
 
virtual void VmeRemoving (albaVME *vme)
 
virtual void VmeRemoved ()
 
virtual void VmeVisualModeChanged (albaVME *vme)
 
virtual void VmeChooseMaterial (albaVME *vme, bool updateProperty)
 
virtual void VmeUpdateProperties (albaVME *vme, bool updatePropertyFromTag)
 
virtual void OpRunStarting ()
 
virtual void OpRunTerminated (int runOk)
 
virtual void OpShowGui (bool push_gui, albaGUIPanel *panel)
 
virtual void OpHideGui (bool view_closed)
 
virtual void TreeContextualMenu (albaEvent &e)
 
virtual void ViewContextualMenu (bool vme_menu)
 
virtual void ViewCreate (int viewId)
 
virtual void ViewCreated (albaView *v)
 
virtual void ViewSelect ()
 
virtual void CameraUpdate ()
 
virtual void CameraReset ()
 
virtual void EnableCameraUpdateSkip ()
 
virtual void DisableCameraUpdateSkip ()
 
void UpdateMeasureUnit ()
 
virtual void EnableMenuAndToolbar ()
 
virtual void UpdateFrameTitle ()
 
virtual void ConfigureWizardManager ()
 
virtual void WizardRunStarting ()
 
virtual void WizardRunTerminated ()
 
virtual void CreateWizardToolbar ()
 

Protected Attributes

albaAbsSideBarm_SideBar
 
albaVMEManagerm_VMEManager
 
albaViewManagerm_ViewManager
 
albaOpManagerm_OpManager
 
albaInteractionManagerm_InteractionManager
 
albaHelpManagerm_HelpManager
 
albaSnapshotManagerm_SnapshotManager
 
albaVMELandmark * m_SelectedLandmark
 
albaProsthesesDBManagerm_ProsthesisDBManager
 
albaGUIMaterialChooserm_MaterialChooser
 
albaPrintManagerm_PrintSupport
 
albaDeviceButtonsPadMousem_Mouse
 
mmaApplicationLayoutm_AppLayout
 
wxMenu * m_ImportMenu
 
wxMenu * m_ExportMenu
 
wxMenu * m_RecentFileMenu
 
wxMenu * m_OpMenu
 
wxMenu * m_ViewMenu
 
bool m_UseVMEManager
 
bool m_UseViewManager
 
bool m_UseOpManager
 
bool m_UseInteractionManager
 
bool m_UseHelpManager
 
bool m_UseSnapshotManager
 
eventfilterFunc m_EventFilterFunc
 
albaGUISettingsDialogm_SettingsDialog
 
albaGUIAboutDialogm_AboutDialog
 
albaString m_BuildNum
 
albaString m_Extension
 
albaUserm_User
 
albaWizardManagerm_WizardManager
 
bool m_UseWizardManager
 
bool m_WizardRunning
 
bool m_RunningOperation
 
wxGauge * m_WizardGauge
 
wxStaticText * m_WizardLabel
 
bool m_CancelledBeforeOpStarting
 
wxMenu * m_WizardMenu
 
albaGUISplashScreenm_SplashScreen
 
long m_ChildFrameStyle
 
albaGUIMDIFramem_Win
 
wxToolBar * m_ToolBar
 
wxMenuBar * m_MenuBar
 
wxString m_LastSelectedPanel
 
albaGUITimeBarm_TimePanel
 
wxString m_AppTitle
 
albaString m_AboutImage
 
bool m_LogToFile
 
albaWXLogm_Logger
 
albaVTKLogm_VtkLog
 
int m_SkipCameraUpdate
 
albaGUIApplicationSettingsm_ApplicationSettings
 
albaGUISettingsTimeBarm_TimeBarSettings
 
bool m_Quitting
 
bool m_PlugMenu
 
bool m_PlugToolbar
 
bool m_PlugControlPanel
 
long m_SidebarStyle
 
bool m_PlugTimebar
 
bool m_PlugLogPanel
 
bool m_ShowStorageSettings
 
bool m_ShowInteractionSettings
 
bool m_FatalExptionOccurred
 
bool m_OpeningMSF
 

Detailed Description

albaLogicWithManagers provide:

The PlugXXX functions must be called before the first Show(). In derived classes it is recommended to pass to albaLogicWithGUI::OnEvent() the unhandled events.

albaLogicWithManagers also provide the following standard operation:

albaLogicWithManagers also provide to enable/disable the user interface elements following the requirement of the application status.

Derived classes can replace any of these manager with a customized version.

It is Recommended that Derived Classes call albaLogicWithManagers::OnEvent to for every un-handled event.

USAGE - member function MUST be called in this order: – create a albaLogicWithManagers object (-> create the mainwindow) – call PlugXXX: to customize the GUI and the Managers – call Configure: to create the GUI and the managers – call Plug to plug-in operations and views – call Show it is before Init, to eventually show the Progress-bar during a Load – call Init(argc,argv) will call MSFNew or MSFLoad

Tech NOTE: Proper Initialization must follow this order 1- CTOR: 2- Configure: (create the GUI el. - cant be in the CTOR because calls virtual functions) in sub classes also create the manager 3- Plug Op, Plug View , ... 4- Show: 5- Init: Calls FileOpen or FileNew

Definition at line 113 of file albaLogicWithManagers.h.

Constructor & Destructor Documentation

◆ albaLogicWithManagers()

albaLogicWithManagers::albaLogicWithManagers ( albaGUIMDIFrame mdiFrame = NULL)

◆ ~albaLogicWithManagers()

virtual albaLogicWithManagers::~albaLogicWithManagers ( )
virtual

Member Function Documentation

◆ OnEvent()

virtual void albaLogicWithManagers::OnEvent ( albaEventBase alba_event)
virtual

Events management.

Implements albaObserver.

◆ Plug() [1/3]

virtual void albaLogicWithManagers::Plug ( albaView view,
bool  visibleInMenu = true 
)
virtual

Plug a new view.

◆ Plug() [2/3]

virtual void albaLogicWithManagers::Plug ( albaOp op,
wxString  menuPath = "",
bool  canUndo = true,
albaGUISettings setting = NULL 
)
virtual

Plug a new operation and its undo flag: if the operation does not support undo the undo flag has no effect.

◆ Configure()

virtual void albaLogicWithManagers::Configure ( )
virtual

Configure the application.

At this point are plugged all the managers, the side-bar docking panel. Are plugged also all the setting to the dialogs interface.

◆ CreateToolBarsAndPanels()

void albaLogicWithManagers::CreateToolBarsAndPanels ( )

Creates menu and tool bars.

◆ Init()

virtual void albaLogicWithManagers::Init ( int  argc,
char **  argv 
)
virtual

Program Initialization.

◆ PlugVMEManager()

void albaLogicWithManagers::PlugVMEManager ( bool  b)
inline

Must be called before Configure.

Definition at line 142 of file albaLogicWithManagers.h.

◆ PlugViewManager()

void albaLogicWithManagers::PlugViewManager ( bool  b)
inline

Must be called before Configure.

Definition at line 145 of file albaLogicWithManagers.h.

◆ PlugOpManager()

void albaLogicWithManagers::PlugOpManager ( bool  b)
inline

Must be called before Configure.

Definition at line 148 of file albaLogicWithManagers.h.

◆ PlugInteractionManger()

void albaLogicWithManagers::PlugInteractionManger ( bool  b)
inline

Must be called before Configure.

Definition at line 151 of file albaLogicWithManagers.h.

◆ PlugWizardManager()

void albaLogicWithManagers::PlugWizardManager ( bool  b)
inline

Must be called before Configure.

Definition at line 154 of file albaLogicWithManagers.h.

◆ PlugSnapshotManager()

void albaLogicWithManagers::PlugSnapshotManager ( bool  b)
inline

Must be called before Configure.

Definition at line 157 of file albaLogicWithManagers.h.

◆ PlugProsthesisDBManager()

void albaLogicWithManagers::PlugProsthesisDBManager ( albaString  passPhrase = "")

◆ Plug() [3/3]

virtual void albaLogicWithManagers::Plug ( albaWizard wizard,
wxString  menuPath = "" 
)
virtual

Plug a new wizard.

◆ Show()

virtual void albaLogicWithManagers::Show ( )
virtual

Set the application stamp to the VMEManager and Shows the application.

◆ FillMenus()

void albaLogicWithManagers::FillMenus ( )

Fill the View and operation menu's

◆ GetUser()

albaUser * albaLogicWithManagers::GetUser ( )
inline

Return the applications' user.

Definition at line 172 of file albaLogicWithManagers.h.

◆ SetApplicationStamp()

void albaLogicWithManagers::SetApplicationStamp ( albaString app_stamp)

Set the application stamp for the application, if set to OPEN_ALL_DATA let's the application to open all msf file.

As default the application stamp is the name of the application and it is set into the Show() method.

◆ HandleException()

virtual void albaLogicWithManagers::HandleException ( )
virtual

Manage application exception and allow to save at least the tree.

◆ AppEventFilter()

int albaLogicWithManagers::AppEventFilter ( wxEvent &  event)

Manage application Events.

◆ ALBAExpertModeOn()

void albaLogicWithManagers::ALBAExpertModeOn ( )
inline

Set ALBA Expert Mode.

Definition at line 187 of file albaLogicWithManagers.h.

References GetALBAExpertMode().

Here is the call graph for this function:

◆ ALBAExpertModeOff()

void albaLogicWithManagers::ALBAExpertModeOff ( )
inline

Definition at line 188 of file albaLogicWithManagers.h.

References GetALBAExpertMode().

Here is the call graph for this function:

◆ SetALBAExpertMode()

void albaLogicWithManagers::SetALBAExpertMode ( int  value)
inline

Definition at line 189 of file albaLogicWithManagers.h.

References GetALBAExpertMode().

Here is the call graph for this function:

◆ SetFileExtension()

void albaLogicWithManagers::SetFileExtension ( albaString extension)
inline

Set the file extension.

Definition at line 192 of file albaLogicWithManagers.h.

◆ GetTopWin()

virtual albaGUIMDIFrame * albaLogicWithManagers::GetTopWin ( )
inlinevirtual

Returns the pointer to the main panel of the application.

Definition at line 195 of file albaLogicWithManagers.h.

◆ PlugToolbar()

void albaLogicWithManagers::PlugToolbar ( bool  plug)
inline

Sets the flag to know if Toolbar should be built.

Definition at line 198 of file albaLogicWithManagers.h.

◆ PlugSidebar()

void albaLogicWithManagers::PlugSidebar ( bool  plug)
inline

Sets the flag to know if Side bar should be built.

Definition at line 200 of file albaLogicWithManagers.h.

◆ PlugTimebar()

void albaLogicWithManagers::PlugTimebar ( bool  plug)
inline

Sets the flag to know if Time bar should be built.

Definition at line 202 of file albaLogicWithManagers.h.

◆ PlugLogbar()

void albaLogicWithManagers::PlugLogbar ( bool  plug)
inline

Sets the flag to know if Log bar should be built.

Definition at line 204 of file albaLogicWithManagers.h.

◆ ShowSplashScreen() [1/2]

virtual void albaLogicWithManagers::ShowSplashScreen ( )
virtual

Show the splash screen for the application.

To define your own splash screen image simply overwrite the SPLASH_SCREEN image into the picture factory by plugging your .xpm image.

See also
albaPictureFactory

◆ ShowSplashScreen() [2/2]

virtual void albaLogicWithManagers::ShowSplashScreen ( wxBitmap &  splashImage,
wxString  message = "",
int  x = 0,
int  y = 0,
wxColour  color = *wxBLACK 
)
virtual

Used to give a splash screen image directly from the bitmap without converting it in xpm.

◆ ShowWebSite()

static void albaLogicWithManagers::ShowWebSite ( wxString  url)
static

◆ IsOperationRunning()

bool albaLogicWithManagers::IsOperationRunning ( )
inline

Returns true if there is a Running Operation.

Definition at line 218 of file albaLogicWithManagers.h.

◆ GetMsfFileExtension()

virtual const char * albaLogicWithManagers::GetMsfFileExtension ( )
inlinevirtual

Definition at line 221 of file albaLogicWithManagers.h.

◆ GetOpManager()

virtual albaOpManager * albaLogicWithManagers::GetOpManager ( ) const
inlinevirtual

Definition at line 224 of file albaLogicWithManagers.h.

◆ GetViewManager()

virtual albaViewManager * albaLogicWithManagers::GetViewManager ( )
inlinevirtual

Definition at line 226 of file albaLogicWithManagers.h.

◆ PrintImage()

virtual void albaLogicWithManagers::PrintImage ( albaVMEImage *  img)
virtual

◆ GetEventFilterFunc()

eventfilterFunc albaLogicWithManagers::GetEventFilterFunc ( ) const
inline

Definition at line 230 of file albaLogicWithManagers.h.

◆ SetEventFilterFunc()

void albaLogicWithManagers::SetEventFilterFunc ( eventfilterFunc  val)
inline

Definition at line 232 of file albaLogicWithManagers.h.

◆ GetLayout()

mmaApplicationLayout * albaLogicWithManagers::GetLayout ( )
inline

Get application layout.

Definition at line 235 of file albaLogicWithManagers.h.

◆ GetProsthesesDBManager()

virtual albaProsthesesDBManager * albaLogicWithManagers::GetProsthesesDBManager ( )
virtual

◆ PlugStandardOperations()

void albaLogicWithManagers::PlugStandardOperations ( )

Plugs a list of standard operations, importer and exporters included.

◆ PlugStandardViews()

void albaLogicWithManagers::PlugStandardViews ( )

Plugs a list of standard operations, importer and exporters included.

◆ GetAboutImage()

albaString albaLogicWithManagers::GetAboutImage ( ) const
inline

Returns AboutImage.

Definition at line 247 of file albaLogicWithManagers.h.

◆ SetAboutImage()

void albaLogicWithManagers::SetAboutImage ( albaString  aboutImage)
inline

Sets AboutImage.

Definition at line 250 of file albaLogicWithManagers.h.

◆ UpdateTimeBounds()

virtual void albaLogicWithManagers::UpdateTimeBounds ( )
protectedvirtual

◆ TimeSet()

virtual void albaLogicWithManagers::TimeSet ( double  t)
protectedvirtual

◆ CreateMenu()

virtual void albaLogicWithManagers::CreateMenu ( )
protectedvirtual

Redefined to add View,Op,Import,Export menu.

◆ CreateStorage()

virtual void albaLogicWithManagers::CreateStorage ( albaEvent e)
protectedvirtual

create a new storage object

◆ CreateAndPlugToolbar()

virtual void albaLogicWithManagers::CreateAndPlugToolbar ( )
protectedvirtual

This method creates and add the Toolbar, for specific app toolbar override the CreateToolBar method.

◆ CreateToolbar()

virtual void albaLogicWithManagers::CreateToolbar ( )
protectedvirtual

This method creates the toolbar, override this method for specific app toolbars.

◆ CreateControlPanel()

virtual void albaLogicWithManagers::CreateControlPanel ( )
protectedvirtual

Virtual method to create the side bar.

◆ CreateTimeBar()

virtual void albaLogicWithManagers::CreateTimeBar ( )
protectedvirtual

Virtual method to create the time bar.

◆ CreateLogPanel()

virtual void albaLogicWithManagers::CreateLogPanel ( )
protectedvirtual

Virtual method to create the log bar.

◆ CreateNullLog()

void albaLogicWithManagers::CreateNullLog ( )
protected

Create a null logger.

This is used when no log is due.

◆ EnableItem()

void albaLogicWithManagers::EnableItem ( int  item,
bool  enable 
)
protected

Enable/disable a Toolbar or Menu Item.

◆ StoreLayout()

void albaLogicWithManagers::StoreLayout ( )
protected

Stores application layout.

◆ RestoreLayout()

virtual void albaLogicWithManagers::RestoreLayout ( )
protectedvirtual

Restores application layout.

◆ OnFileNew()

virtual void albaLogicWithManagers::OnFileNew ( )
protectedvirtual

FILE NEW evt.

handler

◆ OnFileOpen()

virtual void albaLogicWithManagers::OnFileOpen ( const char *  file_to_open = NULL)
protectedvirtual

FILE OPEN evt.

handler. By default (file_to_open = NULL) it ask the user to choose a file to open, otherwise it open the given one.

◆ OnFileHistory()

virtual void albaLogicWithManagers::OnFileHistory ( int  menuId)
protectedvirtual

FILE HISTORY evt.

handler

◆ OnFileSave()

virtual void albaLogicWithManagers::OnFileSave ( )
protectedvirtual

FILE SAVE evt.

handler

◆ OnFileSaveAs()

virtual void albaLogicWithManagers::OnFileSaveAs ( )
protectedvirtual

FILE SAVEAS evt.

handler

◆ OnQuit()

virtual void albaLogicWithManagers::OnQuit ( )
protectedvirtual

Called on Quit event.

◆ ImportExternalFile()

virtual void albaLogicWithManagers::ImportExternalFile ( albaString filename)
protectedvirtual

Called when a user drag a non msf or zmsf file over the application.

Example: dragging a VTK file over the application cause the application to inport it through the importer.

◆ VmeSelect()

virtual void albaLogicWithManagers::VmeSelect ( albaVME vme)
protectedvirtual

Respond to a VME_SELECT evt.

Update the selection on the tree and view representation.

◆ VmeSelected()

virtual void albaLogicWithManagers::VmeSelected ( albaVME vme)
protectedvirtual

Respond to a VME_SELECTED evt.

Update the selection on the tree and view representation.

◆ SelectLandmark()

void albaLogicWithManagers::SelectLandmark ( albaVMELandmark *  lm,
bool  select 
)
protected

Called from VmeSelect to select a LM.

◆ VmeDoubleClicked()

virtual void albaLogicWithManagers::VmeDoubleClicked ( albaEvent e)
protectedvirtual

Respond to a VME_DCLICKED evt.

Manage the 'Double click' on Selected VME.

◆ VmeShow()

virtual void albaLogicWithManagers::VmeShow ( albaVME vme,
bool  visibility 
)
protectedvirtual

Show/Hide the vme.

◆ ShowLandmarkCloud()

void albaLogicWithManagers::ShowLandmarkCloud ( albaVMELandmarkCloud *  lmc,
bool  visibility 
)
protected

Called from VmeShow to show a LM cloud.

◆ ShowInSideBar()

void albaLogicWithManagers::ShowInSideBar ( albaVME vme,
bool  visibility 
)
protected

Show VME in the side bar.

◆ ShowLandmark()

void albaLogicWithManagers::ShowLandmark ( albaVMELandmark *  lm,
bool  visibility 
)
protected

◆ VmeModified()

virtual void albaLogicWithManagers::VmeModified ( albaVME vme)
protectedvirtual

Respond to a vme Modified evt.

◆ VmeAdd()

virtual void albaLogicWithManagers::VmeAdd ( albaVME vme)
protectedvirtual

Add a new vme to the tree.

◆ VmeAdded()

virtual void albaLogicWithManagers::VmeAdded ( albaVME vme)
protectedvirtual

Respond to a VME_ADDED evt.

propagate evt. to SideBar,ViewManager,ecc..

◆ VmeRemove()

virtual void albaLogicWithManagers::VmeRemove ( albaVME vme)
protectedvirtual

Remove a vme from the tree.

◆ VmeRemoving()

virtual void albaLogicWithManagers::VmeRemoving ( albaVME vme)
protectedvirtual

Respond to a VME_REMOVING evt.

propagate evt. to SideBar,ViewManager,ecc..

◆ VmeRemoved()

virtual void albaLogicWithManagers::VmeRemoved ( )
protectedvirtual

called from VME after removing

◆ VmeVisualModeChanged()

virtual void albaLogicWithManagers::VmeVisualModeChanged ( albaVME vme)
protectedvirtual

◆ VmeChooseMaterial()

virtual void albaLogicWithManagers::VmeChooseMaterial ( albaVME vme,
bool  updateProperty 
)
protectedvirtual

Build a dialog to show all available materials.

◆ VmeUpdateProperties()

virtual void albaLogicWithManagers::VmeUpdateProperties ( albaVME vme,
bool  updatePropertyFromTag 
)
protectedvirtual

◆ OpRunStarting()

virtual void albaLogicWithManagers::OpRunStarting ( )
protectedvirtual

Called when an operation starts.

Disable all menu and lock the Selection

◆ OpRunTerminated()

virtual void albaLogicWithManagers::OpRunTerminated ( int  runOk)
protectedvirtual

Called when an operation stops.

Re-enable all menu and unlock the Selection

◆ OpShowGui()

virtual void albaLogicWithManagers::OpShowGui ( bool  push_gui,
albaGUIPanel panel 
)
protectedvirtual

Show the gui of the running operation or the settings of the selected view.

◆ OpHideGui()

virtual void albaLogicWithManagers::OpHideGui ( bool  view_closed)
protectedvirtual

Hide the setting's gui when a view is destroyed.

◆ TreeContextualMenu()

virtual void albaLogicWithManagers::TreeContextualMenu ( albaEvent e)
protectedvirtual

Show contextual menu for tree when right mouse click arrives.

◆ ViewContextualMenu()

virtual void albaLogicWithManagers::ViewContextualMenu ( bool  vme_menu)
protectedvirtual

Show contextual menu for views when right mouse click arrives.

◆ ViewCreate()

virtual void albaLogicWithManagers::ViewCreate ( int  viewId)
protectedvirtual

Create a new view.

◆ ViewCreated()

virtual void albaLogicWithManagers::ViewCreated ( albaView v)
protectedvirtual

A new View has Been Created - Logic must create the View Frame.

◆ ViewSelect()

virtual void albaLogicWithManagers::ViewSelect ( )
protectedvirtual

Select a view and update the display list for the tree.

◆ CameraUpdate()

virtual void albaLogicWithManagers::CameraUpdate ( )
protectedvirtual

◆ CameraReset()

virtual void albaLogicWithManagers::CameraReset ( )
protectedvirtual

◆ EnableCameraUpdateSkip()

virtual void albaLogicWithManagers::EnableCameraUpdateSkip ( )
protectedvirtual

enter in Camera Update Skip Modality, useful to avoid flickering or incomplete visualizations

◆ DisableCameraUpdateSkip()

virtual void albaLogicWithManagers::DisableCameraUpdateSkip ( )
protectedvirtual

exit the Camera Update Skip Modality

◆ UpdateMeasureUnit()

void albaLogicWithManagers::UpdateMeasureUnit ( )
protected

Called when user change the measure unit from menù Options.

◆ EnableMenuAndToolbar()

virtual void albaLogicWithManagers::EnableMenuAndToolbar ( )
protectedvirtual

Enable/Disable menu items when an operation start/end running.

◆ UpdateFrameTitle()

virtual void albaLogicWithManagers::UpdateFrameTitle ( )
protectedvirtual

Called after FileOpen or Save operation.

◆ ConfigureWizardManager()

virtual void albaLogicWithManagers::ConfigureWizardManager ( )
protectedvirtual

to be added

◆ WizardRunStarting()

virtual void albaLogicWithManagers::WizardRunStarting ( )
protectedvirtual

Called when an wizard starts.

Disable all menu and lock the Selection

◆ WizardRunTerminated()

virtual void albaLogicWithManagers::WizardRunTerminated ( )
protectedvirtual

Called when an wizard stops.

Re-enable all menu and unlock the Selection

◆ CreateWizardToolbar()

virtual void albaLogicWithManagers::CreateWizardToolbar ( )
protectedvirtual

Redefined to add Print buttons.

Member Data Documentation

◆ m_SideBar

albaAbsSideBar* albaLogicWithManagers::m_SideBar
protected

Definition at line 417 of file albaLogicWithManagers.h.

◆ m_VMEManager

albaVMEManager* albaLogicWithManagers::m_VMEManager
protected

Definition at line 418 of file albaLogicWithManagers.h.

◆ m_ViewManager

albaViewManager* albaLogicWithManagers::m_ViewManager
protected

Definition at line 419 of file albaLogicWithManagers.h.

◆ m_OpManager

albaOpManager* albaLogicWithManagers::m_OpManager
protected

Definition at line 420 of file albaLogicWithManagers.h.

◆ m_InteractionManager

albaInteractionManager* albaLogicWithManagers::m_InteractionManager
protected

Definition at line 421 of file albaLogicWithManagers.h.

◆ m_HelpManager

albaHelpManager* albaLogicWithManagers::m_HelpManager
protected

Definition at line 422 of file albaLogicWithManagers.h.

◆ m_SnapshotManager

albaSnapshotManager* albaLogicWithManagers::m_SnapshotManager
protected

Definition at line 423 of file albaLogicWithManagers.h.

◆ m_SelectedLandmark

albaVMELandmark* albaLogicWithManagers::m_SelectedLandmark
protected

Definition at line 424 of file albaLogicWithManagers.h.

◆ m_ProsthesisDBManager

albaProsthesesDBManager* albaLogicWithManagers::m_ProsthesisDBManager
protected

Definition at line 425 of file albaLogicWithManagers.h.

◆ m_MaterialChooser

albaGUIMaterialChooser* albaLogicWithManagers::m_MaterialChooser
protected

Definition at line 428 of file albaLogicWithManagers.h.

◆ m_PrintSupport

albaPrintManager* albaLogicWithManagers::m_PrintSupport
protected

Definition at line 429 of file albaLogicWithManagers.h.

◆ m_Mouse

albaDeviceButtonsPadMouse* albaLogicWithManagers::m_Mouse
protected

Definition at line 431 of file albaLogicWithManagers.h.

◆ m_AppLayout

mmaApplicationLayout* albaLogicWithManagers::m_AppLayout
protected

Definition at line 433 of file albaLogicWithManagers.h.

◆ m_ImportMenu

wxMenu* albaLogicWithManagers::m_ImportMenu
protected

Definition at line 435 of file albaLogicWithManagers.h.

◆ m_ExportMenu

wxMenu* albaLogicWithManagers::m_ExportMenu
protected

Definition at line 436 of file albaLogicWithManagers.h.

◆ m_RecentFileMenu

wxMenu* albaLogicWithManagers::m_RecentFileMenu
protected

Definition at line 437 of file albaLogicWithManagers.h.

◆ m_OpMenu

wxMenu* albaLogicWithManagers::m_OpMenu
protected

Definition at line 438 of file albaLogicWithManagers.h.

◆ m_ViewMenu

wxMenu* albaLogicWithManagers::m_ViewMenu
protected

Definition at line 439 of file albaLogicWithManagers.h.

◆ m_UseVMEManager

bool albaLogicWithManagers::m_UseVMEManager
protected

Definition at line 441 of file albaLogicWithManagers.h.

◆ m_UseViewManager

bool albaLogicWithManagers::m_UseViewManager
protected

Definition at line 442 of file albaLogicWithManagers.h.

◆ m_UseOpManager

bool albaLogicWithManagers::m_UseOpManager
protected

Definition at line 443 of file albaLogicWithManagers.h.

◆ m_UseInteractionManager

bool albaLogicWithManagers::m_UseInteractionManager
protected

Definition at line 444 of file albaLogicWithManagers.h.

◆ m_UseHelpManager

bool albaLogicWithManagers::m_UseHelpManager
protected

Definition at line 445 of file albaLogicWithManagers.h.

◆ m_UseSnapshotManager

bool albaLogicWithManagers::m_UseSnapshotManager
protected

Definition at line 446 of file albaLogicWithManagers.h.

◆ m_EventFilterFunc

eventfilterFunc albaLogicWithManagers::m_EventFilterFunc
protected

Definition at line 448 of file albaLogicWithManagers.h.

◆ m_SettingsDialog

albaGUISettingsDialog* albaLogicWithManagers::m_SettingsDialog
protected

Definition at line 450 of file albaLogicWithManagers.h.

◆ m_AboutDialog

albaGUIAboutDialog* albaLogicWithManagers::m_AboutDialog
protected

Definition at line 451 of file albaLogicWithManagers.h.

◆ m_BuildNum

albaString albaLogicWithManagers::m_BuildNum
protected

Definition at line 453 of file albaLogicWithManagers.h.

◆ m_Extension

albaString albaLogicWithManagers::m_Extension
protected

Definition at line 454 of file albaLogicWithManagers.h.

◆ m_User

albaUser* albaLogicWithManagers::m_User
protected

Applications' user.

Definition at line 456 of file albaLogicWithManagers.h.

◆ m_WizardManager

albaWizardManager* albaLogicWithManagers::m_WizardManager
protected

Definition at line 458 of file albaLogicWithManagers.h.

◆ m_UseWizardManager

bool albaLogicWithManagers::m_UseWizardManager
protected

Definition at line 459 of file albaLogicWithManagers.h.

◆ m_WizardRunning

bool albaLogicWithManagers::m_WizardRunning
protected

Definition at line 460 of file albaLogicWithManagers.h.

◆ m_RunningOperation

bool albaLogicWithManagers::m_RunningOperation
protected

Definition at line 461 of file albaLogicWithManagers.h.

◆ m_WizardGauge

wxGauge* albaLogicWithManagers::m_WizardGauge
protected

Definition at line 462 of file albaLogicWithManagers.h.

◆ m_WizardLabel

wxStaticText* albaLogicWithManagers::m_WizardLabel
protected

Definition at line 463 of file albaLogicWithManagers.h.

◆ m_CancelledBeforeOpStarting

bool albaLogicWithManagers::m_CancelledBeforeOpStarting
protected

Definition at line 464 of file albaLogicWithManagers.h.

◆ m_WizardMenu

wxMenu* albaLogicWithManagers::m_WizardMenu
protected

Definition at line 465 of file albaLogicWithManagers.h.

◆ m_SplashScreen

albaGUISplashScreen* albaLogicWithManagers::m_SplashScreen
protected

Definition at line 466 of file albaLogicWithManagers.h.

◆ m_ChildFrameStyle

long albaLogicWithManagers::m_ChildFrameStyle
protected

Definition at line 468 of file albaLogicWithManagers.h.

◆ m_Win

albaGUIMDIFrame* albaLogicWithManagers::m_Win
protected

Definition at line 469 of file albaLogicWithManagers.h.

◆ m_ToolBar

wxToolBar* albaLogicWithManagers::m_ToolBar
protected

Definition at line 470 of file albaLogicWithManagers.h.

◆ m_MenuBar

wxMenuBar* albaLogicWithManagers::m_MenuBar
protected

Definition at line 471 of file albaLogicWithManagers.h.

◆ m_LastSelectedPanel

wxString albaLogicWithManagers::m_LastSelectedPanel
protected

Definition at line 472 of file albaLogicWithManagers.h.

◆ m_TimePanel

albaGUITimeBar* albaLogicWithManagers::m_TimePanel
protected

Definition at line 473 of file albaLogicWithManagers.h.

◆ m_AppTitle

wxString albaLogicWithManagers::m_AppTitle
protected

Definition at line 474 of file albaLogicWithManagers.h.

◆ m_AboutImage

albaString albaLogicWithManagers::m_AboutImage
protected

Definition at line 475 of file albaLogicWithManagers.h.

◆ m_LogToFile

bool albaLogicWithManagers::m_LogToFile
protected

Definition at line 477 of file albaLogicWithManagers.h.

◆ m_Logger

albaWXLog* albaLogicWithManagers::m_Logger
protected

Definition at line 478 of file albaLogicWithManagers.h.

◆ m_VtkLog

albaVTKLog* albaLogicWithManagers::m_VtkLog
protected

Definition at line 479 of file albaLogicWithManagers.h.

◆ m_SkipCameraUpdate

int albaLogicWithManagers::m_SkipCameraUpdate
protected

Definition at line 481 of file albaLogicWithManagers.h.

◆ m_ApplicationSettings

albaGUIApplicationSettings* albaLogicWithManagers::m_ApplicationSettings
protected

Definition at line 483 of file albaLogicWithManagers.h.

◆ m_TimeBarSettings

albaGUISettingsTimeBar* albaLogicWithManagers::m_TimeBarSettings
protected

Definition at line 484 of file albaLogicWithManagers.h.

◆ m_Quitting

bool albaLogicWithManagers::m_Quitting
protected

Variable that allows to determine if the application is Quitting or not.

Definition at line 486 of file albaLogicWithManagers.h.

◆ m_PlugMenu

bool albaLogicWithManagers::m_PlugMenu
protected

Flag to plug or not the Menu into the application. Default is true.

Definition at line 487 of file albaLogicWithManagers.h.

◆ m_PlugToolbar

bool albaLogicWithManagers::m_PlugToolbar
protected

Flag to plug or not the Toolbar into the application. Default is true.

Definition at line 488 of file albaLogicWithManagers.h.

◆ m_PlugControlPanel

bool albaLogicWithManagers::m_PlugControlPanel
protected

Flag to plug or not the Side-bar into the application. Default is true.

Definition at line 489 of file albaLogicWithManagers.h.

◆ m_SidebarStyle

long albaLogicWithManagers::m_SidebarStyle
protected

Store the style of the sidebar. Old style (ALBA 1.x): SINGLE_NOTEBOOK or new style (ALBA 2.x): DOUBLE_NOTEBOOK.

Definition at line 490 of file albaLogicWithManagers.h.

◆ m_PlugTimebar

bool albaLogicWithManagers::m_PlugTimebar
protected

Flag to plug or not the Time-bar into the application. Default is true.

Definition at line 491 of file albaLogicWithManagers.h.

◆ m_PlugLogPanel

bool albaLogicWithManagers::m_PlugLogPanel
protected

Flag to plug or not the Log area into the application. Default is true.

Definition at line 492 of file albaLogicWithManagers.h.

◆ m_ShowStorageSettings

bool albaLogicWithManagers::m_ShowStorageSettings
protected

Flag to show storage setting default is false.

Definition at line 493 of file albaLogicWithManagers.h.

◆ m_ShowInteractionSettings

bool albaLogicWithManagers::m_ShowInteractionSettings
protected

Flag to show storage setting default is false.

Definition at line 494 of file albaLogicWithManagers.h.

◆ m_FatalExptionOccurred

bool albaLogicWithManagers::m_FatalExptionOccurred
protected

Definition at line 495 of file albaLogicWithManagers.h.

◆ m_OpeningMSF

bool albaLogicWithManagers::m_OpeningMSF
protected

Definition at line 496 of file albaLogicWithManagers.h.


The documentation for this class was generated from the following file: