NorMIT-nav  22.09
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 */
cx::TabbedWidget::setDefaultWidget
void setDefaultWidget(QWidget *widget)
Definition: cxTabbedWidget.cpp:57
cxCenterlineRegistrationWidget.h
cx::TabbedWidget::addTab
void addTab(BaseWidget *newTab, QString newTabName)
Definition: cxTabbedWidget.cpp:37
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cxRegistrationMethodCenterlineService.h
cx::TabbedWidget
Interface for making widgets with a hierarchy of tabs.
Definition: cxTabbedWidget.h:34
cx::RegistrationMethodCenterlineImageToPatientService::getWidgetName
virtual QString getWidgetName()
Definition: cxRegistrationMethodCenterlineService.h:38
cxCenterlinePointsWidget.h
cxTabbedWidget.h
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::RegistrationMethodCenterlineImageToPatientService::createWidget
virtual QWidget * createWidget()
Definition: cxRegistrationMethodCenterlineService.cpp:20
cx::CenterlineRegistrationWidget
Register tracked tool path to centerline data (from CT)
Definition: cxCenterlineRegistrationWidget.h:44