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

Method DoIt

Rendering/Tk/Testing/Python/TestTextActor3D.py:239–250  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

237 ren.AddActor(actor)
238
239 def DoIt(self):
240 self.SetUp()
241 self.tkrw.Render()
242 self.root.update()
243 # If you want to interact and use the sliders etc,
244 # uncomment the following line.
245 #self.root.mainloop()
246 img_file = "TestTextActor3D.png"
247 Testing.compareImage(self.tkrw.GetRenderWindow(),
248 Testing.getAbsImagePath(img_file))
249 Testing.interact()
250 self.tkrw.destroy()
251
252if __name__ == '__main__':
253 cases = [(TestTextActor3DViewer, 'DoIt')]

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected