Section: Visualization Toolkit Common Classes
To create an instance of class vtkMatrixToHomogeneousTransform, simply invoke its constructor as follows
obj = vtkMatrixToHomogeneousTransform
obj
is an instance of the vtkMatrixToHomogeneousTransform class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkMatrixToHomogeneousTransform = obj.NewInstance ()
vtkMatrixToHomogeneousTransform = obj.SafeDownCast (vtkObject o)
obj.SetInput (vtkMatrix4x4 )
vtkMatrix4x4 = obj.GetInput ()
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.