Section: Visualization Toolkit Common Classes
To create an instance of class vtkMatrixToLinearTransform, simply invoke its constructor as follows
obj = vtkMatrixToLinearTransform
obj is an instance of the vtkMatrixToLinearTransform class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkMatrixToLinearTransform = obj.NewInstance ()
vtkMatrixToLinearTransform = obj.SafeDownCast (vtkObject o)
obj.SetInput (vtkMatrix4x4 ) - Set the input matrix. Any modifications to the matrix will be
reflected in the transformation.
vtkMatrix4x4 = obj.GetInput () - Set the input matrix. Any modifications to the matrix will be
reflected in the transformation.
obj.Inverse () - The input matrix is left as-is, but the transformation matrix
is inverted.
long = obj.GetMTime () - Get the MTime: this is the bit of magic that makes everything work.
vtkAbstractTransform = obj.MakeTransform () - Make a new transform of the same type.
obj.SetMatrix (vtkMatrix4x4 matrix) - @deprecated This method is deprecated.