Mech-Eye API 2.5.2
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 112 of file CommonTypes.h.
Definition at line 141 of file CommonTypes.h.
|
inline |
Definition at line 116 of file CommonTypes.h.
|
inline |
Definition at line 125 of file CommonTypes.h.
|
inline |
Check if a custom reference frame has been set using Mech-Eye Viewer.
Definition at line 194 of file CommonTypes.h.
|
inline |
Definition at line 131 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 149 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 184 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 218 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 219 of file CommonTypes.h.