Clear specified objects. If no arguments are passed, clears all objects.
(self, *shapes: Shape | vtkProp3D)
| 429 | self.view.update() |
| 430 | |
| 431 | def clear(self, *shapes: Shape | vtkProp3D): |
| 432 | """ |
| 433 | Clear specified objects. If no arguments are passed, clears all objects. |
| 434 | """ |
| 435 | |
| 436 | # reset last, bc we don't want to keep track of what was removed |
| 437 | self.last = None |
| 438 | future = self._run(self._clear(shapes)) |
| 439 | future.result() |
| 440 | |
| 441 | return self |
| 442 | |
| 443 | async def _pop(self): |
| 444 |