Mech-Eye API 2.4.0
API reference documentation for Mech-Eye Industrial 3D Camera
|
Defines the rigid body transformations from one reference frame to another, including the rotation matrix and translation vector. More...
#include <CommonTypes.h>
Public Types | |
enum class | Axis { X , Y , Z } |
Public Member Functions | |
FrameTransformation (double rotateX, double rotateY, double rotateZ, double translateX, double translateY, double translateZ) | |
FrameTransformation (const FrameTransformation &rhs) | |
FrameTransformation & | operator= (const FrameTransformation &rhs) |
void | rotate (double theta, Axis rotationAxis) |
Rotates the reference frame of the point cloud. | |
void | translate (double x, double y, double z) |
Translates the reference frame of the point cloud. | |
bool | isValid () const |
Check if a custom reference frame has been set using Mech-Eye Viewer. | |
Public Attributes | |
double | rotation [3][3] = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}} |
3*3 rotation matrix. | |
double | translation [3] = {0, 0, 0} |
3*1 translation vector in [x(mm), y(mm), z(mm)]. | |
Defines the rigid body transformations from one reference frame to another, including the rotation matrix and translation vector.
Definition at line 91 of file CommonTypes.h.
Definition at line 120 of file CommonTypes.h.
|
inline |
Definition at line 95 of file CommonTypes.h.
|
inline |
Definition at line 104 of file CommonTypes.h.
|
inline |
Check if a custom reference frame has been set using Mech-Eye Viewer.
Definition at line 173 of file CommonTypes.h.
|
inline |
Definition at line 110 of file CommonTypes.h.
Rotates the reference frame of the point cloud.
[in] | theta | The amount of rotation. |
[in] | rotationAxis | The axis around which the rotation is performed. X-, Y-, and Z-Axes can be input. |
Definition at line 128 of file CommonTypes.h.
Translates the reference frame of the point cloud.
[in] | x | The amount of translation (in mm) along the X-axis. |
[in] | y | The amount of translation (in mm) along the Y-axis. |
[in] | z | The amount of translation (in mm) along the Z-axis. |
Definition at line 163 of file CommonTypes.h.
double mmind::eye::FrameTransformation::rotation[3][3] = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}} |
3*3 rotation matrix.
Definition at line 197 of file CommonTypes.h.
double mmind::eye::FrameTransformation::translation[3] = {0, 0, 0} |
3*1 translation vector in [x(mm), y(mm), z(mm)].
Definition at line 198 of file CommonTypes.h.