What’s the most top-level approach to capturing interactions in VTK.js?
I understand that there are a number of specific methods, such as onMouseMove(), onLeftMouseDown(), etc.
Is there a more general way to capture all such methods?
What’s the most top-level approach to capturing interactions in VTK.js?
I understand that there are a number of specific methods, such as onMouseMove(), onLeftMouseDown(), etc.
Is there a more general way to capture all such methods?
Are you trying to create an interactor style? Usually you create a class that inherit vtkInteractorObserver or use the manipulator style to compose various interactors to specific interaction/modifier.
Are there any examples on building custom classes that inherit vtkInteractorObserver?
All the interactor styles classes