Medical Imaging Interaction Toolkit
2023.04.00
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
16
#include "
berryIPerspectiveDescriptor.h
"
17
18
#include <vector>
19
20
namespace
berry
{
21
36
struct
BERRY_UI_QT
IPerspectiveRegistry
{
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,
62
IPerspectiveDescriptor::Pointer
desc) = 0;
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< Self >
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
src
MITK
Plugins
org.blueberry.ui.qt
src
berryIPerspectiveRegistry.h
Generated on Wed May 17 2023 16:26:02 for Medical Imaging Interaction Toolkit by
1.8.17