CustusX  22.04-rc5
An IGT application
cxUSReconstructInputDataAlgoritms.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 #ifndef CXUSRECONSTRUCTINPUTDATAALGORITMS_H
12 #define CXUSRECONSTRUCTINPUTDATAALGORITMS_H
13 
14 #include "cxResourceExport.h"
15 
17 
18 namespace cx
19 {
20 
31 struct cxResource_EXPORT USReconstructInputDataAlgorithm
32 {
37  static void transformTrackingPositionsTo_prMu(USReconstructInputData* data);
42  static void transformFramePositionsTo_rMu(USReconstructInputData* data);
43 
51  static std::vector<double> interpolateFramePositionsFromTracking(USReconstructInputData *data);
58  static Transform3D slerpInterpolate(const Transform3D& a, const Transform3D& b, double t);
59 
63  Transform3D interpolate(const Transform3D& a, const Transform3D& b, double t);
64 
65 };
66 
67 
72 }//namespace cx
73 #endif // CXUSRECONSTRUCTINPUTDATAALGORITMS_H
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
Namespace for all CustusX production code.