pyvista.DataObject#
- class DataObject(*args, **kwargs)[source]#
Methods common to all wrapped data objects.
- Parameters:
- *args
Any extra args are passed as option to all wrapped data objects.
- **kwargs
Any extra keyword args are passed as option to all wrapped data objects.
Methods
DataObject.add_field_data
(array, name[, deep])Add 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.
DataObject.copy_meta_from
(*args, **kwargs)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 FieldData as DataSetAttributes.
Get address of the underlying VTK C++ object.
Set or return a user-specified data dictionary.