arrays¶
add_array¶
copy_arrays_to_point_data¶
get_numpy_array¶
get_selected_array¶
-
PVGeo._helpers.arrays.
get_selected_array
(algorithm, wpdi, idx)[source]¶ Gets selectected array at index idx wrapped for NumPy
- Parameters
algorithm (vtkAlgorithm) – A vtkAlgorithm class instantiation
wpdi (wrapped vtkDataObject) – the input data object wrapped using vtk dataset adapter
idx (int) – the input array index
- Returns
a wrapped
vtkDataArray
for NumPy- Return type
numpy.array