ALBA
albaSnapshotManager.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaSnapshotManager
5 Authors: Nicola Vanella
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16
17#ifndef __albaSnapshotManager_H__
18#define __albaSnapshotManager_H__
19
20//----------------------------------------------------------------------------
21// includes :
22//----------------------------------------------------------------------------
23#include "albaDefines.h"
24#include "albaObserver.h"
25#include "albaGUI.h"
26#include "albaGUISettings.h"
27
28//----------------------------------------------------------------------------
29// forward reference
30//----------------------------------------------------------------------------
31
32class albaVMEGroup;
35
40{
41public:
42
45
48
50 virtual void OnEvent(albaEventBase *alba_event);
51
52 /* Create snapshot from selected view*/
53 void CreateSnapshot(albaVME *node, albaView *selectedView);
54
55 /* Find or Create Snapshots group*/
57
58 /* Show a Preview of Snapshots*/
60
61 /* Get Number of snapshots*/
63
64 bool HasSnapshots(albaVME *root);
65
66 /* Return the snapshots group*/
67 albaVMEGroup* GetSnapshotGroup() { return m_SnapshotsGroup; };
68
69 /* Set the snapshots group*/
70 void SetSnapshotGroup(albaVMEGroup* group) { m_SnapshotsGroup = group; };
71
72 /* Set Mouse for imageViewer interaction*/
74
75 /* Return the gui for Settings Dialog*/
77
78protected:
79
82
84
85 wxString m_GroupName;
86 albaVMEGroup *m_SnapshotsGroup;
88
90
95
96private:
98};
99#endif
Implementation of the message object for the Subject/Observer design pattern.
Definition: albaEventBase.h:49
class name: albaGUIImageViewer
class name: albaGUISettings base class for more complex specified classes regarding the setting of ap...
albaGUI is a panel with function to easily create GUI.
Definition: albaGUI.h:110
albaLogicWithManagers provide:
Interface implementing the Observer of the Subject/Observer design pattern.
Definition: albaObserver.h:36
Class Name: albaSnapshotManager.
virtual void OnEvent(albaEventBase *alba_event)
Event Management.
bool HasSnapshots(albaVME *root)
~albaSnapshotManager()
Default destructor.
void FindOrCreateSnapshotGroup(albaVME *root)
void SetMouse(albaDeviceButtonsPadMouse *mouse)
void SetSnapshotGroup(albaVMEGroup *group)
albaGUIImageViewer * m_ImageViewer
void InitializeSettings()
Initialize the application settings.
void CreateSnapshot(albaVME *node, albaView *selectedView)
albaVMEGroup * GetSnapshotGroup()
albaSnapshotManager()
Default constructor.
albaVMEGroup * m_SnapshotsGroup
albaGUI * GetSettingsGui()
albaVME -
Definition: albaVME.h:150
albaView is the base class for Views in alba.
Definition: albaView.h:79