Controller
- class Controller[source]
Bases:
objectThe Controller class is the main entry of all the key and mouse events. It is used to manage actions and events in the viewer.
- Parameters:
- viewer
compas_viewer.viewer.Viewer The viewer object.
- config
compas_viewer.configurations.controller_config.ControllerConfig The controller configuration.
- viewer
- Attributes:
- viewer
compas_viewer.viewer.Viewer The viewer object.
- config
compas_viewer.configurations.controller_config.ControllerConfig The controller configuration.
- mouse
compas_viewer.controller.mouse.Mouse The mouse object.
- viewer
Methods
The key press action of the renderer object.
The key release action of the renderer object.
The mouse move action of the renderer object.
The mouse press action of the renderer object.
The mouse release action of the renderer object.
The wheel action of the renderer object.