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

Function mesh_array

Web/Python/vtkmodules/web/utils.py:80–82  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

78
79
80def mesh_array(array):
81 if array:
82 return b64_encode_numpy(vtk_to_numpy(array.GetData()))
83
84
85def data_array(data_array, location="PointData", name=None):

Callers 1

meshFunction · 0.85

Calls 3

vtk_to_numpyFunction · 0.90
b64_encode_numpyFunction · 0.85
GetDataMethod · 0.45

Tested by

no test coverage detected