org.ogre4j
Interface IMatrix4

All Superinterfaces:
INativeObject
All Known Implementing Classes:
Matrix4

public interface IMatrix4
extends INativeObject


Method Summary
 void adjoint(IMatrix4 returnValue)
           
 void concatenate(IMatrix4 returnValue, IMatrix4 m2)
           
 void concatenateAffine(IMatrix4 returnValue, IMatrix4 m2)
          Concatenate two affine matrix.
 float determinant()
           
 void extract3x3Matrix(IMatrix3 m3x3)
          Extracts the rotation / scaling part of the Matrix as a 3x3 matrix.
 void extractQuaternion(IQuaternion returnValue)
          Extracts the rotation / scaling part as a quaternion from the Matrix.
 void getTrans(IVector3 returnValue)
          Extracts the translation transformation part of the matrix.
 boolean hasNegativeScale()
          Determines if this matrix involves a negative scaling.
 boolean hasScale()
          Determines if this matrix involves a scaling.
 void inverse(IMatrix4 returnValue)
           
 void inverseAffine(IMatrix4 returnValue)
          Returns the inverse of the affine matrix.
 boolean isAffine()
          Check whether or not the matrix is affine matrix.
 void makeInverseTransform(IVector3 position, IVector3 scale, IQuaternion orientation)
          Building an inverse from orientation / scale / position.
 void makeTrans(float tx, float ty, float tz)
           
 void makeTrans(IVector3 v)
          Builds a translation matrix
 void makeTransform(IVector3 position, IVector3 scale, IQuaternion orientation)
          Building a from orientation / scale / position.
 void operatorAddition(IMatrix4 returnValue, IMatrix4 m2)
          Matrix addition.
 void operatorAssignment(IMatrix3 mat3)
          Assignment from 3x3 matrix.
 boolean operatorEqual(IMatrix4 m2)
          Tests 2 matrices for equality.
 FloatPointer operatorIndex_const(int iRow)
           
 FloatPointer operatorIndex(int iRow)
           
 void operatorMultiplication(IMatrix4 returnValue, float scalar)
           
 void operatorMultiplication(IMatrix4 returnValue, IMatrix4 m2)
          Matrix concatenation using '*'.
 void operatorMultiplication(IPlane returnValue, IPlane p)
           
 void operatorMultiplication(IVector3 returnValue, IVector3 v)
          Vector transformation using '*'.
 void operatorMultiplication(IVector4 returnValue, IVector4 v)
           
 boolean operatorNotEqual(IMatrix4 m2)
          Tests 2 matrices for inequality.
 void operatorSubtraction(IMatrix4 returnValue, IMatrix4 m2)
          Matrix subtraction.
 void setScale(IVector3 v)
          Sets the scale part of the matrix.
 void setTrans(IVector3 v)
          Sets the translation transformation part of the matrix.
 void transformAffine(IVector3 returnValue, IVector3 v)
          3-D Vector transformation specially for affine matrix.
 void transformAffine(IVector4 returnValue, IVector4 v)
          4-D Vector transformation specially for affine matrix.
 void transpose(IMatrix4 returnValue)
           
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

operatorIndex

FloatPointer operatorIndex(int iRow)

operatorIndex_const

FloatPointer operatorIndex_const(int iRow)

concatenate

void concatenate(IMatrix4 returnValue,
                 IMatrix4 m2)

operatorMultiplication

void operatorMultiplication(IMatrix4 returnValue,
                            IMatrix4 m2)
Matrix concatenation using '*'.


operatorMultiplication

void operatorMultiplication(IVector3 returnValue,
                            IVector3 v)
Vector transformation using '*'.


operatorMultiplication

void operatorMultiplication(IVector4 returnValue,
                            IVector4 v)

operatorMultiplication

void operatorMultiplication(IPlane returnValue,
                            IPlane p)

operatorAddition

void operatorAddition(IMatrix4 returnValue,
                      IMatrix4 m2)
Matrix addition.


operatorSubtraction

void operatorSubtraction(IMatrix4 returnValue,
                         IMatrix4 m2)
Matrix subtraction.


operatorEqual

boolean operatorEqual(IMatrix4 m2)
Tests 2 matrices for equality.


operatorNotEqual

boolean operatorNotEqual(IMatrix4 m2)
Tests 2 matrices for inequality.


operatorAssignment

void operatorAssignment(IMatrix3 mat3)
Assignment from 3x3 matrix.


transpose

void transpose(IMatrix4 returnValue)

setTrans

void setTrans(IVector3 v)
Sets the translation transformation part of the matrix.


getTrans

void getTrans(IVector3 returnValue)
Extracts the translation transformation part of the matrix.


makeTrans

void makeTrans(IVector3 v)
Builds a translation matrix


makeTrans

void makeTrans(float tx,
               float ty,
               float tz)

setScale

void setScale(IVector3 v)
Sets the scale part of the matrix.


extract3x3Matrix

void extract3x3Matrix(IMatrix3 m3x3)
Extracts the rotation / scaling part of the Matrix as a 3x3 matrix.


hasScale

boolean hasScale()
Determines if this matrix involves a scaling.


hasNegativeScale

boolean hasNegativeScale()
Determines if this matrix involves a negative scaling.


extractQuaternion

void extractQuaternion(IQuaternion returnValue)
Extracts the rotation / scaling part as a quaternion from the Matrix.


operatorMultiplication

void operatorMultiplication(IMatrix4 returnValue,
                            float scalar)

adjoint

void adjoint(IMatrix4 returnValue)

determinant

float determinant()

inverse

void inverse(IMatrix4 returnValue)

makeTransform

void makeTransform(IVector3 position,
                   IVector3 scale,
                   IQuaternion orientation)
Building a from orientation / scale / position.


makeInverseTransform

void makeInverseTransform(IVector3 position,
                          IVector3 scale,
                          IQuaternion orientation)
Building an inverse from orientation / scale / position.


isAffine

boolean isAffine()
Check whether or not the matrix is affine matrix.


inverseAffine

void inverseAffine(IMatrix4 returnValue)
Returns the inverse of the affine matrix.


concatenateAffine

void concatenateAffine(IMatrix4 returnValue,
                       IMatrix4 m2)
Concatenate two affine matrix.


transformAffine

void transformAffine(IVector3 returnValue,
                     IVector3 v)
3-D Vector transformation specially for affine matrix.


transformAffine

void transformAffine(IVector4 returnValue,
                     IVector4 v)
4-D Vector transformation specially for affine matrix.



Copyright © 2007 netAllied GmbH. All Rights Reserved.