AxisSystem

Inheritance: java.lang.Object

public class AxisSystem

軸系は座標系、上ベクトル、前ベクトルの組み合わせです。

コンストラクタ

コンストラクタ説明
AxisSystem(CoordinateSystem coordinateSystem, Axis up)新しい軸システムを作成します
AxisSystem(Axis up, Axis front)新しい軸システムを作成します
AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front)新しい軸システムを作成します

メソッド

メソッド説明
equals(Object arg0)
fromAssetInfo(AssetInfo assetInfo)AxisSystemAssetInfo から作成する
getClass()
getCoordinateSystem()この軸システムの座標系を取得します。
getFront()この軸システムの前ベクトルを取得します。
getUp()この軸システムの上ベクトルを取得します。
hashCode()
notify()
notifyAll()
toString()
transformTo(AxisSystem targetSystem)現在の軸システムから目標軸システムへ変換するために使用される行列を作成します。
wait()
wait(long arg0)
wait(long arg0, int arg1)

AxisSystem(CoordinateSystem coordinateSystem, Axis up)

public AxisSystem(CoordinateSystem coordinateSystem, Axis up)

新しい軸システムを作成します

Parameters:

パラメーター説明
coordinateSystemCoordinateSystemこの軸システムで使用される座標系
upAxis軸システムの上ベクトル

AxisSystem(Axis up, Axis front)

public AxisSystem(Axis up, Axis front)

新しい軸システムを作成します

Parameters:

パラメーター説明
upAxis軸システムの上ベクトル
frontAxis軸システムの前ベクトル

AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front)

public AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front)

新しい軸システムを作成します

Parameters:

パラメーター説明
coordinateSystemCoordinateSystemこの軸システムで使用される座標系
upAxis軸システムの上ベクトル
frontAxis軸システムの前ベクトル

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

パラメーター説明
arg0java.lang.Object

Returns: boolean

fromAssetInfo(AssetInfo assetInfo)

public static AxisSystem fromAssetInfo(AssetInfo assetInfo)

AxisSystemAssetInfo から作成する

Parameters:

パラメーター説明
assetInfoAssetInfoどのアセット情報から座標系、上ベクトル、前ベクトルを読み取るか。

Returns: AxisSystem - Axis system containg coordinate system, up, front from given asset info

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCoordinateSystem()

public CoordinateSystem getCoordinateSystem()

この軸システムの座標系を取得します。

Returns: CoordinateSystem - the coordinate system of this axis system.

getFront()

public Axis getFront()

この軸システムの前ベクトルを取得します。

Returns: Axis - the front vector of this axis system

getUp()

public Axis getUp()

この軸システムの上ベクトルを取得します。

Returns: Axis - the up vector of this axis system.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

transformTo(AxisSystem targetSystem)

public Matrix4 transformTo(AxisSystem targetSystem)

現在の軸システムから目標軸システムへ変換するために使用される行列を作成します。

Parameters:

パラメーター説明
targetSystemAxisSystem目標軸システム

Returns: Matrix4 - A new transformation matrix to do the axis conversion

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

パラメーター説明
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

パラメーター説明
arg0long
arg1int