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
▼
Medical Imaging Interaction Toolkit
►
MITK User Manual
►
Developer Manual
►
MITK Basic Image Processing Mini Apps
Example View
Deprecated List
▼
API Reference
►
Groups
►
Namespace List
►
Class List
▼
File List
►
File List
►
File Members
►
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkRenderWindow.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 mitkRenderWindow_h
14
#define mitkRenderWindow_h
15
16
#include <
MitkCoreExports.h
>
17
18
#include "
mitkRenderWindowBase.h
"
19
20
namespace
mitk
21
{
22
class
vtkEventProvider;
23
31
class
MITKCORE_EXPORT
RenderWindow
:
public
mitk::RenderWindowBase
,
public
itk::Object
32
{
33
public
:
34
mitkClassMacroItkParent
(
RenderWindow
, itk::Object);
35
itkFactorylessNewMacro(
Self
);
36
itkCloneMacro(
Self
);
37
mitkNewMacro1Param
(
Self
, vtkRenderWindow*);
38
mitkNewMacro2Param
(
Self
, vtkRenderWindow *,
const
char
*);
39
40
~
RenderWindow
()
override
;
41
42
vtkRenderWindow *GetVtkRenderWindow()
override
;
43
vtkRenderWindowInteractor *GetVtkRenderWindowInteractor()
override
;
44
45
// Set Layout Index to define the Layout Type
46
void
SetLayoutIndex(
unsigned
int
layoutIndex);
47
48
// Get Layout Index to define the Layout Type
49
unsigned
int
GetLayoutIndex();
50
51
// MenuWidget need to update the Layout Design List when Layout had changed
52
void
LayoutDesignListChanged(
int
layoutDesignIndex);
53
54
void
FullScreenMode(
bool
state);
55
62
void
SetSize(
int
width,
int
height);
63
77
void
ReinitEventProvider();
78
79
protected
:
80
RenderWindow
(vtkRenderWindow *existingRenderWindow =
nullptr
,
81
const
char
*name =
"unnamed renderer"
);
82
83
void
ResetView();
84
vtkRenderWindow *
m_vtkRenderWindow
;
85
vtkRenderWindowInteractor *
m_vtkRenderWindowInteractor
;
86
87
vtkEventProvider
*
m_vtkMitkEventProvider
;
88
89
private
:
90
};
91
}
// namespace
92
93
#endif
mitk::RenderWindow::m_vtkMitkEventProvider
vtkEventProvider * m_vtkMitkEventProvider
Definition:
mitkRenderWindow.h:87
mitkNewMacro2Param
#define mitkNewMacro2Param(classname, typea, typeb)
Definition:
mitkCommon.h:81
mitkRenderWindowBase.h
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition:
mitkCommon.h:68
mitk::RenderWindowBase
Base class of MITK RenderWindows.
Definition:
mitkRenderWindowBase.h:39
mitk::RenderWindow
mitkRenderWindow integrates the MITK rendering mechanism into VTK and is NOT QT dependent
Definition:
mitkRenderWindow.h:31
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition:
mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::vtkEventProvider
Integrates into the VTK event mechanism to generate MITK specific events. This class is NON-QT depend...
Definition:
mitkVtkEventProvider.h:28
MitkCoreExports.h
mitk::RenderWindow::m_vtkRenderWindow
vtkRenderWindow * m_vtkRenderWindow
Definition:
mitkRenderWindow.h:84
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::RenderWindow::m_vtkRenderWindowInteractor
vtkRenderWindowInteractor * m_vtkRenderWindowInteractor
Definition:
mitkRenderWindow.h:85
src
MITK
Modules
Core
include
mitkRenderWindow.h
Generated on Fri Mar 14 2025 02:13:57 for Medical Imaging Interaction Toolkit by
1.8.17