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

Function create_vtk_array

Wrapping/Python/vtkmodules/util/numpy_support.py:97–101  ·  view source on GitHub ↗

Internal function used to create a VTK data array from another VTK array given the VTK array type.

(vtk_arr_type)

Source from the content-addressed store, hash-verified

95
96
97def create_vtk_array(vtk_arr_type):
98 """Internal function used to create a VTK data array from another
99 VTK array given the VTK array type.
100 """
101 return vtkDataArray.CreateDataArray(vtk_arr_type)
102
103
104def numpy_to_vtk(num_array, deep=0, array_type=None):

Callers 1

numpy_to_vtkFunction · 0.85

Calls 1

CreateDataArrayMethod · 0.45

Tested by

no test coverage detected