Computer Assisted Medical Intervention Tool Kit  version 5.2
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-2024 Univ. Grenoble Alpes, CNRS, Grenoble INP - UGA, 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:
49 
51  ~BoxVOIWidget() override = default;
52 
55 
58 
59 protected:
60  Ui::BoxVOIWidget ui;
61 
64 
67 
68 };
69 
70 #endif // BOXVOIWIDGET_H
Crop volume action widget.
Definition: BoxVOIWidget.h:43
void updateComponent(camitk::ImageComponent *image)
Update the widget with the correct PickedPixelMap (ImageComponent + Qlist of the selected points)
Definition: BoxVOIWidget.cpp:51
BoxVOIWidget(camitk::Action *action)
Default construtor.
Definition: BoxVOIWidget.cpp:33
~BoxVOIWidget() override=default
destructor
QList< QVector3D > * getSeedPoints(camitk::ImageComponent *image)
List of seed points.
Definition: BoxVOIWidget.cpp:45
Ui::BoxVOIWidget ui
Definition: BoxVOIWidget.h:60
camitk::Action * myAction
Connected Action.
Definition: BoxVOIWidget.h:66
MultiPickingWidget * pickingW
Multiple picking widget.
Definition: BoxVOIWidget.h:63
The multipicking action widget (a table with the pixel coordinates/3D indexes + some buttons to inter...
Definition: MultiPickingWidget.h:47
Action class is an abstract class that enables you to build a action (generally on a component).
Definition: Action.h:209
The manager of the Image Volume data.
Definition: ImageComponent.h:77