Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
QmitkPointListView.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 QmitkPointListView_h
14
#define QmitkPointListView_h
15
16
#include "
MitkQtWidgetsExtExports.h
"
17
18
#include <
QmitkPointListModel.h
>
19
20
#include <QLabel>
21
#include <QListView>
22
#include <
mitkSliceNavigationController.h
>
23
24
class
QmitkAbstractMultiWidget
;
25
38
class
MITKQTWIDGETSEXT_EXPORT
QmitkPointListView
:
public
QListView
39
{
40
Q_OBJECT
41
42
public
:
43
QmitkPointListView
(QWidget *parent =
nullptr
);
44
~
QmitkPointListView
()
override
;
45
47
void
SetPointSetNode(
mitk::DataNode
*pointSetNode);
48
50
const
mitk::PointSet
*GetPointSet()
const
;
51
57
void
SetMultiWidget(
QmitkAbstractMultiWidget
* multiWidget);
58
62
QmitkAbstractMultiWidget
* GetMultiWidget()
const
;
63
71
void
AddSliceNavigationController(
mitk::SliceNavigationController
*snc);
72
80
void
RemoveSliceNavigationController(
mitk::SliceNavigationController
*snc);
81
82
signals:
83
84
void
SignalPointSelectionChanged();
85
void
SignalTimeStepChanged(
int
);
86
87
protected
slots:
88
90
void
OnPointDoubleClicked(
const
QModelIndex &index);
91
93
void
OnPointSetSelectionChanged();
94
96
void
OnListViewSelectionChanged(
const
QItemSelection &selected,
const
QItemSelection &deselected);
97
99
void
ctxMenu(
const
QPoint &pos);
100
102
void
SetFading(
bool
onOff);
103
105
void
ClearPointList();
106
108
void
ClearPointListTS();
109
110
protected
:
111
void
keyPressEvent(QKeyEvent *e)
override
;
112
void
wheelEvent(QWheelEvent *event)
override
;
113
114
std::set<mitk::SliceNavigationController *>
m_Sncs
;
115
116
QmitkPointListModel
*
m_PointListModel
;
117
bool
m_SelfCall
;
118
bool
m_showFading
;
119
121
QmitkAbstractMultiWidget
*
m_MultiWidget
;
122
};
123
124
#endif
QmitkPointListView::m_showFading
bool m_showFading
Definition:
QmitkPointListView.h:118
MITKQTWIDGETSEXT_EXPORT
#define MITKQTWIDGETSEXT_EXPORT
Definition:
MitkQtWidgetsExtExports.h:15
QmitkPointListView::m_PointListModel
QmitkPointListModel * m_PointListModel
Definition:
QmitkPointListView.h:116
QmitkPointListView::m_MultiWidget
QmitkAbstractMultiWidget * m_MultiWidget
used to position the planes on a selected point
Definition:
QmitkPointListView.h:121
mitk::SliceNavigationController
Controls the selection of the slice the associated BaseRenderer will display.
Definition:
mitkSliceNavigationController.h:130
QmitkPointListView::m_Sncs
std::set< mitk::SliceNavigationController * > m_Sncs
Definition:
QmitkPointListView.h:114
QmitkPointListView
GUI widget for handling mitk::PointSet.
Definition:
QmitkPointListView.h:38
QmitkPointListModel.h
mitkSliceNavigationController.h
MitkQtWidgetsExtExports.h
QmitkAbstractMultiWidget
The 'QmitkAbstractMultiWidget' is a 'QWidget' that can be subclassed to display multiple render windo...
Definition:
QmitkAbstractMultiWidget.h:53
mitk::PointSet
Data structure which stores a set of points.
Definition:
mitkPointSet.h:71
QmitkPointListModel
Definition:
QmitkPointListModel.h:22
mitk::DataNode
Class for nodes of the DataTree.
Definition:
mitkDataNode.h:63
QmitkPointListView::m_SelfCall
bool m_SelfCall
Definition:
QmitkPointListView.h:117
src
MITK
Modules
QtWidgetsExt
include
QmitkPointListView.h
Generated on Sat Nov 23 2024 02:13:16 for Medical Imaging Interaction Toolkit by
1.8.17