crystalspace.jbind.impl.csgeom.transfrm
Class csOrthoTransform

java.lang.Object
  extended bycrystalspace.jbind.impl.csNativeObject
      extended bycrystalspace.jbind.impl.csgeom.transfrm.csTransform
          extended bycrystalspace.jbind.impl.csgeom.transfrm.csOrthoTransform
All Implemented Interfaces:
iPointer

public class csOrthoTransform
extends csTransform

A class which defines a reversible transformation from one coordinate system to another by maintaining an inverse transformation matrix.

Author:
Quentin Anciaux

Field Summary
 
Fields inherited from class crystalspace.jbind.impl.csNativeObject
ImplFactory, nPointer
 
Constructor Summary
csOrthoTransform()
          Initialize with the identity transformation.
csOrthoTransform(csMatrix3 o2t, csVector3 pos)
          Initialize with the given transformation.
csOrthoTransform(csTransform t)
          Initialize with the given transformation.
csOrthoTransform(iPointer pointer)
          Create a java csOrthoTransform object which points to the native csOrthoTransform nPointer.
 
Method Summary
protected  boolean isNativePointerValidSafe(long nPointer)
           
protected  void nDelete(long pointer)
           
 void setT2O(csMatrix3 m)
          Set 'this' to 'other' transformation matrix.
 
Methods inherited from class crystalspace.jbind.impl.csgeom.transfrm.csTransform
getO2T, getO2TTranslation, getOrigin, getReflect, identity, isIdentity, mul, mul, mul, mul, mul, mul, mul, mul, mul, mule, mule, mule, mule, other2This, other2This, other2This, other2This, other2ThisRelative, other2ThisRelative, setO2T, setO2TTranslation, setOrigin, translate
 
Methods inherited from class crystalspace.jbind.impl.csNativeObject
changePointer, equals, finalize, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

csOrthoTransform

public csOrthoTransform(iPointer pointer)
Create a java csOrthoTransform object which points to the native csOrthoTransform nPointer.

Parameters:
pointer -

csOrthoTransform

public csOrthoTransform()
Initialize with the identity transformation.


csOrthoTransform

public csOrthoTransform(csMatrix3 o2t,
                        csVector3 pos)
Initialize with the given transformation.

Parameters:
o2t -
pos -

csOrthoTransform

public csOrthoTransform(csTransform t)
Initialize with the given transformation.

Parameters:
t -
Method Detail

setT2O

public final void setT2O(csMatrix3 m)
Set 'this' to 'other' transformation matrix.

Parameters:
m -

nDelete

protected void nDelete(long pointer)
Overrides:
nDelete in class csTransform
See Also:
csNativeObject.nDelete(long)

isNativePointerValidSafe

protected boolean isNativePointerValidSafe(long nPointer)
Overrides:
isNativePointerValidSafe in class csTransform
See Also:
crystalspace.jbind.impl.csNativeObject#isNativePointerValidSafe()