Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
QmlMitkStdMultiItem.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,
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 QmlMitkStdMultiItem_h
18
#define QmlMitkStdMultiItem_h
19
20
#include "
MitkQmlItemsExports.h
"
21
22
#include <
mitkDataStorage.h
>
23
#include <
mitkMouseModeSwitcher.h
>
24
25
#include <QObject>
26
#include <QQmlEngine>
27
28
class
QmlMitkRenderWindowItem
;
29
30
class
MITKQMLITEMS_EXPORT
QmlMitkStdMultiItem
:
public
QObject
31
{
32
Q_OBJECT
33
34
private
:
35
QmlMitkRenderWindowItem
* m_viewerAxial;
36
QmlMitkRenderWindowItem
* m_viewerFrontal;
37
QmlMitkRenderWindowItem
* m_viewerSagittal;
38
QmlMitkRenderWindowItem
* m_viewerOriginal;
39
40
mitk::DataNode::Pointer
m_planeAxial;
41
mitk::DataNode::Pointer
m_planeFrontal;
42
mitk::DataNode::Pointer
m_planeSagittal;
43
44
mitk::MouseModeSwitcher::Pointer
m_mouseMode;
45
46
static
mitk::DataStorage::Pointer
storage;
47
48
public
:
49
static
QmlMitkStdMultiItem
*
instance
;
50
51
QmlMitkStdMultiItem
();
52
~
QmlMitkStdMultiItem
();
53
54
void
registerViewerItem(
QmlMitkRenderWindowItem
* viewerItem);
55
void
moveCrossToPosition(
const
mitk::Point3D
& newPosition);
56
void
addPlanes();
57
const
mitk::Point3D
getCrossPosition()
const
;
58
59
QmlMitkRenderWindowItem
* getViewerAxial();
60
QmlMitkRenderWindowItem
* getViewerSagittal();
61
QmlMitkRenderWindowItem
* getViewerCoronal();
62
QmlMitkRenderWindowItem
* getViewerOriginal();
63
64
static
void
create(QQmlEngine &engine,
mitk::DataStorage::Pointer
storage);
65
public
slots:
66
void
init();
67
void
togglePlanes();
68
};
69
70
#endif
mitkDataStorage.h
mitk::Point< ScalarType, 3 >
MITKQMLITEMS_EXPORT
#define MITKQMLITEMS_EXPORT
Definition:
MitkQmlItemsExports.h:15
mitkMouseModeSwitcher.h
MitkQmlItemsExports.h
QmlMitkStdMultiItem
Definition:
QmlMitkStdMultiItem.h:30
QmlMitkStdMultiItem::instance
static QmlMitkStdMultiItem * instance
Definition:
QmlMitkStdMultiItem.h:49
itk::SmartPointer< Self >
QmlMitkRenderWindowItem
Definition:
QmlMitkRenderWindowItem.h:31
git
MITK
Modules
QmlItems
include
QmlMitkStdMultiItem.h
Generated on Fri Feb 3 2017 20:52:15 for Medical Imaging Interaction Toolkit by
1.8.9.1