Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- executive = self.GetExecutive()
- outInfo = executive.GetOutputInformation(0)
- dims = (64, 64, 64)
- outInfo.Set(executive.WHOLE_EXTENT(), 0, dims[0]-1 , 0, dims[1]-1 , 0, dims[2]-1)
- outInfo.Set(vtk.vtkDataObject.SPACING() , 1, 1, 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement