NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cxSpaceProviderNull.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 "cxSpaceProviderNull.h"
13 
14 
15 namespace cx
16 {
17 
19 {
20 
21 }
22 
24 {
25  return Transform3D::Identity();
26 }
27 
28 std::vector<CoordinateSystem> SpaceProviderNull::getSpacesToPresentInGUI()
29 {
30  return std::vector<CoordinateSystem>();
31 }
32 
34 {
35  return std::map<QString, QString>();
36 }
37 
39 {
40  return SpaceListenerPtr();
41 }
42 
44 {
45  return Vector3D();
46 }
47 
49 {
50  return Transform3D::Identity();
51 }
52 
54 {
55  return Transform3D::Identity();
56 }
57 
59 {
60  return CoordinateSystem();
61 }
62 
64 {
65  return CoordinateSystem();
66 }
67 
69 {
70  return CoordinateSystem();
71 }
72 
74 {
75  return CoordinateSystem();
76 }
77 
79 {
80  return CoordinateSystem();
81 }
82 
84 {
85  return CoordinateSystem();
86 }
87 
89 {
90  return CoordinateSystem();
91 }
92 
93 } // namespace cx
cx::SpaceProviderNull::getS
CoordinateSystem getS(ToolPtr tool)
tools sensor coordinate system
Definition: cxSpaceProviderNull.cpp:58
cx::SpaceProviderNull::getT
CoordinateSystem getT(ToolPtr tool)
tools coordinate system
Definition: cxSpaceProviderNull.cpp:63
cx::SpaceListenerPtr
boost::shared_ptr< class SpaceListener > SpaceListenerPtr
Definition: cxAxisConnector.h:23
cx::SpaceProviderNull::getTO
CoordinateSystem getTO(ToolPtr tool)
tool offset coordinate system
Definition: cxSpaceProviderNull.cpp:68
cx::SpaceProviderNull::getR
CoordinateSystem getR()
data references coordinate system
Definition: cxSpaceProviderNull.cpp:83
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::SpaceProviderNull::getDisplayNamesForCoordRefObjects
std::map< QString, QString > getDisplayNamesForCoordRefObjects()
Definition: cxSpaceProviderNull.cpp:33
cx::SpaceProviderNull::getActiveToolTipTransform
Transform3D getActiveToolTipTransform(CoordinateSystem to, bool useOffset)
Get toMt, where t is active tool.
Definition: cxSpaceProviderNull.cpp:48
cx::SpaceProviderNull::SpaceProviderNull
SpaceProviderNull()
Definition: cxSpaceProviderNull.cpp:18
cx::SpaceProviderNull::getPr
CoordinateSystem getPr()
Definition: cxSpaceProviderNull.cpp:78
cx::SpaceProviderNull::getD
CoordinateSystem getD(DataPtr data)
datas coordinate system static CoordinateSystem getPr(); ///<patient references coordinate system
Definition: cxSpaceProviderNull.cpp:73
cx::SpaceProviderNull::getActiveToolTipPoint
Vector3D getActiveToolTipPoint(CoordinateSystem to, bool useOffset)
P_to, active tools current point in coord.
Definition: cxSpaceProviderNull.cpp:43
cx::SpaceProviderNull::get_toMfrom
Transform3D get_toMfrom(CoordinateSystem from, CoordinateSystem to)
to_M_from
Definition: cxSpaceProviderNull.cpp:23
cxSpaceProviderNull.h
cx::Transform3D
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
Definition: cxLandmarkPatientRegistrationWidget.h:33
cx::SpaceProviderNull::getSpacesToPresentInGUI
std::vector< CoordinateSystem > getSpacesToPresentInGUI()
Definition: cxSpaceProviderNull.cpp:28
cx::DataPtr
boost::shared_ptr< class Data > DataPtr
Definition: cxRegistrationApplicator.h:22
cx::ToolPtr
boost::shared_ptr< class Tool > ToolPtr
Definition: cxVideoConnectionWidget.h:43
cx::SpaceProviderNull::get_rMpr
Transform3D get_rMpr()
Definition: cxSpaceProviderNull.cpp:53
cx::SpaceProviderNull::convertToSpecific
CoordinateSystem convertToSpecific(CoordinateSystem space)
convert "active" references to specific tool/data instances
Definition: cxSpaceProviderNull.cpp:88
cx::Vector3D
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Definition: cxVector3D.h:42
cx::CoordinateSystem
Identification of a Coordinate system.
Definition: cxCoordinateSystemHelpers.h:31
cx::SpaceProviderNull::createListener
SpaceListenerPtr createListener()
Definition: cxSpaceProviderNull.cpp:38