NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cxRegistrationServiceNull.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 
13 #include "qdatetime.h"
15 
16 
17 namespace cx
18 {
19 
21 {
22 }
23 
25 {
26  printWarning();
27 }
28 
30 {
31  printWarning();
32 }
33 
35 {
36  return DataPtr();
37 }
38 
40 {
41  return DataPtr();
42 }
43 
45 {
46  printWarning();
47 }
48 
50 {
51  printWarning();
52 }
53 
55 {
56  printWarning();
57 }
58 
60 {
61  printWarning();
62 }
63 
64 void RegistrationServiceNull::addImage2ImageRegistration(Transform3D delta_pre_rMd, QString description)
65 {
66  printWarning();
67 }
68 
70 {
71  printWarning();
72 }
73 
75 {
76  printWarning();
77 }
78 
80 {
81  printWarning();
82 }
83 
85 {
86  printWarning();
87 }
88 
90 {
91  return QDateTime();
92 }
93 
95 {
96  printWarning();
97 }
98 
99 void RegistrationServiceNull::updateRegistration(QDateTime oldTime, RegistrationTransform deltaTransform, DataPtr data, QString masterFrame)
100 {
101  printWarning();
102 }
103 
105 {
106  return true;
107 }
108 
109 void RegistrationServiceNull::printWarning()
110 {
111 // reportWarning("Trying to use RegistrationServiceNull. Is RegistrationService (org.custusx.registration) disabled?");
112 }
113 
114 } // namespace cx
cx::RegistrationServiceNull::addPatientRegistration
virtual void addPatientRegistration(Transform3D rMpr_new, QString description)
Definition: cxRegistrationServiceNull.cpp:74
cx::RegistrationServiceNull::setLastRegistrationTime
virtual void setLastRegistrationTime(QDateTime time)
Definition: cxRegistrationServiceNull.cpp:94
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::RegistrationServiceNull::updateImage2ImageRegistration
virtual void updateImage2ImageRegistration(Transform3D delta_pre_rMd, QString description)
Definition: cxRegistrationServiceNull.cpp:69
cx::RegistrationServiceNull::setFixedData
virtual void setFixedData(DataPtr data)
Definition: cxRegistrationServiceNull.cpp:29
cx::RegistrationServiceNull::doFastRegistration_Orientation
virtual void doFastRegistration_Orientation(const Transform3D &tMtm, const Transform3D &prMt)
Definition: cxRegistrationServiceNull.cpp:54
cx::RegistrationServiceNull::getFixedData
virtual DataPtr getFixedData()
Definition: cxRegistrationServiceNull.cpp:39
cx::RegistrationServiceNull::updateRegistration
virtual void updateRegistration(QDateTime oldTime, RegistrationTransform deltaTransform, DataPtr data, QString masterFrame)
Definition: cxRegistrationServiceNull.cpp:99
cx::RegistrationServiceNull::doPatientRegistration
virtual void doPatientRegistration()
registrates the fixed image to the patient
Definition: cxRegistrationServiceNull.cpp:44
cx::RegistrationServiceNull::getLastRegistrationTime
virtual QDateTime getLastRegistrationTime()
Definition: cxRegistrationServiceNull.cpp:89
cx::Transform3D
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
Definition: cxLandmarkPatientRegistrationWidget.h:33
cx::RegistrationServiceNull::doImageRegistration
virtual void doImageRegistration(bool translationOnly)
Definition: cxRegistrationServiceNull.cpp:59
cx::RegistrationServiceNull::applyPatientOrientation
virtual void applyPatientOrientation(const Transform3D &tMtm, const Transform3D &prMt)
Definition: cxRegistrationServiceNull.cpp:84
cx::RegistrationServiceNull::isNull
virtual bool isNull()
Definition: cxRegistrationServiceNull.cpp:104
cx::DataPtr
boost::shared_ptr< class Data > DataPtr
Definition: cxRegistrationApplicator.h:22
cx::RegistrationServiceNull::doFastRegistration_Translation
virtual void doFastRegistration_Translation()
use the landmarks in master image and patient to perform a translation-only landmark registration
Definition: cxRegistrationServiceNull.cpp:49
cx::RegistrationServiceNull::updatePatientRegistration
virtual void updatePatientRegistration(Transform3D rMpr_new, QString description)
Definition: cxRegistrationServiceNull.cpp:79
cxRegistrationTransform.h
cx::RegistrationServiceNull::getMovingData
virtual DataPtr getMovingData()
Definition: cxRegistrationServiceNull.cpp:34
cx::RegistrationServiceNull::setMovingData
virtual void setMovingData(DataPtr data)
Definition: cxRegistrationServiceNull.cpp:24
cx::RegistrationServiceNull::addImage2ImageRegistration
virtual void addImage2ImageRegistration(Transform3D delta_pre_rMd, QString description)
Definition: cxRegistrationServiceNull.cpp:64
cx::RegistrationTransform
A registration event and its transform.
Definition: cxRegistrationTransform.h:39
cx::RegistrationServiceNull::RegistrationServiceNull
RegistrationServiceNull()
Definition: cxRegistrationServiceNull.cpp:20
cxRegistrationServiceNull.h