OpenGLContext.scenegraph.basenodes
index
/home/mcfletch/pylive/OpenGLContext/scenegraph/basenodes.py

Convenience module for working with scenegraph nodes
 
These are the OpenGLContext implementations of the various
vrml.vrml97.basenodes nodes (and a few others) which are made
available for direct, centralized access.  Node classes are registered
via SetupTools/Package Resources plugin/entry point declarations 
in the setup.py script (or in the setup.py script of another package).
 
You can create a new Node-type by registering the class via setuptools
 
    entry_points = {
        'OpenGLContext.scenegraph.nodes': [
            'NodeName = full.path.to.the.Class',
        ],
    }
 
and installing the .egg.
 
XXX currently there's no way to override a built-in node, that could 
be provided by having e.g. a precedence declaration for the nodes,
but at the moment that looks too messy to bother with.

 
Modules
       
logging

 
Data
        PROTOTYPES = {'Anchor': <class 'vrml.vrml97.basenodes.Anchor'>, 'Appearance': <class 'OpenGLContext.scenegraph.appearance.Appearance'>, 'AudioClip': <class 'vrml.vrml97.basenodes.AudioClip'>, 'Background': <class 'OpenGLContext.scenegraph.background.Background'>, 'Billboard': <class 'OpenGLContext.scenegraph.billboard.Billboard'>, 'Box': <class 'OpenGLContext.scenegraph.box.Box'>, 'Collision': <class 'OpenGLContext.scenegraph.collision.Collision'>, 'Color': <class 'vrml.vrml97.basenodes.Color'>, 'ColorInterpolator': <class 'OpenGLContext.scenegraph.interpolators.ColorInterpolator'>, 'Cone': <class 'OpenGLContext.scenegraph.quadrics.Cone'>, ...}
__all__ = ['Anchor', 'Appearance', 'AudioClip', 'Background', 'Billboard', 'Box', 'Collision', 'Color', 'ColorInterpolator', 'Cone', 'Coordinate', 'CoordinateInterpolator', 'Cylinder', 'CylinderSensor', 'DirectionalLight', 'ElevationGrid', 'Extrusion', 'Fog', 'FontStyle', 'Gear', ...]
__file__ = '/home/mcfletch/pylive/OpenGLContext/scenegraph/basenodes.pyc'
__name__ = 'OpenGLContext.scenegraph.basenodes'
__package__ = 'OpenGLContext.scenegraph'
log = <logging.Logger object>