Get the dataset this array is associated with. The reference to the dataset is held through a vtkWeakReference to ensure it doesn't prevent the dataset from being collected if necessary.
(self)
| 315 | |
| 316 | @property |
| 317 | def DataSet(self): |
| 318 | """ |
| 319 | Get the dataset this array is associated with. The reference to the |
| 320 | dataset is held through a vtkWeakReference to ensure it doesn't prevent |
| 321 | the dataset from being collected if necessary. |
| 322 | """ |
| 323 | if hasattr(self, '_dataset') and self._dataset and self._dataset.Get(): |
| 324 | return WrapDataObject(self._dataset.Get()) |
| 325 | |
| 326 | return None |
| 327 | |
| 328 | @DataSet.setter |
| 329 | def DataSet(self, dataset): |
no test coverage detected