Internal function used to create a VTK data array from another VTK array given the VTK array type.
(vtk_arr_type)
| 95 | |
| 96 | |
| 97 | def 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 | |
| 104 | def numpy_to_vtk(num_array, deep=0, array_type=None): |
no test coverage detected