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

Function getRangeInfo

Web/Python/vtkmodules/web/render_window_serializer.py:323–329  ·  view source on GitHub ↗
(array, component)

Source from the content-addressed store, hash-verified

321
322
323def getRangeInfo(array, component):
324 r = array.GetRange(component)
325 compRange = {}
326 compRange["min"] = r[0]
327 compRange["max"] = r[1]
328 compRange["component"] = array.GetComponentName(component)
329 return compRange
330
331
332# -----------------------------------------------------------------------------

Callers 1

getArrayDescriptionFunction · 0.70

Calls 2

GetComponentNameMethod · 0.80
GetRangeMethod · 0.45

Tested by

no test coverage detected