CustusX
15.3.3-beta
An IGT application
|
#include <cxUSReconstructInputDataAlgoritms.h>
Public Member Functions | |
Transform3D | interpolate (const Transform3D &a, const Transform3D &b, double t) |
Static Public Member Functions | |
static void | transformTrackingPositionsTo_prMu (USReconstructInputData *data) |
static void | transformFramePositionsTo_rMu (USReconstructInputData *data) |
static std::vector< double > | interpolateFramePositionsFromTracking (USReconstructInputData *data) |
static Transform3D | slerpInterpolate (const Transform3D &a, const Transform3D &b, double t) |
Collection of operations on USReconstructInputData
Definition at line 52 of file cxUSReconstructInputDataAlgoritms.h.
Transform3D cx::USReconstructInputDataAlgorithm::interpolate | ( | const Transform3D & | a, |
const Transform3D & | b, | ||
double | t | ||
) |
Linear interpolation between a and b. t = 1 means use only b;
Definition at line 118 of file cxUSReconstructInputDataAlgoritms.cpp.
|
static |
Find frame positions based on the existing tool positions and timestamps for both tools and frames. Return a vector containing an error measure for each frame. The error is the max temporal distance from the frame to the two neighbouring tool positions.
Definition at line 68 of file cxUSReconstructInputDataAlgoritms.cpp.
|
static |
Interpolation between a and b Spherical interpolation of the rotation, and linear interpolation of the position. Uses Quaternion Slerp, so the rotational part of the matrix have to be converted to Quaternion before the interpolation (and back again afterwards).
Definition at line 102 of file cxUSReconstructInputDataAlgoritms.cpp.
|
static |
Pre: mFrames is prMt Post: mFrames is rMu
Definition at line 53 of file cxUSReconstructInputDataAlgoritms.cpp.
|
static |
Pre: mPos is prMt Post: mPos is prMu
Definition at line 38 of file cxUSReconstructInputDataAlgoritms.cpp.