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

Light-weight grouping object based on VRML 97 Group Node

 
Modules
       
vrml.vrml97.basenodes
OpenGLContext.scenegraph.grouping

 
Classes
       
Grouping(object)
Group(Grouping, Group)
Group(Children, Grouping, Node)
Group(Grouping, Group)

 
class Group(Grouping, Group)
    Light-weight grouping object based on VRML 97 Group Node
 
The Group node provides a light-weight grouping of nodes without
introducing a new transformation matrix (as occurs with a Transform
node).
 
Attributes of note within the Group object:
 
    children -- list of renderable objects
    
Reference:
    http://www.web3d.org/x3d/specifications/vrml/ISO-IEC-14772-IS-VRML97WithAmendment1/part1/nodesRef.html#Group
 
 
Method resolution order:
Group
Grouping
Group
Children
Grouping
Traversable
Node
object

Methods inherited from Grouping:
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'>))
List all children which are instances of given types
visible(self, frustum=None, matrix=None, occlusion=0, mode=None)
Check whether this grouping node intersects frustum
 
frustum -- the bounding volume frustum with a planes
    attribute which defines the plane equations for
    each active clipping plane
matrix -- the active OpenGL transformation matrix for
    this node, used to determine the transforms for
    the grouping-node's bounding volumes.  Is calculated
    from current OpenGL state if not provided.

Data descriptors inherited from Grouping:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
children
exposedField MFNode children []
sensitive
field SFBool  sensitive 0

Data descriptors inherited from Group:
addChildren
MFNode Event class
bboxCenter
field SFVec3f bboxCenter [0.0, 0.0, 0.0]
bboxSize
field SFVec3f bboxSize [-1.0, -1.0, -1.0]
removeChildren
MFNode Event class

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

Methods inherited from Node:
__init__(self, **namedarguments)
Initialise the node with appropriate named args
 
All properties/attributes must be specified with
named arguments, and the property/attribute must
exist within the Node's class/prototype.
 
This will raise AttributeError/ValueError/TypeError
if the values or the property names are inappropriate.
 
Note that all Node objects have the attribute/property
    exposedField SFString DEF ""
defined.  You may therefore specify a DEF name by
passing it as a named argument.
__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
        __file__ = '/home/mcfletch/pylive/OpenGLContext/scenegraph/group.pyc'
__name__ = 'OpenGLContext.scenegraph.group'
__package__ = 'OpenGLContext.scenegraph'