AxisSystem
Inheritance: java.lang.Object
public class AxisSystem
Il sistema di assi è una combinazione di sistema di coordinate, vettore up e vettore front.
Costruttori
| Costruttore | Descrizione |
|---|---|
| AxisSystem(CoordinateSystem coordinateSystem, Axis up) | Costruisce un nuovo sistema di assi |
| AxisSystem(Axis up, Axis front) | Costruisce un nuovo sistema di assi |
| AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front) | Costruisce un nuovo sistema di assi |
Metodi
| Metodo | Descrizione |
|---|---|
| equals(Object arg0) | |
| fromAssetInfo(AssetInfo assetInfo) | Crea AxisSystem da AssetInfo |
| getClass() | |
| getCoordinateSystem() | Ottiene il sistema di coordinate di questo sistema di assi. |
| getFront() | Ottiene il vettore front di questo sistema di assi |
| getUp() | Ottiene il vettore up di questo sistema di assi. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| transformTo(AxisSystem targetSystem) | Crea una matrice utilizzata per convertire dal sistema di assi corrente al sistema di assi di destinazione. |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
AxisSystem(CoordinateSystem coordinateSystem, Axis up)
public AxisSystem(CoordinateSystem coordinateSystem, Axis up)
Costruisce un nuovo sistema di assi
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| coordinateSystem | CoordinateSystem | Il sistema di coordinate utilizzato in questo sistema di assi |
| up | Axis | Il vettore up del sistema di assi |
AxisSystem(Axis up, Axis front)
public AxisSystem(Axis up, Axis front)
Costruisce un nuovo sistema di assi
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| up | Axis | Il vettore up del sistema di assi |
| front | Axis | Il vettore front del sistema di assi |
AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front)
public AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front)
Costruisce un nuovo sistema di assi
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| coordinateSystem | CoordinateSystem | Il sistema di coordinate utilizzato in questo sistema di assi |
| up | Axis | Il vettore up del sistema di assi |
| front | Axis | Il vettore front del sistema di assi |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
fromAssetInfo(AssetInfo assetInfo)
public static AxisSystem fromAssetInfo(AssetInfo assetInfo)
Crea AxisSystem da AssetInfo
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| assetInfo | AssetInfo | Da quale asset info leggere il sistema di coordinate, il vettore up e il vettore front. |
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()
Ottiene il sistema di coordinate di questo sistema di assi.
Returns: CoordinateSystem - the coordinate system of this axis system.
getFront()
public Axis getFront()
Ottiene il vettore front di questo sistema di assi
Returns: Axis - the front vector of this axis system
getUp()
public Axis getUp()
Ottiene il vettore up di questo sistema di assi.
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)
Crea una matrice utilizzata per convertire dal sistema di assi corrente al sistema di assi di destinazione.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| targetSystem | AxisSystem | Sistema di assi di destinazione |
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:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long | |
| arg1 | int |