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

Method DoIt

Filters/Sources/Testing/Python/squadViewer.py:185–196  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

183 texbut.config(command=partial(SetTexture, actor, atext, self.tkrw))
184
185 def DoIt(self):
186 self.SetUp()
187 self.tkrw.Render()
188 self.root.update()
189 # If you want to interact and use the sliders etc,
190 # uncomment the following line.
191 #self.root.mainloop()
192 img_file = "squadViewer.png"
193 Testing.compareImage(self.tkrw.GetRenderWindow(),
194 Testing.getAbsImagePath(img_file))
195 Testing.interact()
196 self.tkrw.destroy()
197
198if __name__ == '__main__':
199 cases = [(SuperQuadricViewer, '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