fabmetheus_utilities.solids.solid_tools.matrix4x4 ($Date: 2008/02/05 $)
index
/home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/solids/solid_tools/matrix4x4.py

Boolean geometry four by four matrix.

 
Modules
       
__init__
cStringIO
fabmetheus_utilities.euclidean
math
fabmetheus_utilities.xml_simple_writer

 
Classes
       
Matrix4X4

 
class Matrix4X4
    A four by four matrix.
 
  Methods defined here:
__init__(self, matrixTetragrid=None)
Add empty lists.
__repr__(self)
Get the string representation of this four by four matrix.
addXML(self, depth, output)
Add xml for this object.
getAttributeDictionary(self)
Get the from row column attribute strings, counting from one.
getFromAttributeDictionary(self, attributeDictionary)
Get the values from row column attribute strings, counting from one.
getFromMatrixValues(self, attributeDictionary)
Get the values from row column attribute strings, counting from one.
getOtherTimesSelf(self, otherMatrix4X4)
Get this matrix reverse multiplied by the other matrix.
getSelfTimesOther(self, otherMatrixTetragrid)
Get this matrix multiplied by the other matrix.
multiplyByKeyFunction(self, attributeDictionary, key, matrixFunction)
Multiply matrix key, then delete the key.
multiplyByKeysFunction(self, attributeDictionary, keys, matrixFunction)
Multiply matrix keys, then delete the keys.

 
Functions
       
getAngleFromDictionaryKey(dictionary, key)
Get the angle from the dictionary and key.
getDiagonalSwitchedMatrix(angle, diagonals)
Get the diagonals and switched matrix.math.
getIdentityMatrixTetragrid()
Get four by four matrix with diagonal elements set to one.
getMatrixKey(row, column)
Get the key string from row & column, counting from one.
getMatrixKeys()
Get the matrix keys.
getMatrixRotationX(angle)
Get matrix from the rotation x value.
getMatrixRotationXCounter(angle)
Get matrix from the rotation counter x value.
getMatrixRotationY(angle)
Get matrix from the rotation y value.
getMatrixRotationYCounter(angle)
Get matrix from the rotation counter y value.
getMatrixRotationZ(angle)
Get matrix from the rotation z value.
getMatrixRotationZCounter(angle)
Get matrix from the rotation counter z value.
getMatrixScaleX(scaleX)
Get matrix from the scale x value.
getMatrixScaleY(scaleY)
Get matrix from the scale y value.
getMatrixScaleZ(scaleZ)
Get matrix from the scale z value.
getMatrixTranslationX(x)
Get matrix from the translation x value.
getMatrixTranslationY(y)
Get matrix from the translation y value.
getMatrixTranslationZ(z)
Get matrix from the translation z value.
getMultipliedMatrixTetragrid(matrixTetragrid, otherMatrixTetragrid)
Get this matrix multiplied by the other matrix.
getTransformedByList(floatList, point)
Get the point transformed by the array.
getVector3TransformedByMatrix(matrixTetragrid, vector3)
Get the vector3 multiplied by a matrix.
getZeroMatrixTetragrid()
Get four by four zero matrix.
processXMLElement(xmlElement)
Process the xml element.
setAttributeDictionaryToMatrix(attributeDictionary, matrix4X4)
Set the attribute dictionary to the matrix.
setDiagonalElements(diagonals, matrixTetragrid, value)
Set the diagonal matrix elements to the value.
setMatrixTetragridToMatrixTetragrid(matrixTetragrid, otherMatrixTetragrid)
Set the matrix grid to the other matirx grid.
setXMLElementMatrixToMatrixAttributeDictionary(attributeDictionary, matrix4X4, xmlElement)
Set the xml element to the matrix attribute dictionary.
transformVector3ByMatrix(matrixTetragrid, vector3)
Transform the vector3 by a matrix.

 
Data
        __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
__credits__ = 'Art of Illusion <http://www.artofillusion.org/>'
__date__ = '$Date: 2008/02/05 $'
__license__ = 'GPL 3.0'
absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)

 
Author
        Enrique Perez (perez_enrique@yahoo.com)

 
Credits
        Art of Illusion <http://www.artofillusion.org/>