Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIPerspectiveRegistry.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef BERRYIPERSPECTIVEREGISTRY_H_
18 #define BERRYIPERSPECTIVEREGISTRY_H_
19 
21 
22 #include <vector>
23 
24 namespace berry {
25 
42 
43  virtual ~IPerspectiveRegistry();
44 
55  //virtual IPerspectiveDescriptor::Pointer CreatePerspective(const QString& label,
56  // IPerspectiveDescriptor::Pointer originalDescriptor) = 0;
57 
68  virtual IPerspectiveDescriptor::Pointer ClonePerspective(const QString& id, const QString& label,
70 
77  virtual void DeletePerspective(IPerspectiveDescriptor::Pointer persp) = 0;
78 
86  virtual IPerspectiveDescriptor::Pointer FindPerspectiveWithId(const QString& perspectiveId) = 0;
87 
95  virtual IPerspectiveDescriptor::Pointer FindPerspectiveWithLabel(const QString& label) = 0;
96 
106  virtual QString GetDefaultPerspective() = 0;
107 
113  virtual QList<IPerspectiveDescriptor::Pointer> GetPerspectives() = 0;
114 
125  virtual void SetDefaultPerspective(const QString& id) = 0;
126 
133  virtual void RevertPerspective(IPerspectiveDescriptor::Pointer perspToRevert) = 0;
134 };
135 
136 }
137 
138 #endif /*BERRYIPERSPECTIVEREGISTRY_H_*/
#define BERRY_UI_QT