I am obtaining a plane’s transform matrix then trying to use it elsewhere
transform = slicer.vtkMRMLTransformNode()
transform.SetName(model.GetName()+‘_trans’)
slicer.mrmlScene.AddNode(transform)
model.SetAndObserveTransformNodeID(transform.GetID())
my_matrix = transform.GetMatrixTransformFromParent()
xmlmx = slicer.util.arrayFromVTKMatrix(my_matrix)
the transform in slicer is
while VTK returns
it seems like we not only need to transpose the matrix but the location values do not match up
not sure what is going