Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
Nipscan.h
Go to the documentation of this file.
1#pragma once
4#include <ktm/global.h>
5#include <math/Types.h>
6#include <misc/gen/TSet.h>
7
8namespace sf
9{
10
15{
16 Vector3D::value_type x{0};
17 Vector3D::value_type y{0};
18 Vector3D::value_type z{0};
19 Vector3D::value_type a{0};
20 Vector3D::value_type b{0};
21};
22
35
40
56 const Matrix44& surface, const ToolInformation& tool, double beam_len, double& ax_x, double& ax_y, double& ax_z, double& ax_a, double& ax_b,
57 TranslateOptions options = {}
58);
59
68bool _KTM_FUNC getFocusMatrixFromNipscanPose(Matrix44& mtx, const NipscanPose& pose, const ToolInformation& tool, const ElementInformation& elem);
69
70}// namespace sf
Holds the information on the transducer.
Definition ElementInformation.h:12
Template class for managing bit maks preferably when bits are defined as enumerate values.
Definition TSet.h:14
Holds all the necessary information on a tool to make calculations.
Definition ToolInformation.h:13
#define _KTM_FUNC
Definition ktm/global.h:34
Definition Application.h:10
TSet< ETranslateOption > TranslateOptions
Bitmap set of translation options.
Definition Nipscan.h:39
ETranslateOption
Translation options for the sf::TranslateToNipscanCoords() function.
Definition Nipscan.h:27
@ toSECSOLUTION
Use the second solution for A and B axis if one is there.
Definition Nipscan.h:29
@ toNOSURFACECALC
Do not calculate the A-axis from the surface.
Definition Nipscan.h:33
@ toTOGGLESECSOL
Toggle the second solution when the surface position is in line with the A-axis position.
Definition Nipscan.h:31
bool getFocusMatrixFromNipscanPose(Matrix44 &mtx, const NipscanPose &pose, const ToolInformation &tool, const ElementInformation &elem)
Calculates the focal point matrix of a nipscan pose having a certain tool and element.
bool TranslateToNipscanCoords(const Matrix44 &surface, const ToolInformation &tool, double beam_len, double &ax_x, double &ax_y, double &ax_z, double &ax_a, double &ax_b, TranslateOptions options={})
Translates the matrix to manipulator pose coordinate values. This function should be part of a scan m...
Pose of the Nipscan manipulator comprising all relevant axis.
Definition Nipscan.h:15
Vector3D::value_type y
Definition Nipscan.h:17
Vector3D::value_type a
Definition Nipscan.h:19
Vector3D::value_type z
Definition Nipscan.h:18
Vector3D::value_type b
Definition Nipscan.h:20
Vector3D::value_type x
Definition Nipscan.h:16