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
| Constructor | Descripció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étodo | Descripció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ámetro | Tipo | Descripción |
|---|---|---|
| coordinateSystem | CoordinateSystem | El sistema de coordenadas utilizado en este axis system |
| up | Axis | El vector ascendente del axis system |
AxisSystem(Axis up, Axis front)
public AxisSystem(Axis up, Axis front)
Construye un nuevo axis system
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| up | Axis | El vector ascendente del axis system |
| front | Axis | El 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ámetro | Tipo | Descripción |
|---|---|---|
| coordinateSystem | CoordinateSystem | El sistema de coordenadas utilizado en este axis system |
| up | Axis | El vector ascendente del axis system |
| front | Axis | El vector frontal del axis system |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
fromAssetInfo(AssetInfo assetInfo)
public static AxisSystem fromAssetInfo(AssetInfo assetInfo)
Crear AxisSystem a partir de AssetInfo
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| assetInfo | AssetInfo | Desde 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ámetro | Tipo | Descripción |
|---|---|---|
| targetSystem | AxisSystem | Axis 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ámetro | Tipo | Descripción |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| arg0 | long | |
| arg1 | int |