(self)
| 276 | upButton.config(command=partial(ViewerUp, self.tkvw)) |
| 277 | |
| 278 | def DoIt(self): |
| 279 | self.SetUp() |
| 280 | self.tkvw.Render() |
| 281 | self.tkrw.Render() |
| 282 | self.root.update() |
| 283 | # If you want to interact and use the sliders etc, |
| 284 | # uncomment the following line. |
| 285 | #self.root.mainloop() |
| 286 | img_file = "cursor3D.png" |
| 287 | Testing.compareImage(self.tkvw.GetImageViewer().GetRenderWindow(), |
| 288 | Testing.getAbsImagePath(img_file)) |
| 289 | # Testing.interact() |
| 290 | self.root.destroy() |
| 291 | |
| 292 | if __name__ == '__main__': |
| 293 | cases = [(Cursor3DViewer, 'DoIt')] |
nothing calls this directly
no test coverage detected