Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
def
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
digest
Function · 0.90
genericActorSerializer
Function · 0.90
genericVolumeSerializer
Function · 0.90
textureSerializer
Function · 0.90
genericMapperSerializer
Function · 0.90
genericVolumeMapperSerializer
Function · 0.90
lookupTableSerializer
Function · 0.90
propertySerializer
Function · 0.90
volumePropertySerializer
Function · 0.90
imagedataSerializer
Function · 0.90
polydataSerializer
Function · 0.90
colorTransferFunctionSerializer
Function · 0.90
Calls
1
str
Function · 0.85
Tested by
no test coverage detected