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

Method SetToroid

Filters/Sources/Testing/Python/squadViewer.py:73–79  ·  view source on GitHub ↗
(squad, scale, win)

Source from the content-addressed store, hash-verified

71 win.Render()
72
73 def SetToroid(squad, scale, win):
74 squad.SetToroidal(toroid.get())
75 if toroid.get():
76 scale.config(state=NORMAL, fg='black')
77 else:
78 scale.config(state=DISABLED, fg='gray')
79 win.Render()
80
81 self.root = tkinter.Tk()
82 self.root.title("superquadric viewer")

Callers

nothing calls this directly

Calls 2

RenderMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected