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

VRML97 Switch node

 
Modules
       
vrml.vrml97.basenodes
OpenGLContext.scenegraph.boundingvolume
pydispatch.dispatcher
vrml.vrml97.nodetypes

 
Classes
       
Switch(Children, Traversable, Node)
Switch

 
class Switch(Switch)
    Switch node based on VRML 97 Switch
Reference:
    http://www.web3d.org/x3d/specifications/vrml/ISO-IEC-14772-IS-VRML97WithAmendment1/part1/nodesRef.html#Switch
 
 
Method resolution order:
Switch
Switch
Children
Traversable
Node
object

Methods defined here:
__init__(self, *args, **named)
Setup watcher for whichChoice and children
boundingVolume(self, mode)
Calculate the bounding volume for this node
 
The bounding volume for a grouping node is
the union of it's children's nodes, and is
dependent on the children of the node's
bounding nodes, as well as the children field
of the node.
renderedChildren(self, types=(<class 'vrml.vrml97.nodetypes.Children'>, <class 'vrml.vrml97.nodetypes.Rendering'>))
Children is not the source, choice is

Data descriptors inherited from Switch:
choice
exposedField MFNode choice []
whichChoice
exposedField SFInt32 whichChoice -1

Data and other attributes inherited from Switch:
PROTO = 'Switch'

Data descriptors inherited from Children:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from Children:
sensitive = 0

Methods inherited from Node:
__repr__(self)
Get a code-like representation of the Node
 
Basically every attribute except for sub-nodes values
are returned as a full representation.
__str__(self)
Get a friendly representation of the Node
copy(self, copier=None)
Copy this node for copier
toString(self, **namedargs)
Generate a VRML 97-syntax string representing this Prototype
**namedargs -- key:value
    passed arguments for the linearisation object
see lineariser4.Lineariser

Data descriptors inherited from Node:
DEF
exposedField SFString  DEF
externalURL
exposedField MFString externalURL []
rootSceneGraph
exposedField RootScenegraphNode SFNode NULL

 
Data
        SWITCH_CHANGE_SIGNAL = 'switch-choice-change'
__file__ = '/home/mcfletch/pylive/OpenGLContext/scenegraph/switch.pyc'
__name__ = 'OpenGLContext.scenegraph.switch'
__package__ = 'OpenGLContext.scenegraph'