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

Function field_data

Web/Python/vtkmodules/web/utils.py:101–109  ·  view source on GitHub ↗
(field_data, names, location="PointData")

Source from the content-addressed store, hash-verified

99
100
101def field_data(field_data, names, location="PointData"):
102 fields = []
103 for name in names:
104 array = field_data.GetArray(name)
105 js_array = data_array(array, location, name)
106 if js_array:
107 fields.append(js_array)
108
109 return fields
110
111
112def mesh(dataset, field_to_keep=None, point_arrays=None, cell_arrays=None):

Callers 1

meshFunction · 0.85

Calls 3

data_arrayFunction · 0.85
GetArrayMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected