CustusX
22.04-rc5
An IGT application
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cxRegistrationMethodCenterlineService.cpp
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
#include "
cxRegistrationMethodCenterlineService.h
"
13
#include "
cxCenterlineRegistrationWidget.h
"
14
#include "
cxTabbedWidget.h
"
15
#include "
cxCenterlinePointsWidget.h
"
16
17
namespace
cx
18
{
19
20
QWidget *
RegistrationMethodCenterlineImageToPatientService::createWidget
()
21
{
22
TabbedWidget
* tabWidget =
new
TabbedWidget
(NULL, this->
getWidgetName
(),
"Centerline Registration"
);
23
24
CenterlineRegistrationWidget
* centerlineRegistrationWidget =
new
CenterlineRegistrationWidget
(
mServices
, NULL);
25
26
CenterlinePointsWidget
* centerlinePointsWidget =
new
CenterlinePointsWidget
(
mServices
, tabWidget,
"org_custusx_registration_method_centerline_landmarks_widget"
,
"Image Registration"
);
27
28
tabWidget->
addTab
(centerlinePointsWidget,
"Prepare"
);
29
tabWidget->
addTab
(centerlineRegistrationWidget,
"Register"
);
30
tabWidget->
setDefaultWidget
(centerlineRegistrationWidget);
31
32
return
tabWidget;
33
}
34
35
}
/* namespace cx */
cxTabbedWidget.h
cx::TabbedWidget::setDefaultWidget
void setDefaultWidget(QWidget *widget)
Definition:
cxTabbedWidget.cpp:57
cxCenterlinePointsWidget.h
cxCenterlineRegistrationWidget.h
cx::TabbedWidget::addTab
void addTab(BaseWidget *newTab, QString newTabName)
Definition:
cxTabbedWidget.cpp:37
cx::RegistrationMethodCenterlineImageToPatientService::getWidgetName
virtual QString getWidgetName()
Definition:
cxRegistrationMethodCenterlineService.h:38
cx::TabbedWidget
Interface for making widgets with a hierarchy of tabs.
Definition:
cxTabbedWidget.h:34
cx::RegistrationMethodCenterlineImageToPatientService::createWidget
virtual QWidget * createWidget()
Definition:
cxRegistrationMethodCenterlineService.cpp:20
cxRegistrationMethodCenterlineService.h
cx::CenterlineRegistrationWidget
Register tracked tool path to centerline data (from CT)
Definition:
cxCenterlineRegistrationWidget.h:44
cx::RegistrationMethodService::mServices
RegServicesPtr mServices
Definition:
cxRegistrationMethodService.h:50
cx::CenterlinePointsWidget
Widget for creating a centerline.vtk file from image landmarks.
Definition:
cxCenterlinePointsWidget.h:46
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
CX
source
plugins
org.custusx.registration.method.centerline
cxRegistrationMethodCenterlineService.cpp
Generated on Thu Jun 16 2022 21:30:01 for CustusX by
1.8.11