MCPcopy Create free account
hub / github.com/Kitware/VTK / DoIt

Method DoIt

Rendering/Tk/Testing/Python/cursor3D.py:278–290  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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
292if __name__ == '__main__':
293 cases = [(Cursor3DViewer, 'DoIt')]

Callers

nothing calls this directly

Calls 6

SetUpMethod · 0.95
GetImageViewerMethod · 0.80
RenderMethod · 0.65
updateMethod · 0.45
GetRenderWindowMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected