CustusX  18.04
An IGT application
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 
14 #include "cxTabbedWidget.h"
16 
17 namespace cx
18 {
19 
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 */
void setDefaultWidget(QWidget *widget)
void addTab(BaseWidget *newTab, QString newTabName)
Interface for making widgets with a hierarchy of tabs.
Register tracked tool path to centerline data (from CT)
Widget for creating a centerline.vtk file from image landmarks.
Namespace for all CustusX production code.