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:
49 
51  ~BoxVOIWidget() override = default;
52 
55 
57  QList<QVector3D>* getSeedPoints(camitk::ImageComponent* image);
58 
59 protected:
60  Ui::BoxVOIWidget ui;
61 
64 
67 
68 };
69 
70 #endif // BOXVOIWIDGET_H
MultiPickingWidget::getPickedPixelMap
PickedPixelMap * getPickedPixelMap(camitk::ImageComponent *image)
Give the picked pixel map (for other actions needing picking)
Definition: MultiPickingWidget.cpp:86
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::pickingW
MultiPickingWidget * pickingW
Multiple picking widget.
Definition: BoxVOIWidget.h:86
MultiPickingWidget::updateComponent
void updateComponent(camitk::ImageComponent *image)
Update the widget with the correct PickedPixelMap (ImageComponent + Qlist of the selected points)
Definition: MultiPickingWidget.cpp:65
BoxVOIWidget
Crop volume action widget.
Definition: BoxVOIWidget.h:43
MultiPickingWidget
The multipicking action widget (a table with the pixel coordinates/3D indexes + some buttons to inter...
Definition: MultiPickingWidget.h:47
camitk::ImageComponent
The manager of the Image Volume data. An image volume data has no concrete 3D representation,...
Definition: ImageComponent.h:77
Action.h
PickedPixelMap.h
camitk::Action
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
BoxVOIWidget::myAction
camitk::Action * myAction
Connected Action.
Definition: BoxVOIWidget.h:89
camitk::Component::getName
QString getName() const override
get the name to be displayed
Definition: sdk/libraries/core/component/Component.h:907
BoxVOIWidget::ui
Ui::BoxVOIWidget ui
Definition: BoxVOIWidget.h:83
MultiPickingWidget.h
PickedPixelMap::getPixelIndexList
QList< QVector3D > * getPixelIndexList()
return the list of pixel index
Definition: PickedPixelMap.cpp:103
BoxVOIWidget.h
BoxVOIWidget::~BoxVOIWidget
~BoxVOIWidget() override=default
destructor
BoxVOIWidget::BoxVOIWidget
BoxVOIWidget(camitk::Action *action)
Default construtor.
Definition: BoxVOIWidget.cpp:33
BoxVOIWidget::getSeedPoints
QList< QVector3D > * getSeedPoints(camitk::ImageComponent *image)
List of seed points.
Definition: BoxVOIWidget.cpp:45
ImageComponent.h
Application.h
camitk
Definition: Action.cpp:35