「matrix3DFromEulerAngle」の版間の差分

提供: Eospedia
移動: 案内検索
行20: 行20:
 
<td>-o</td>  
 
<td>-o</td>  
 
<td>選択</td>  
 
<td>選択</td>  
<td>出力ファイル: テキスト(Matrix)</td>  
+
<td>出力ファイル: テキスト(4x4行列)</td>  
 
<td>stdout</td>  
 
<td>stdout</td>  
 
</tr>  
 
</tr>  

2014年1月17日 (金) 06:10時点における版

matrix3DFromEulerAngleとはオイラー角による回転を回転行列に変換するEosコマンドである。出力されるファイルはmrcImageTransなど回転行列を使ったコマンドで使用する。


オプション一覧

メインオプション

オプション 必須項目/選択項目 説明 デフォルト
-i 選択 入力ファイル: テキスト stdin
-o 選択 出力ファイル: テキスト(4x4行列) stdout
-R 選択 入力: 回転角度: [degree]: (EMode, Rot1, Rot2, Rot3) (ZONS, 0.0, 0.0, 0.0)
-c 選択 コンフィグファイル設定 NULL
-m 選択 モードを設定 0
-h 選択 ヘルプを表示  

モードの詳細

モード 説明
0

入力ファイルのフォーマット

RotMode Rot1 Rot2 Rot3


実行例

オプション必須項目のみの場合

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

オプション -i

入力ファイルのデータ

YOYS 30 45 60

出力ファイルのデータ

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


オプション -R

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