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

Method SetTexture

Filters/Sources/Testing/Python/squadViewer.py:66–71  ·  view source on GitHub ↗
(actor, texture, win)

Source from the content-addressed store, hash-verified

64 win.Render()
65
66 def SetTexture(actor, texture, win):
67 if doTexture.get():
68 actor.SetTexture(texture)
69 else:
70 actor.SetTexture(None)
71 win.Render()
72
73 def SetToroid(squad, scale, win):
74 squad.SetToroidal(toroid.get())

Callers 15

earth.pyFile · 0.45
SetUpMethod · 0.45
cylMap.pyFile · 0.45
socbal.pyFile · 0.45

Calls 2

RenderMethod · 0.65
getMethod · 0.45

Tested by 4

testGlyphsMethod · 0.36
TestTubeFilterFunction · 0.36
TestPolyDataTangentsFunction · 0.36