Computer Assited Medical Intervention Tool Kit
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
actions
image
multipicking
MultiPickingWidget.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* $CAMITK_LICENCE_BEGIN$
3
*
4
* CamiTK - Computer Assisted Medical Intervention ToolKit
5
* (c) 2001-2013 UJF-Grenoble 1, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
6
*
7
* Visit http://camitk.imag.fr for more information
8
*
9
* This file is part of CamiTK.
10
*
11
* CamiTK is free software: you can redistribute it and/or modify
12
* it under the terms of the GNU Lesser General Public License version 3
13
* only, as published by the Free Software Foundation.
14
*
15
* CamiTK is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Lesser General Public License version 3 for more details.
19
*
20
* You should have received a copy of the GNU Lesser General Public License
21
* version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22
*
23
* $CAMITK_LICENCE_END$
24
****************************************************************************/
25
26
#ifndef MULTIPLEPICKINGWIDGET_H
27
#define MULTIPLEPICKINGWIDGET_H
28
29
// Includes Qt
30
#include <QWidget>
31
32
// Includes CamiTK
33
#include <
ImageComponent.h
>
34
35
// local includes
36
#include "
MultiPickingAPI.h
"
37
#include "ui_MultiPickingWidget.h"
38
#include "
PickedPixelMap.h
"
39
40
41
using namespace
std;
42
using namespace
camitk;
43
44
47
class
MULTIPICKING_API
MultiPickingWidget
:
public
QWidget {
48
Q_OBJECT
49
50
public
:
52
MultiPickingWidget
(QWidget* parent=0);
53
55
virtual
~
MultiPickingWidget
();
56
58
void
updateComponent(
ImageComponent
* image);
59
61
PickedPixelMap
* getPickedPixelMap(
ImageComponent
* image);
62
63
64
public
slots:
66
void
setPointTypeTable();
67
69
void
addPixelinTable();
70
72
void
removePixelFromTable();
73
74
void
removeSeedNumber(
int
,
int
);
75
77
void
savePixelList();
78
80
void
openPixelList();
81
83
void
manuallyModified(
int
,
int
);
84
86
void
updateTable();
87
88
89
protected
:
90
Ui::MultiPickingWidget
ui
;
91
95
void
createItems(QList< QVector3D >* liste, QList<double> * valueList);
96
98
ImageComponent
*
img
;
99
101
PickedPixelMap
*
pPM
;
102
103
QMap<ImageComponent *, PickedPixelMap *>
map
;
104
106
void
resizeGraphicalTable();
107
108
};
109
110
#endif // MULTIPICKINGACTIONWIDGET_H
Generated on Sat Feb 16 2013 16:59:43 for Computer Assited Medical Intervention Tool Kit by
1.8.1.2