Code to help with managing a TVTK data set in Pythonic ways.
Make the specified array the active one.
Add an array to the dataset to specified category (‘point’ or ‘cell’).
Remove an array by its name and optional category (point and cell). Returns the removed array.
Rename a particular array from name1 to name2.
Update the dataset when the arrays are changed.
Gets the scalar, vector and tensor attributes that are available in the given VTK data object.
Returns if the array is a scalar (‘scalars’), vector (‘vectors’) or tensor (‘tensors’). It looks at the number of components to decide. If it has a wierd number of components it returns the empty string.
Gets scalar, vector and tensor information from the given data (either cell or point data).