Package fabmetheus_utilities :: Package geometry :: Package geometry_utilities :: Module matrix
[hide private]
[frames] | no frames]

Module matrix

source code

Boolean geometry four by four matrix.


Date: $Date: 2008/02/05 $

Author: Enrique Perez (perez_enrique@yahoo.com)

License: GNU Affero General Public License http://www.gnu.org/licenses/agpl.html

Classes [hide private]
  Matrix
A four by four matrix.
Functions [hide private]
 
addVertexes(geometryOutput, vertexes)
Add the vertexes.
source code
 
getBranchMatrix(xmlElement)
Get matrix starting from the object if it exists, otherwise get a matrix starting from stratch.
source code
 
getBranchMatrixSetXMLElement(xmlElement)
Get matrix starting from the object if it exists, otherwise get a matrix starting from stratch.
source code
 
getCumulativeVector3Remove(defaultVector3, prefix, xmlElement)
Get cumulative vector3 and delete the prefixed attributes.
source code
 
getDiagonalSwitchedTetragrid(angleDegrees, diagonals)
Get the diagonals and switched matrix by degrees.
source code
 
getDiagonalSwitchedTetragridByRadians(angleRadians, diagonals)
Get the diagonals and switched matrix by radians.
source code
 
getDiagonalSwitchedTetragridByPolar(diagonals, unitPolar)
Get the diagonals and switched matrix by unitPolar.
source code
 
getIdentityTetragrid(tetragrid=None)
Get four by four matrix with diagonal elements set to one.
source code
 
getKeyA(row, column, prefix='')
Get the a format key string from row & column, counting from zero.
source code
 
getKeyM(row, column, prefix='')
Get the m format key string from row & column, counting from one.
source code
 
getKeysA(prefix='')
Get the matrix keys, counting from zero.
source code
 
getKeysM(prefix='')
Get the matrix keys, counting from one.
source code
 
getRemovedFloat(defaultFloat, key, prefix, xmlElement)
Get the float by the key and the prefix.
source code
 
getRemovedFloatByKeys(defaultFloat, keys, prefix, xmlElement)
Get the float by the keys and the prefix.
source code
 
getRotateAroundAxisTetragrid(prefix, xmlElement)
Get rotate around axis tetragrid and delete the axis and angle attributes.
source code
 
getRotateTetragrid(prefix, xmlElement)
Get rotate tetragrid and delete the rotate attributes.
source code
 
getScaleTetragrid(prefix, xmlElement)
Get scale matrix and delete the scale attributes.
source code
 
getTetragridA(prefix, tetragrid, xmlElement)
Get the tetragrid from the xmlElement letter a values.
source code
 
getTetragridC(prefix, tetragrid, xmlElement)
Get the matrix Tetragrid from the xmlElement letter c values.
source code
 
getTetragridCopy(tetragrid)
Get tetragrid copy.
source code
 
getTetragridM(prefix, tetragrid, xmlElement)
Get the tetragrid from the xmlElement letter m values.
source code
 
getTetragridMatrix(prefix, tetragrid, xmlElement)
Get the tetragrid from the xmlElement matrix value.
source code
 
getTetragridR(prefix, tetragrid, xmlElement)
Get the tetragrid from the xmlElement letter r values.
source code
 
getTetragridTimesOther(firstTetragrid, otherTetragrid)
Get this matrix multiplied by the other matrix.
source code
 
getTransformedByList(floatList, point)
Get the point transformed by the array.
source code
 
getTransformedVector3(tetragrid, vector3)
Get the vector3 multiplied by a matrix.
source code
 
getTransformedVector3s(tetragrid, vector3s)
Get the vector3s multiplied by a matrix.
source code
 
getTransformTetragrid(prefix, xmlElement)
Get the tetragrid from the xmlElement.
source code
 
getTranslateTetragrid(prefix, xmlElement)
Get translate matrix and delete the translate attributes.
source code
 
getTranslateTetragridByTranslation(translation)
Get translate tetragrid by translation.
source code
 
getVertexes(geometryOutput)
Get the vertexes.
source code
 
setAttributeDictionaryToMultipliedTetragrid(tetragrid, xmlElement)
Set the element attribute dictionary and element matrix to the matrix times the tetragrid.
source code
 
setXMLElementDictionaryMatrix(matrix4X4, xmlElement)
Set the element attribute dictionary or element matrix to the matrix.
source code
 
transformVector3ByMatrix(tetragrid, vector3)
Transform the vector3 by a matrix.
source code
Variables [hide private]
  __credits__ = 'Art of Illusion <http://www.artofillusion.org/>'
  globalExecutionOrder = 300
  __package__ = 'fabmetheus_utilities.geometry.geometry_utilities'