NorMIT-nav
22.09
An IGT application
cxRegistrationMethodPlateService.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 "
cxRegistrationMethodPlateService.h
"
13
#include "
cxPlateRegistrationWidget.h
"
14
#include "
cxPlateImageRegistrationWidget.h
"
15
#include "
cxTabbedWidget.h
"
16
17
namespace
cx
18
{
19
20
QWidget *
RegistrationMethodPlateImageToPatientService::createWidget
()
21
{
22
TabbedWidget
* topWidget =
new
TabbedWidget
(NULL, this->
getWidgetName
(),
"Plate"
);
23
topWidget->setToolTip(
"Plate Registration"
);
24
25
PlateImageRegistrationWidget
* imageLandmarks =
new
PlateImageRegistrationWidget
(
mServices
, topWidget);
26
PlateRegistrationWidget
* referenceLandmarks =
new
PlateRegistrationWidget
(
mServices
, topWidget);
27
28
topWidget->
addTab
(imageLandmarks,
"Image landmarks"
);
29
topWidget->
addTab
(referenceLandmarks,
"Reference landmarks"
);
30
31
return
topWidget;
32
}
33
34
}
/* namespace cx */
cx::PlateRegistrationWidget
Widget for performing registration between a (dyna-CT) volume and a predefined aurora tool with ct ma...
Definition:
cxPlateRegistrationWidget.h:33
cx::PlateImageRegistrationWidget
Definition:
cxPlateImageRegistrationWidget.h:30
cxPlateImageRegistrationWidget.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
cxPlateRegistrationWidget.h
cxRegistrationMethodPlateService.h
cx::TabbedWidget
Interface for making widgets with a hierarchy of tabs.
Definition:
cxTabbedWidget.h:34
cx::RegistrationMethodPlateImageToPatientService::getWidgetName
virtual QString getWidgetName()
Definition:
cxRegistrationMethodPlateService.h:38
cx::RegistrationMethodPlateImageToPatientService::createWidget
virtual QWidget * createWidget()
Definition:
cxRegistrationMethodPlateService.cpp:20
cxTabbedWidget.h
cx::RegistrationMethodService::mServices
RegServicesPtr mServices
Definition:
cxRegistrationMethodService.h:50
CX
source
plugins
org.custusx.registration.method.plate
cxRegistrationMethodPlateService.cpp
Generated on Tue Sep 13 2022 11:06:14 for NorMIT-nav by
1.8.17