vispy.scene.cameras.magnify.
Magnify1DCamera
Bases: vispy.scene.cameras.magnify.MagnifyCamera
vispy.scene.cameras.magnify.MagnifyCamera
Camera implementing a MagnifyTransform combined with PanZoomCamera.
The size factor to use.
The radius ratio to use.
Keyword arguments to pass to PanZoomCamera and create a transform.
Notes
This Camera uses the mouse cursor position to set the center position of the MagnifyTransform, and uses mouse wheel events to adjust the magnification factor.
At high magnification, very small mouse movements can result in large changes, so we use a timer to animate transitions in the transform properties.
The camera also adjusts the size of its “lens” area when the view is resized.
transform_class
alias of vispy.visuals.transforms.nonlinear.Magnify1DTransform
vispy.visuals.transforms.nonlinear.Magnify1DTransform
MagnifyCamera
Bases: vispy.scene.cameras.panzoom.PanZoomCamera
vispy.scene.cameras.panzoom.PanZoomCamera
on_timer
Timer event handler
The timer event.
alias of vispy.visuals.transforms.nonlinear.MagnifyTransform
vispy.visuals.transforms.nonlinear.MagnifyTransform
view_changed
Called when this camera is changes its view. Also called when its associated with a viewbox.
viewbox_mouse_event
ViewBox mouse event handler
The mouse event.
viewbox_resize_event
ViewBox resize event handler
The viewbox resize event.