#include <albaViewManager.h>
An implementation of albaViewManager with [D]ynamic view [C]reation feature.
Definition at line 57 of file albaViewManager.h.
◆ albaViewManager()
albaViewManager::albaViewManager |
( |
| ) |
|
◆ ~albaViewManager()
albaViewManager::~albaViewManager |
( |
| ) |
|
◆ SetListener()
void albaViewManager::SetListener |
( |
albaObserver * |
Listener | ) |
|
|
inline |
◆ OnEvent()
process the events sent by subjects
Implements albaObserver.
◆ FillMenu()
void albaViewManager::FillMenu |
( |
wxMenu * |
menu | ) |
|
Fill the main menù with plugged views.
◆ IsVisibleInMenu()
bool albaViewManager::IsVisibleInMenu |
( |
albaView * |
v | ) |
|
Check if the view 'v' should be hidden from the 'View' menu.
◆ VmeAdd()
void albaViewManager::VmeAdd |
( |
albaVME * |
n | ) |
|
Add the vme to all views.
◆ VmeRemove()
void albaViewManager::VmeRemove |
( |
albaVME * |
n | ) |
|
Remove the vme from all views.
◆ VmeSelect()
void albaViewManager::VmeSelect |
( |
albaVME * |
vme | ) |
|
Show the selection of the vme in all views.
◆ VmeShow()
void albaViewManager::VmeShow |
( |
albaVME * |
vme, |
|
|
bool |
show |
|
) |
| |
Show/Hide the vme in the selected view.
◆ VmeModified()
void albaViewManager::VmeModified |
( |
albaVME * |
vme | ) |
|
inform the views that a vme was modified
◆ ViewAdd()
virtual void albaViewManager::ViewAdd |
( |
albaView * |
view, |
|
|
bool |
visibleInMenu = true |
|
) |
| |
|
virtual |
Add the View to the view-list.
◆ ViewSelected()
void albaViewManager::ViewSelected |
( |
albaView * |
view | ) |
|
Pass the selected render window to the mouse device.
◆ Activate()
void albaViewManager::Activate |
( |
albaView * |
view | ) |
|
Activate the view from software to simulate the click on the view (used by remote).
◆ ViewCreate() [1/2]
virtual albaView * albaViewManager::ViewCreate |
( |
int |
id | ) |
|
|
virtual |
Create a view at index 'id' of the view-list.
◆ ViewCreate() [2/2]
virtual albaView * albaViewManager::ViewCreate |
( |
wxString |
label | ) |
|
|
virtual |
Create a view given the type.
◆ ViewInsert()
void albaViewManager::ViewInsert |
( |
albaView * |
view | ) |
|
Insert the view into the view-list, fill the view with the vme tree and select the selected vme.
◆ ViewDelete()
virtual void albaViewManager::ViewDelete |
( |
albaView * |
view | ) |
|
|
virtual |
Remove the view from the view-list and delete it.
◆ ViewDeleteAll()
virtual void albaViewManager::ViewDeleteAll |
( |
| ) |
|
|
virtual |
◆ CameraReset() [1/2]
void albaViewManager::CameraReset |
( |
bool |
sel = false | ) |
|
Reset the camera to fit the selected vme (if sel = true) or all (if sel = false).
apply to the selected view only.
◆ CameraReset() [2/2]
void albaViewManager::CameraReset |
( |
albaVME * |
vme | ) |
|
Reset the camera to fit the specified vme.
apply to the selected view only.
◆ CameraUpdate()
void albaViewManager::CameraUpdate |
( |
bool |
only_selected = false | ) |
|
Update the camera for all opened views; optionally the Update can be limited for the selected view.
◆ CameraFlyToMode()
void albaViewManager::CameraFlyToMode |
( |
| ) |
|
Set the FlyTo mode for the selected view.
◆ PropertyUpdate()
void albaViewManager::PropertyUpdate |
( |
bool |
fromTag = false | ) |
|
Call PropertyUpdate for all views.
◆ GetSelectedView()
albaView * albaViewManager::GetSelectedView |
( |
| ) |
|
Return the selected view.
◆ GetCurrentRoot()
albaVME * albaViewManager::GetCurrentRoot |
( |
| ) |
|
|
inline |
◆ GetList()
◆ GetFromList()
albaView * albaViewManager::GetFromList |
( |
const char * |
label | ) |
|
Return a view (defined by label) if is present on open wiews list.
◆ GetListTemplate()
albaView ** albaViewManager::GetListTemplate |
( |
| ) |
|
|
inline |
◆ OnQuit()
void albaViewManager::OnQuit |
( |
| ) |
|
◆ GetView()
albaView * albaViewManager::GetView |
( |
int |
id, |
|
|
int |
mult |
|
) |
| |
|
inline |
Return the view pointer from view's id and multiplicity.
Definition at line 145 of file albaViewManager.h.
◆ SetMouse()
Initialize the action for the mouse device.
◆ GetSettingsGui()
albaGUI * albaViewManager::GetSettingsGui |
( |
| ) |
|
◆ OpenOnlyViewForType()
void albaViewManager::OpenOnlyViewForType |
( |
int |
chose | ) |
|
|
inline |
◆ MaximizeViewOnOpen()
void albaViewManager::MaximizeViewOnOpen |
( |
int |
chose | ) |
|
|
inline |
◆ EnableViewSettings()
void albaViewManager::EnableViewSettings |
( |
bool |
enable = true | ) |
|
◆ InitializeSettings()
void albaViewManager::InitializeSettings |
( |
| ) |
|
|
protectedvirtual |
◆ albaViewManagerTest
friend class albaViewManagerTest |
|
friend |
◆ m_Mouse
◆ m_ViewList
◆ m_ViewTemplate
◆ m_TemplateNum
int albaViewManager::m_TemplateNum |
|
protected |
◆ m_Listener
◆ m_RootVme
◆ m_SelectedVme
albaVME* albaViewManager::m_SelectedVme |
|
protected |
◆ m_SelectedView
albaView* albaViewManager::m_SelectedView |
|
protected |
◆ m_SelectedRWI
◆ m_ViewBeingCreated
albaView* albaViewManager::m_ViewBeingCreated |
|
protected |
◆ m_ViewMatrixID
Matrix to access views directly by (id, multiplicity)
Definition at line 174 of file albaViewManager.h.
◆ m_IdInvisibleMenuList
std::vector<long> albaViewManager::m_IdInvisibleMenuList |
|
protected |
List of views that are no visible into the 'View' menu item.
Definition at line 176 of file albaViewManager.h.
◆ m_SettingsGui
albaGUI* albaViewManager::m_SettingsGui |
|
protected |
◆ m_ViewColorBackground
wxColour albaViewManager::m_ViewColorBackground |
|
protected |
◆ m_ViewMaximize
int albaViewManager::m_ViewMaximize |
|
protected |
◆ m_ViewOpenOnlyOne
int albaViewManager::m_ViewOpenOnlyOne |
|
protected |
The documentation for this class was generated from the following file: