()
| 191 | # prevent the tk window from showing up then start the event loop |
| 192 | xform = vtkTransform() |
| 193 | def animate(): |
| 194 | numSteps = 250 |
| 195 | min = interpolator.GetMinimumT() |
| 196 | max = interpolator.GetMaximumT() |
| 197 | i = 0 |
| 198 | while i <= numSteps: |
| 199 | t = float(i)*(max-min)/float(numSteps) |
| 200 | interpolator.InterpolateTransform(t,xform) |
| 201 | cubeActor.SetUserMatrix(xform.GetMatrix()) |
| 202 | renWin.Render() |
| 203 | i = i + 1 |
| 204 | |
| 205 | |
| 206 | interpolator.InterpolateTransform(13.2,xform) |
nothing calls this directly
no test coverage detected