def vtk_bit_array_to_char(vtkarr_bint): """Cast vtk bit array to a char array. Parameters ---------- vtkarr_bint : vtk.vtkBitArray VTK binary array. Returns ------- vtk.vtkCharArray VTK char array. Notes ----- This performs a copy. """ vtkarr = _vtk.vtkCharArray() vtkarr.DeepCopy(vtkarr_bint) return vtkarr
def vtk_bit_array_to_char(vtkarr_bint): """Cast vtk bit array to a char array.""" vtkarr = _vtk.vtkCharArray() vtkarr.DeepCopy(vtkarr_bint) return vtkarr