Maps global-id for a vtkObject to the vtkObject instance. May return None if the id is not valid.
(self, id)
| 40 | pass |
| 41 | |
| 42 | def mapIdToObject(self, id): |
| 43 | """ |
| 44 | Maps global-id for a vtkObject to the vtkObject instance. May return None if the |
| 45 | id is not valid. |
| 46 | """ |
| 47 | id = int(id) |
| 48 | if id <= 0: |
| 49 | return None |
| 50 | return self.getApplication().GetObjectIdMap().GetVTKObject(id) |
| 51 | |
| 52 | def getGlobalId(self, obj): |
| 53 | """ |
no test coverage detected