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

Function getReferenceId

Web/Python/vtkmodules/web/__init__.py:54–62  ·  view source on GitHub ↗
(ref)

Source from the content-addressed store, hash-verified

52
53
54def getReferenceId(ref):
55 if ref:
56 try:
57 return ref.__this__[1:17]
58 except:
59 idStr = str(ref)[-12:-1]
60 # print('====> fallback ID %s for %s' % (idStr, ref))
61 return idStr
62 return "0x0"

Callers 15

digestFunction · 0.90
genericActorSerializerFunction · 0.90
genericVolumeSerializerFunction · 0.90
textureSerializerFunction · 0.90
genericMapperSerializerFunction · 0.90
lookupTableSerializerFunction · 0.90
propertySerializerFunction · 0.90
volumePropertySerializerFunction · 0.90
imagedataSerializerFunction · 0.90
polydataSerializerFunction · 0.90

Calls 1

strFunction · 0.85

Tested by

no test coverage detected