Medical Imaging Interaction Toolkit
2024.12.99-d991a09f
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Groups
Namespace List
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Variables
e
f
i
l
m
n
p
r
s
t
Typedefs
a
b
c
d
f
g
i
l
m
n
o
p
q
r
s
t
v
x
Enumerations
Enumerator
a
b
c
d
e
g
h
i
k
l
n
o
p
r
s
t
v
w
z
Class List
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
c
m
o
r
s
t
Related Functions
File List
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
m
o
p
q
r
s
t
u
v
x
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
i
m
o
p
q
r
s
u
v
x
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
QmitkOverlay.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 QmitkOverlay_h
14
#define QmitkOverlay_h
15
16
// MITK
17
#include "
mitkCommon.h
"
18
#include "
mitkPropertyList.h
"
19
20
// Qt
21
#include <QWidget>
22
23
#include <
MitkQtOverlaysExports.h
>
24
49
class
MITKQTOVERLAYS_EXPORT
QmitkOverlay
:
public
QObject
50
{
51
Q_OBJECT
52
53
public
:
55
enum
DisplayPosition
56
{
57
top_Left = 0,
58
top_Center = 1,
59
top_Right = 2,
60
middle_Left = 3,
61
middle_Right = 4,
62
bottom_Left = 5,
63
bottom_Center = 6,
64
bottom_Right = 7
65
};
66
70
QmitkOverlay
(
const
char
*
id
);
71
75
~
QmitkOverlay
()
override
;
76
78
virtual
void
SetPosition(DisplayPosition);
79
81
virtual
DisplayPosition GetPosition();
82
84
virtual
void
SetLayer(
unsigned
int
);
85
87
virtual
unsigned
int
GetLayer();
88
92
virtual
void
GenerateData
(
mitk::PropertyList::Pointer
/*pl*/
){};
93
97
virtual
QWidget *GetWidget();
98
99
virtual
QSize GetNeededSize() = 0;
100
101
protected
:
105
void
AddDropShadow(QWidget *widget);
107
const
char
*
m_Id
;
108
110
DisplayPosition
m_Position
;
111
113
unsigned
int
m_Layer
;
114
116
QWidget *
m_Widget
;
117
118
bool
m_WidgetIsCustom
;
119
};
120
121
#endif
QmitkOverlay::m_Widget
QWidget * m_Widget
internal QWidget representing the overlay
Definition:
QmitkOverlay.h:116
QmitkOverlay::m_Position
DisplayPosition m_Position
position of the overlay
Definition:
QmitkOverlay.h:110
MitkQtOverlaysExports.h
QmitkOverlay::DisplayPosition
DisplayPosition
enumeration of all possible display positions
Definition:
QmitkOverlay.h:55
QmitkOverlay
Abstract base class for all overlay-objects in MITK.
Definition:
QmitkOverlay.h:49
itk::SmartPointer< Self >
QmitkOverlay::m_WidgetIsCustom
bool m_WidgetIsCustom
Definition:
QmitkOverlay.h:118
QmitkOverlay::m_Id
const char * m_Id
ID of the overlay.
Definition:
QmitkOverlay.h:107
QmitkOverlay::m_Layer
unsigned int m_Layer
layer of the overlay
Definition:
QmitkOverlay.h:113
mitkPropertyList.h
mitkCommon.h
MITKQTOVERLAYS_EXPORT
#define MITKQTOVERLAYS_EXPORT
Definition:
MitkQtOverlaysExports.h:15
QmitkOverlay::GenerateData
virtual void GenerateData(mitk::PropertyList::Pointer)
abstract method to internally setup the overlay
Definition:
QmitkOverlay.h:92
src
MITK
Modules
QtOverlays
QmitkOverlay.h
Generated on Fri Mar 21 2025 02:14:20 for Medical Imaging Interaction Toolkit by
1.8.17