Member Functions of SyTrans

< Previous | Contents | Manuals Home | Boris FX | Next >

Member Functions of SyTrans

Get(attrname) Python 3 only! Returns the named Sizzle attribute of the transform. You can also say xf.rowP. For convenience, .m (specially!) is defined to be the list-of-list form.

Call(funcnm, rest*) Calls the funcnm function using the specified arguments,

especially "*" with a single SyTrans argument, to multiply the two together (in Sizzle ordering)

Pos() Returns the position (translational portion) of the transform, ie its fourth column.

SetPos(pvec) Sets the position (translational portion), ie fourth column, of the tranform

DePos() Removes the position portion of the transform (sets it to zero)

DeRot() Removes the rotational portion of the transform, setting it to an identity matrix

SetProd(a,b) Sets the transform matrix to the product of a and b.

SetInv(a) Sets the transform matrix to the inverse of a. Note that a must be an orthonormal matrix (no scaling or skew).

Prnt() Prints the matrix in an orderly format


©2024 Boris FX, Inc. — UNOFFICIAL — Converted from original PDF.