Advertisement
Guest User

RequestInformation

a guest
Dec 15th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. executive = self.GetExecutive()
  2. outInfo = executive.GetOutputInformation(0)
  3.  
  4. dims = (64, 64, 64)
  5. outInfo.Set(executive.WHOLE_EXTENT(), 0, dims[0]-1 , 0, dims[1]-1 , 0, dims[2]-1)
  6. outInfo.Set(vtk.vtkDataObject.SPACING() , 1, 1, 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement