pyvista.plotting.render_window_interactor.InteractorStyleCaptureMixin

pyvista.plotting.render_window_interactor.InteractorStyleCaptureMixin#

class InteractorStyleCaptureMixin(*args, **kwargs)[source]#

A mixin for subclasses of vtkInteractorStyle with capturing ability.

Use a custom capturing events because the default ones swallow the release events. See https://public.kitware.com/pipermail/vtkusers/2013-December/082315.html.

Methods

InteractorStyleCaptureMixin.add_observer(...)

Keep track of observers.

InteractorStyleCaptureMixin.remove_observers()

Remove all observers added through add_observer().

Attributes