NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
cxManualPatientRegistrationWidget.h
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
#ifndef CXMANUALPATIENTREGISTRATIONWIDGET_H
13
#define CXMANUALPATIENTREGISTRATIONWIDGET_H
14
15
#include "
cxManualRegistrationWidget.h
"
16
#include "
cxPatientModelService.h
"
17
18
namespace
cx
19
{
20
33
class
ManualPatientRegistrationWidget
:
public
BaseWidget
34
{
35
Q_OBJECT
36
public
:
37
ManualPatientRegistrationWidget
(
RegServicesPtr
services, QWidget* parent, QString objectName);
38
~ManualPatientRegistrationWidget
()
39
{
40
}
41
protected
:
42
void
showEvent
(QShowEvent *event);
43
RegServicesPtr
mServices
;
44
45
private
slots:
46
void
matrixWidgetChanged();
47
void
patientMatrixChanged();
48
49
private
:
50
QString getDescription();
51
bool
isValid()
const
;
52
Transform3D
getMatrixFromBackend();
53
void
setMatrixFromWidget(
Transform3D
M);
54
55
QVBoxLayout* mVerticalLayout;
56
QLabel* mLabel;
57
Transform3DWidget
* mMatrixWidget;
58
};
59
}
//cx
60
#endif // CXMANUALPATIENTREGISTRATIONWIDGET_H
cx::Transform3DWidget
Widget for displaying and manipulating an affine matrix, i.e. a rotation+translation matrix.
Definition:
cxTransform3DWidget.h:38
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::ManualPatientRegistrationWidget::showEvent
void showEvent(QShowEvent *event)
Definition:
cxManualPatientRegistrationWidget.cpp:42
cx::BaseWidget
Interface for QWidget which handles widgets uniformly for the system.
Definition:
cxBaseWidget.h:88
cxManualRegistrationWidget.h
cx::ManualPatientRegistrationWidget::ManualPatientRegistrationWidget
ManualPatientRegistrationWidget(RegServicesPtr services, QWidget *parent, QString objectName)
Definition:
cxManualPatientRegistrationWidget.cpp:22
cx::Transform3D
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
Definition:
cxLandmarkPatientRegistrationWidget.h:33
cxPatientModelService.h
cx::RegServicesPtr
boost::shared_ptr< class RegServices > RegServicesPtr
Definition:
cxRegServices.h:20
cx::ManualPatientRegistrationWidget::~ManualPatientRegistrationWidget
~ManualPatientRegistrationWidget()
Definition:
cxManualPatientRegistrationWidget.h:38
cx::ManualPatientRegistrationWidget
Definition:
cxManualPatientRegistrationWidget.h:33
cx::ManualPatientRegistrationWidget::mServices
RegServicesPtr mServices
Definition:
cxManualPatientRegistrationWidget.h:43
CX
source
plugins
org.custusx.registration.method.manual
cxManualPatientRegistrationWidget.h
Generated on Thu Jan 5 2023 03:15:52 for NorMIT-nav by
1.8.17