Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berryIPerspectiveRegistry.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef BERRYIPERSPECTIVEREGISTRY_H_
14 #define BERRYIPERSPECTIVEREGISTRY_H_
15 
17 
18 #include <vector>
19 
20 namespace berry {
21 
37 
38  virtual ~IPerspectiveRegistry();
39 
48  virtual IPerspectiveDescriptor::Pointer CreatePerspective(const QString& label,
49  IPerspectiveDescriptor::Pointer originalDescriptor) = 0;
50 
61  virtual IPerspectiveDescriptor::Pointer ClonePerspective(const QString& id, const QString& label,
63 
70  virtual void DeletePerspective(IPerspectiveDescriptor::Pointer persp) = 0;
71 
79  virtual IPerspectiveDescriptor::Pointer FindPerspectiveWithId(const QString& perspectiveId) = 0;
80 
88  virtual IPerspectiveDescriptor::Pointer FindPerspectiveWithLabel(const QString& label) = 0;
89 
99  virtual QString GetDefaultPerspective() = 0;
100 
106  virtual QList<IPerspectiveDescriptor::Pointer> GetPerspectives() = 0;
107 
118  virtual void SetDefaultPerspective(const QString& id) = 0;
119 
126  virtual void RevertPerspective(IPerspectiveDescriptor::Pointer perspToRevert) = 0;
127 };
128 
129 }
130 
131 #endif /*BERRYIPERSPECTIVEREGISTRY_H_*/
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berryIPerspectiveDescriptor.h
berry::IPerspectiveRegistry
Definition: berryIPerspectiveRegistry.h:36
berry
Definition: QmitkPropertyItemModel.h:24