CustusX  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
virtual void setMovingData(DataPtr data)
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
virtual void updatePatientRegistration(Transform3D rMpr_new, QString description)
virtual void addImage2ImageRegistration(Transform3D delta_pre_rMd, QString description)
virtual void doFastRegistration_Orientation(const Transform3D &tMtm, const Transform3D &prMt)
virtual void setLastRegistrationTime(QDateTime time)
virtual void applyPatientOrientation(const Transform3D &tMtm, const Transform3D &prMt)
virtual void doImageRegistration(bool translationOnly)
boost::shared_ptr< class Data > DataPtr
virtual void updateImage2ImageRegistration(Transform3D delta_pre_rMd, QString description)
virtual void addPatientRegistration(Transform3D rMpr_new, QString description)
A registration event and its transform.
virtual void setFixedData(DataPtr data)
virtual void doFastRegistration_Translation()
use the landmarks in master image and patient to perform a translation-only landmark registration ...
virtual void doPatientRegistration()
registrates the fixed image to the patient
virtual void updateRegistration(QDateTime oldTime, RegistrationTransform deltaTransform, DataPtr data, QString masterFrame)
Namespace for all CustusX production code.