# Python: module fabmetheus_utilities.geometry.manipulation_evaluator.matrix

fabmetheus_utilities.geometry.manipulation_evaluator.matrix ($Date: 2008/02/05 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/geometry/manipulation_evaluator/matrix.py

`Boolean geometry four by four matrix.`

Modules

``

__init__ cStringIO | fabmetheus_utilities.euclidean fabmetheus_utilities.geometry.geometry_utilities.evaluate | math fabmetheus_utilities.xml_simple_writer |

Classes

``

Matrix

class Matrix
`` | `A four by four matrix.`

Methods defined here:

__eq__(self, other)
  `Determine whether this matrix is identical to other one.`

__init__(self, matrixTetragrid=None)
  `Add empty lists.`

__ne__(self, other)
  `Determine whether this vector is not identical to other one.`

__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 attributeDictionary from row column attribute strings, counting from one.`

getFromXMLElement(self, prefix, xmlElement)
  `Get the values from row column attribute strings, counting from one.`

getOtherTimesSelf(self, otherMatrixTetragrid)
  `Get this matrix reverse multiplied by the other matrix.`

getSelfTimesOther(self, otherMatrixTetragrid)
  `Get this matrix multiplied by the other matrix.`

Functions

``

addConnectionVertexes(connectionVertexes, geometryOutput)
  `Add the connections and vertexes.`

getConnectionVertexes(geometryOutput)
  `Get the connections and vertexes.`

getCumulativeVector3Remove(prefix, vector3, xmlElement)
  `Get cumulative vector3 and delete the prefixed attributes.`

getDiagonalSwitchedTetragrid(angleDegrees, diagonals)
  `Get the diagonals and switched matrix.`

getFromObjectOrXMLElement(xmlElement)
  `Get matrix starting from the object if it exists, otherwise get a matrix starting from stratch.`

getIdentityMatrixTetragrid(tetragrid=None)
  `Get four by four matrix with diagonal elements set to one.`

getManipulatedGeometryOutput(geometryOutput, xmlElement)
  `Get equated geometryOutput.`

getManipulatedPaths(close, loop, prefix, sideLength, xmlElement)
  `Get equated paths.`

getMatrixKey(row, column, prefix='')
  `Get the key string from row & column, counting from one.`

getMatrixKeys(prefix='')
  `Get the matrix keys.`

getMatrixTetragrid(prefix, xmlElement)
  `Get the matrix Tetragrid from the xmlElement.`

getMatrixTetragridC(matrixTetragrid, prefix, xmlElement)
  `Get the matrix Tetragrid from the xmlElement c values.`

getMatrixTetragridM(matrixTetragrid, prefix, xmlElement)
  `Get the matrix Tetragrid from the xmlElement m values.`

getMatrixTetragridMatrix(matrixTetragrid, prefix, xmlElement)
  `Get the matrix Tetragrid from the xmlElement matrix value.`

getMatrixTetragridR(matrixTetragrid, prefix, xmlElement)
  `Get the matrix Tetragrid from the xmlElement r values.`

getRemovedFloatByKeys(keys, prefix, xmlElement)
  `Get the float by the keys and the prefix.`

getRotateMatrixTetragrid(prefix, xmlElement)
  `Get rotate matrix tetragrid and delete the rotate attributes.`

getScaleMatrixTetragrid(prefix, xmlElement)
  `Get scale matrix and delete the scale attributes.`

getTetragridCopy(tetragrid)
  `Get tetragrid copy.`

getTetragridTimesOther(firstTetragrid, otherTetragrid)
  `Get this matrix multiplied by the other matrix.`

getTransformedByList(floatList, point)
  `Get the point transformed by the array.`

getTransformedVector3s(matrixTetragrid, vector3s)
  `Get the vector3s multiplied by a matrix.`

getTranslateMatrixTetragrid(prefix, xmlElement)
  `Get translate matrix and delete the translate attributes.`

getVector3TransformedByMatrix(matrixTetragrid, vector3)
  `Get the vector3 multiplied by a matrix.`

matrixPoints(points, prefix, xmlElement)
  `Rotate the points.`

processXMLElement(xmlElement)
  `Process the xml element.`

setAttributeDictionaryMatrixToMatrix(matrix4X4, xmlElement)
  `Set the element attribute dictionary and element matrix to the matrix.`

setAttributeDictionaryToMatrix(attributeDictionary, matrix4X4)
  `Set the attribute dictionary to the matrix.`

setAttributeDictionaryToMultipliedTetragrid(tetragrid, xmlElement)
  `Set the element attribute dictionary and element matrix to the matrix times the tetragrid.`

setXMLElementDictionaryToOtherElementDictionary(fromXMLElement, matrix4X4, prefix, 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) globalExecutionOrder = 300

Author
`` |  | Enrique Perez (perez_enrique@yahoo.com)

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