Package com.ardor3d.math.type
Interface ReadOnlyTransform
- All Known Implementing Classes:
Transform
,ValidatingTransform
public interface ReadOnlyTransform
-
Method Summary
Modifier and TypeMethodDescriptionapplyForward
(ReadOnlyVector3 point, Vector3 store) applyForward
(Vector3 point) applyForwardVector
(ReadOnlyVector3 vector, Vector3 store) applyForwardVector
(Vector3 vector) applyInverse
(ReadOnlyVector3 point, Vector3 store) applyInverse
(Vector3 point) applyInverseVector
(ReadOnlyVector3 vector, Vector3 store) applyInverseVector
(Vector3 vector) clone()
void
getGLApplyMatrix
(DoubleBuffer store) Populates an nio double buffer with data from this transform to use as a model view matrix in OpenGL.void
getGLApplyMatrix
(FloatBuffer store) Populates an nio float buffer with data from this transform to use as a model view matrix in OpenGL.getHomogeneousMatrix
(Matrix4 store) getScale()
boolean
boolean
boolean
multiply
(ReadOnlyTransform transformBy, Transform store) boolean
-
Method Details
-
getMatrix
ReadOnlyMatrix3 getMatrix() -
getTranslation
ReadOnlyVector3 getTranslation() -
getScale
ReadOnlyVector3 getScale() -
isIdentity
boolean isIdentity() -
isRotationMatrix
boolean isRotationMatrix() -
isUniformScale
boolean isUniformScale() -
applyForward
-
applyForward
-
applyInverse
-
applyInverse
-
applyForwardVector
-
applyForwardVector
-
applyInverseVector
-
applyInverseVector
-
multiply
-
invert
-
getHomogeneousMatrix
-
getGLApplyMatrix
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
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
-