AxisSystem

Inheritance: java.lang.Object

public class AxisSystem

El sistema de ejes es una combinación de sistema de coordenadas, vector ascendente y vector frontal.

Constructores

ConstructorDescripción
AxisSystem(CoordinateSystem coordinateSystem, Axis up)Construye un nuevo axis system
AxisSystem(Axis up, Axis front)Construye un nuevo axis system
AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front)Construye un nuevo axis system

Métodos

MétodoDescripción
equals(Object arg0)
fromAssetInfo(AssetInfo assetInfo)Crear AxisSystem a partir de AssetInfo
getClass()
getCoordinateSystem()Obtiene el sistema de coordenadas de este axis system.
getFront()Obtiene el vector frontal de este axis system
getUp()Obtiene el vector ascendente de este axis system.
hashCode()
notify()
notifyAll()
toString()
transformTo(AxisSystem targetSystem)Crear una matriz utilizada para convertir del axis system actual al axis system objetivo.
wait()
wait(long arg0)
wait(long arg0, int arg1)

AxisSystem(CoordinateSystem coordinateSystem, Axis up)

public AxisSystem(CoordinateSystem coordinateSystem, Axis up)

Construye un nuevo axis system

Parameters:

ParámetroTipoDescripción
coordinateSystemCoordinateSystemEl sistema de coordenadas utilizado en este axis system
upAxisEl vector ascendente del axis system

AxisSystem(Axis up, Axis front)

public AxisSystem(Axis up, Axis front)

Construye un nuevo axis system

Parameters:

ParámetroTipoDescripción
upAxisEl vector ascendente del axis system
frontAxisEl vector frontal del axis system

AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front)

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

Construye un nuevo axis system

Parameters:

ParámetroTipoDescripción
coordinateSystemCoordinateSystemEl sistema de coordenadas utilizado en este axis system
upAxisEl vector ascendente del axis system
frontAxisEl vector frontal del axis system

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParámetroTipoDescripción
arg0java.lang.Object

Returns: boolean

fromAssetInfo(AssetInfo assetInfo)

public static AxisSystem fromAssetInfo(AssetInfo assetInfo)

Crear AxisSystem a partir de AssetInfo

Parameters:

ParámetroTipoDescripción
assetInfoAssetInfoDesde qué asset info leer el sistema de coordenadas, el vector ascendente y el vector frontal.

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

Obtiene el sistema de coordenadas de este axis system.

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

getFront()

public Axis getFront()

Obtiene el vector frontal de este axis system

Returns: Axis - the front vector of this axis system

getUp()

public Axis getUp()

Obtiene el vector ascendente de este axis system.

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)

Crear una matriz utilizada para convertir del axis system actual al axis system objetivo.

Parameters:

ParámetroTipoDescripción
targetSystemAxisSystemAxis system objetivo

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:

ParámetroTipoDescripción
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParámetroTipoDescripción
arg0long
arg1int