Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
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 
50  virtual IPerspectiveDescriptor::Pointer ClonePerspective(const QString& id, const QString& label,
52 
59  virtual void DeletePerspective(IPerspectiveDescriptor::Pointer persp) = 0;
60 
68  virtual IPerspectiveDescriptor::Pointer FindPerspectiveWithId(const QString& perspectiveId) = 0;
69 
77  virtual IPerspectiveDescriptor::Pointer FindPerspectiveWithLabel(const QString& label) = 0;
78 
88  virtual QString GetDefaultPerspective() = 0;
89 
95  virtual QList<IPerspectiveDescriptor::Pointer> GetPerspectives() = 0;
96 
107  virtual void SetDefaultPerspective(const QString& id) = 0;
108 
115  virtual void RevertPerspective(IPerspectiveDescriptor::Pointer perspToRevert) = 0;
116 };
117 
118 }
119 
120 #endif /*BERRYIPERSPECTIVEREGISTRY_H_*/
#define BERRY_UI_QT