File: __init__.py

package info (click to toggle)
python-vispy 0.15.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,868 kB
  • sloc: python: 59,799; javascript: 6,800; makefile: 69; sh: 6
file content (43 lines) | stat: -rw-r--r-- 1,487 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# -*- coding: utf-8 -*-
# Copyright (c) Vispy Development Team. All Rights Reserved.
# Distributed under the (new) BSD License. See LICENSE.txt for more info.
"""
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:

1. Create a SceneCanvas to display the scene. This object has a `scene` 
   property that is the top-level Node in the scene.
2. Create one or more Node instances (see vispy.scene.visuals)
3. 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

"""

from .visuals import *  # noqa
from .cameras import *  # noqa
from ..visuals.transforms import *  # noqa
from .widgets import *  # noqa
from .canvas import SceneCanvas  # noqa
from . import visuals  # noqa
from ..visuals import transforms  # noqa
from ..visuals import filters  # noqa
from . import widgets  # noqa
from . import cameras  # noqa
from .node import Node  # noqa