pyvista.DataObject#
- class DataObject(*args, **kwargs)[source]#
Methods common to all wrapped data objects.
Methods
DataObject.add_field_array
(scalars, name[, deep])Add field data.
DataObject.add_field_data
(array, name[, deep])Add field data.
Remove all field data.
Remove all field data.
DataObject.copy
([deep])Return a copy of the object.
DataObject.copy_attributes
(dataset)Copy the data attributes of the input dataset object.
Copy pyvista meta data onto this object from another object.
DataObject.copy_structure
(dataset)Copy the structure (geometry and topology) of the input dataset object.
DataObject.deep_copy
(to_copy)Overwrite this data object with another data object as a deep copy.
Get the non-NaN min and max of a named array.
DataObject.head
([display, html])Return the header stats of this dataset.
DataObject.save
(filename[, binary, texture])Save this vtk object to file.
DataObject.shallow_copy
(to_copy)Shallow copy the given mesh to this mesh.
Attributes
Return the actual size of the dataset object.
Return vtkFieldData as DataSetAttributes.
Return FieldData as DataSetAttributes.
Get address of the underlying VTK C++ object.