Interface ReadOnlyTransform

All Known Implementing Classes:
Transform, ValidatingTransform

public interface ReadOnlyTransform
  • Method Details

    • getMatrix

      ReadOnlyMatrix3 getMatrix()
    • getTranslation

      ReadOnlyVector3 getTranslation()
    • getScale

      ReadOnlyVector3 getScale()
    • isIdentity

      boolean isIdentity()
    • isRotationMatrix

      boolean isRotationMatrix()
    • isUniformScale

      boolean isUniformScale()
    • applyForward

      Vector3 applyForward(Vector3 point)
    • applyForward

      Vector3 applyForward(ReadOnlyVector3 point, Vector3 store)
    • applyInverse

      Vector3 applyInverse(Vector3 point)
    • applyInverse

      Vector3 applyInverse(ReadOnlyVector3 point, Vector3 store)
    • applyForwardVector

      Vector3 applyForwardVector(Vector3 vector)
    • applyForwardVector

      Vector3 applyForwardVector(ReadOnlyVector3 vector, Vector3 store)
    • applyInverseVector

      Vector3 applyInverseVector(Vector3 vector)
    • applyInverseVector

      Vector3 applyInverseVector(ReadOnlyVector3 vector, Vector3 store)
    • multiply

      Transform multiply(ReadOnlyTransform transformBy, Transform store)
    • invert

      Transform invert(Transform store)
    • getHomogeneousMatrix

      Matrix4 getHomogeneousMatrix(Matrix4 store)
    • getGLApplyMatrix

      void getGLApplyMatrix(DoubleBuffer store)
      Populates an nio double buffer with data from this transform to use as a model view matrix in OpenGL. This is done as efficiently as possible, not touching positions 3, 7, 11 and 15.
      Parameters:
      store - double buffer to store in. Assumes a size of 16 and that position 3, 7 and 11 are already set as 0.0 and 15 is already 1.0.
    • getGLApplyMatrix

      void getGLApplyMatrix(FloatBuffer store)
      Populates an nio float buffer with data from this transform to use as a model view matrix in OpenGL. This is done as efficiently as possible, not touching positions 3, 7, 11 and 15.
      Parameters:
      store - float buffer to store in. Assumes a size of 16 and that position 3, 7 and 11 are already set as 0.0f and 15 is already 1.0f.
    • clone

      Transform clone()
    • strictEquals

      boolean strictEquals(Object o)