❩
❩
❩
CamiTK
About
Community
Support
News & Releases
Download
Documentation
API doc
Computer Assited Medical Intervention Tool Kit
version 5.0
BoxVOIWidget.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* $CAMITK_LICENCE_BEGIN$
3
*
4
* CamiTK - Computer Assisted Medical Intervention ToolKit
5
* (c) 2001-2021 Univ. Grenoble Alpes, CNRS, Grenoble INP, TIMC, 38000 Grenoble, France
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
#ifndef BOXVOIWIDGET_H
26
#define BOXVOIWIDGET_H
27
28
#include <QWidget>
29
30
#include <
ImageComponent.h
>
31
#include <
MultiPickingWidget.h
>
32
#include <
Action.h
>
33
34
#include "ui_BoxVOIWidget.h"
35
43
class
BoxVOIWidget
:
public
QWidget {
44
Q_OBJECT
45
46
public
:
48
BoxVOIWidget
(
camitk::Action
* action);
49
51
~BoxVOIWidget
()
override
=
default
;
52
54
void
updateComponent
(
camitk::ImageComponent
* image);
55
57
QList<QVector3D>*
getSeedPoints
(
camitk::ImageComponent
* image);
58
59
protected
:
60
Ui::BoxVOIWidget
ui
;
61
63
MultiPickingWidget
*
pickingW
;
64
66
camitk::Action
*
myAction
;
67
68
};
69
70
#endif
// BOXVOIWIDGET_H
Action.h
ImageComponent.h
MultiPickingWidget.h
BoxVOIWidget
Crop volume action widget.
Definition:
BoxVOIWidget.h:43
BoxVOIWidget::updateComponent
void updateComponent(camitk::ImageComponent *image)
Update the widget with the correct PickedPixelMap (ImageComponent + Qlist of the selected points)
Definition:
BoxVOIWidget.cpp:51
BoxVOIWidget::BoxVOIWidget
BoxVOIWidget(camitk::Action *action)
Default construtor.
Definition:
BoxVOIWidget.cpp:33
BoxVOIWidget::~BoxVOIWidget
~BoxVOIWidget() override=default
destructor
BoxVOIWidget::getSeedPoints
QList< QVector3D > * getSeedPoints(camitk::ImageComponent *image)
List of seed points.
Definition:
BoxVOIWidget.cpp:45
BoxVOIWidget::ui
Ui::BoxVOIWidget ui
Definition:
BoxVOIWidget.h:60
BoxVOIWidget::myAction
camitk::Action * myAction
Connected Action.
Definition:
BoxVOIWidget.h:66
BoxVOIWidget::pickingW
MultiPickingWidget * pickingW
Multiple picking widget.
Definition:
BoxVOIWidget.h:63
MultiPickingWidget
The multipicking action widget (a table with the pixel coordinates/3D indexes + some buttons to inter...
Definition:
MultiPickingWidget.h:47
camitk::Action
Action class is an abstract class that enables you to build a action (generally on a component).
Definition:
Action.h:208
camitk::ImageComponent
The manager of the Image Volume data.
Definition:
ImageComponent.h:77
sdk
actions
image
cropvolume
BoxVOIWidget.h
Generated by
1.9.4