Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
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 
38 
39  virtual ~IPerspectiveRegistry();
40 
51  //virtual IPerspectiveDescriptor::Pointer CreatePerspective(const QString& label,
52  // IPerspectiveDescriptor::Pointer originalDescriptor) = 0;
53 
64  virtual IPerspectiveDescriptor::Pointer ClonePerspective(const QString& id, const QString& label,
66 
73  virtual void DeletePerspective(IPerspectiveDescriptor::Pointer persp) = 0;
74 
82  virtual IPerspectiveDescriptor::Pointer FindPerspectiveWithId(const QString& perspectiveId) = 0;
83 
91  virtual IPerspectiveDescriptor::Pointer FindPerspectiveWithLabel(const QString& label) = 0;
92 
102  virtual QString GetDefaultPerspective() = 0;
103 
109  virtual QList<IPerspectiveDescriptor::Pointer> GetPerspectives() = 0;
110 
121  virtual void SetDefaultPerspective(const QString& id) = 0;
122 
129  virtual void RevertPerspective(IPerspectiveDescriptor::Pointer perspToRevert) = 0;
130 };
131 
132 }
133 
134 #endif /*BERRYIPERSPECTIVEREGISTRY_H_*/
#define BERRY_UI_QT