Manual Rotation and Translation
Description
The manual rotation and translation tool supports point cloud and model data types. By rotating and translating the corresponding data in the window, it obtains the corresponding transformation matrix. After applying this transformation, the transformed result data will be obtained.
Tools
In the data registration interface, the buttons from left to right are: Match Data Center, Pause Rotation and Translation, Set Rotation Center, and Reset to Initial State.
The translation and rotation angle information is calculated based on the rotation center, which corresponds to the world coordinates of the geometric center of the bounding box of the data to be registered.
**Match Center**: This function is available when there is a reference point cloud. It calculates the center of the reference point cloud and the center of the point cloud to be processed, and translates the point cloud to be processed to the location of the reference data.
**Pause**: Pause the rotation and translation operations of the data to be processed. In this state, you can view the differences between the current transformation and the reference data from various angles.
**Set Rotation Center**: Click this function to bring up a dialog box to set the coordinates of the rotation center.
**Restore**: Reset the data to be processed to the initial state and change the rotation transformation matrix to the identity matrix.
**Apply Transform**: After applying the transformation matrix, you can save the transformed point cloud result to the original file or generate a new file.
Transformation formula:
Given the coordinates of the point before transformation P0(X0,Y0,Z0).
The transformation matrix M is as follows:
The transformation formula is [X1 Y1 Z1 1] = [X0 Y0 Z0 1]*M /(a03*X0 + a13*Y0 +a23*Z0);
The coordinates after transformation are P1(X1,Y1,Z1).
TX: After checking this item, you can perform translation operations along the X-axis. The translation amount in the X direction will be displayed on delt X.
TY: After checking this item, you can perform translation operations along the Y-axis. The translation amount in the Y direction will be displayed on delt Y.
TZ: After checking this item, you can perform translation operations along the Z-axis. The translation amount in the Z direction will be displayed on delt Z.
Rotate: There are four options: X, Y, Z, and XYZ. If X is selected, rotation operations can only be performed along the X-axis; if Y is selected, rotation operations can only be performed along the Y-axis; if Z is selected, rotation operations can only be performed along the Z-axis; if XYZ is selected, rotation operations can be performed along the X, Y, and Z axes.
Rotate Ball
- As shown in the figure, hold the left mouse button and drag the red, green, and blue arrow axes to translate the point cloud along the X, Y, and Z axes, respectively. The dragged axis will be highlighted. Hold the left mouse button and drag the red, green, and blue track circles to rotate the point cloud around the X, Y, and Z axes, respectively. The dragged track circle will be highlighted.