matrix3DFromEulerAngle

From EosPedia
Jump to: navigation, search

matrix3DFromEulerAngle is Eos's Command that transforms from rotation by Euler Angle to Rotation Matrix. Output file is used by Command that use Rotation Matrix. (e.g. mrcImageTrans)


List of option

Main option

Option Essential/Optional Description Default
-i Optional Input: ASCII stdin
-o Optional Output: ASCII(4x4 Matrix) stdout
-R Optional Input: RotationAngle: [degree]: (EMode, Rot1, Rot2, Rot3) (ZONS, 0.0, 0.0, 0.0)
-c Optional ConfigurationFile NULL
-m Optional Mode 0
-h Optional Help  

-m details

Value Description
0

Input file format

RotMode Rot1 Rot2 Rot3


Execution example

Case: Options only essential

       1.000000        0.000000        0.000000 
       0.000000        1.000000        0.000000 
       0.000000        0.000000        1.000000 
       0.000000        0.000000        0.000000 

Option -i

Input file's data

YOYS 30 45 60

Output file data

       0.126826       -0.612372        0.780330 
       0.926777        0.353553        0.126827 
      -0.353553        0.707107        0.612372 
       0.000000        0.000000        0.000000 


Option -R

Case: R=(ZONS, 90, 0, 0)

      -0.000000       -1.000000        0.000000 
       1.000000       -0.000000        0.000000 
       0.000000        0.000000        1.000000 
       0.000000        0.000000        0.000000