vispy.scene package#
Subpackages#
- vispy.scene.cameras package
- Subpackages
- Submodules
- Module contents
ArcballCamera
BaseCamera
BaseCamera.center
BaseCamera.depth_value
BaseCamera.flip
BaseCamera.fov
BaseCamera.get_state()
BaseCamera.interactive
BaseCamera.link()
BaseCamera.on_canvas_change()
BaseCamera.pre_transform
BaseCamera.reset()
BaseCamera.set_default_state()
BaseCamera.set_range()
BaseCamera.set_state()
BaseCamera.up
BaseCamera.view_changed()
BaseCamera.viewbox
BaseCamera.viewbox_key_event()
BaseCamera.viewbox_mouse_event()
BaseCamera.viewbox_resize_event()
BaseCamera.zoom_factor
FlyCamera
Magnify1DCamera
MagnifyCamera
PanZoomCamera
TurntableCamera
- vispy.scene.tests package
- vispy.scene.widgets package
- Subpackages
- Submodules
- Module contents
AxisWidget
ColorBarWidget
Console
Grid
Label
ViewBox
Widget
Widget.add_grid()
Widget.add_view()
Widget.add_widget()
Widget.bgcolor
Widget.border_color
Widget.height
Widget.height_max
Widget.height_min
Widget.inner_rect
Widget.margin
Widget.padding
Widget.picking
Widget.pos
Widget.rect
Widget.remove_widget()
Widget.size
Widget.stretch
Widget.width
Widget.width_max
Widget.width_min
Submodules#
- vispy.scene.canvas module
SceneCanvas
SceneCanvas.bgcolor
SceneCanvas.central_widget
SceneCanvas.draw_visual()
SceneCanvas.on_close()
SceneCanvas.on_draw()
SceneCanvas.on_resize()
SceneCanvas.pop_fbo()
SceneCanvas.pop_viewport()
SceneCanvas.push_fbo()
SceneCanvas.push_viewport()
SceneCanvas.render()
SceneCanvas.scene
SceneCanvas.update()
SceneCanvas.visual_at()
SceneCanvas.visuals_at()
- vispy.scene.events module
- vispy.scene.node module
Node
Node.canvas
Node.children
Node.clip_children
Node.clipper
Node.common_parent()
Node.describe_tree()
Node.document
Node.document_node
Node.is_child()
Node.name
Node.node_path()
Node.node_path_to_child()
Node.node_path_transforms()
Node.node_transform()
Node.on_parent_change()
Node.opacity
Node.order
Node.parent
Node.parent_chain()
Node.picking
Node.root_node
Node.scene_node
Node.set_picking()
Node.set_transform()
Node.transform
Node.update()
Node.visible
- vispy.scene.subscene module
- vispy.scene.visuals module
Arrow
Axis
Box
ColorBar
ComplexImage
Compound
Cube
Ellipse
Graph
GridLines
GridMesh
Histogram
Image
InfiniteLine
InstancedMesh
Isocurve
Isoline
Isosurface
Line
LinePlot
LinearRegion
Markers
Mesh
MeshNormals
Plane
Polygon
Rectangle
RegularPolygon
ScrollingLines
Spectrogram
Sphere
SurfacePlot
Text
Tube
VisualNode
Volume
Windbarb
XYZAxis
Module contents#
The vispy.scene subpackage provides high-level, flexible, and easy to use functionality for creating scenes composed of multiple visual objects.
Overview#
Scenegraphs are a commonly used system for describing a scene as a hierarchy of visual objects. Users need only create these visual objects and specify their location in the scene, and the scenegraph system will automatically draw the entire scene whenever an update is required.
Using the vispy scenegraph requires only a few steps:
Create a SceneCanvas to display the scene. This object has a scene property that is the top-level Node in the scene.
Create one or more Node instances (see vispy.scene.visuals)
Add these Node instances to the scene by making them children of canvas.scene, or children of other nodes that are already in the scene.
For more information see:
complete scenegraph documentation
scene examples
scene API reference