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

Method freeObjectById

Web/Python/vtkmodules/web/protocols.py:64–69  ·  view source on GitHub ↗

Delete the vtkObject corresponding to the given objectId from the objectIdMap. Returns true if delete succeeded.

(self, id)

Source from the content-addressed store, hash-verified

62 return self.getApplication().GetObjectIdMap().FreeObject(obj)
63
64 def freeObjectById(self, id):
65 """
66 Delete the vtkObject corresponding to the given objectId from the objectIdMap.
67 Returns true if delete succeeded.
68 """
69 return self.getApplication().GetObjectIdMap().FreeObjectById(id)
70
71 def getView(self, vid):
72 """

Callers

nothing calls this directly

Calls 3

getApplicationMethod · 0.95
FreeObjectByIdMethod · 0.80
GetObjectIdMapMethod · 0.80

Tested by

no test coverage detected