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

Method imagePush

Web/Python/vtkmodules/web/protocols.py:428–433  ·  view source on GitHub ↗
(self, options)

Source from the content-addressed store, hash-verified

426
427 @exportRpc("viewport.image.push")
428 def imagePush(self, options):
429 sView = self.getView(options["view"])
430 realViewId = str(self.getGlobalId(sView))
431 # Make sure an image is pushed
432 self.getApplication().InvalidateCache(sView)
433 self.pushRender(realViewId)
434
435 # Internal function since the reply[image] is not
436 # JSON(serializable) it can not be an RPC one

Callers

nothing calls this directly

Calls 6

pushRenderMethod · 0.95
strFunction · 0.85
getViewMethod · 0.80
getGlobalIdMethod · 0.80
InvalidateCacheMethod · 0.45
getApplicationMethod · 0.45

Tested by

no test coverage detected