Advertisement
Guest User

Untitled

a guest
Sep 25th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. def widget_callback(obj, event):
  2. t = vtk.vtkTransform()
  3. obj.GetTransform(t)
  4. obj.GetProp3D().SetUserTransform(t)
  5.  
  6. actor.GetPosition()
  7.  
  8. actor.GetUserTransform().GetPosition()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement