AxisSystem

Inheritance: java.lang.Object

public class AxisSystem

Das Achsensystem ist eine Kombination aus Koordinatensystem, Aufwärtsvektor und Frontvektor.

Konstruktoren

KonstruktorBeschreibung
AxisSystem(CoordinateSystem coordinateSystem, Axis up)Konstruiert ein neues Achsensystem
AxisSystem(Axis up, Axis front)Konstruiert ein neues Achsensystem
AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front)Konstruiert ein neues Achsensystem

Methoden

MethodeBeschreibung
equals(Object arg0)
fromAssetInfo(AssetInfo assetInfo)Erstelle AxisSystem aus AssetInfo
getClass()
getCoordinateSystem()Ruft das Koordinatensystem dieses Achsensystems ab.
getFront()Ruft den Frontvektor dieses Achsensystems ab.
getUp()Ruft den Aufwärtsvektor dieses Achsensystems ab.
hashCode()
notify()
notifyAll()
toString()
transformTo(AxisSystem targetSystem)Erstellt eine Matrix, die zur Umwandlung vom aktuellen Achsensystem in das Zielachsensystem verwendet wird.
wait()
wait(long arg0)
wait(long arg0, int arg1)

AxisSystem(CoordinateSystem coordinateSystem, Axis up)

public AxisSystem(CoordinateSystem coordinateSystem, Axis up)

Konstruiert ein neues Achsensystem

Parameters:

ParameterTypBeschreibung
coordinateSystemCoordinateSystemDas in diesem Achsensystem verwendete Koordinatensystem
upAxisDer Aufwärtsvektor des Achsensystems

AxisSystem(Axis up, Axis front)

public AxisSystem(Axis up, Axis front)

Konstruiert ein neues Achsensystem

Parameters:

ParameterTypBeschreibung
upAxisDer Aufwärtsvektor des Achsensystems
frontAxisDer Frontvektor des Achsensystems

AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front)

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

Konstruiert ein neues Achsensystem

Parameters:

ParameterTypBeschreibung
coordinateSystemCoordinateSystemDas in diesem Achsensystem verwendete Koordinatensystem
upAxisDer Aufwärtsvektor des Achsensystems
frontAxisDer Frontvektor des Achsensystems

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypBeschreibung
arg0java.lang.Object

Returns: boolean

fromAssetInfo(AssetInfo assetInfo)

public static AxisSystem fromAssetInfo(AssetInfo assetInfo)

Erstelle AxisSystem aus AssetInfo

Parameters:

ParameterTypBeschreibung
assetInfoAssetInfoAus welchen Asset-Informationen das Koordinatensystem, der Aufwärtsvektor und der Frontvektor gelesen werden sollen.

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()

Ruft das Koordinatensystem dieses Achsensystems ab.

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

getFront()

public Axis getFront()

Ruft den Frontvektor dieses Achsensystems ab.

Returns: Axis - the front vector of this axis system

getUp()

public Axis getUp()

Ruft den Aufwärtsvektor dieses Achsensystems ab.

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)

Erstellt eine Matrix, die zur Umwandlung vom aktuellen Achsensystem in das Zielachsensystem verwendet wird.

Parameters:

ParameterTypBeschreibung
targetSystemAxisSystemZielachsensystem

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:

ParameterTypBeschreibung
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypBeschreibung
arg0long
arg1int