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

VRML97 Billboard-node stub

 
Modules
       
vrml.vrml97.basenodes
OpenGLContext.scenegraph.grouping
vrml.vrml97.nodetypes

 
Classes
       
Grouping(object)
Billboard(Grouping, Billboard)
Billboard(Children, Transforming, Node)
Billboard(Grouping, Billboard)

 
class Billboard(Grouping, Billboard)
    Billboard node based on VRML 97 LOD
 
(This is just a stub-node!)
 
Reference:
    http://www.web3d.org/x3d/specifications/vrml/ISO-IEC-14772-IS-VRML97WithAmendment1/part1/nodesRef.html#Billboard
 
 
Method resolution order:
Billboard
Grouping
Billboard
Children
Transforming
Grouping
Traversable
Node
object

Methods defined here:
transform(self, mode=None, translate=1, scale=1, rotate=1)

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 Billboard:
addChildren
MFNode Event class
axisOfRotation
exposedField SFVec3f axisOfRotation [0.0, 1.0, 0.0]
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 Billboard:
PROTO = 'Billboard'

Methods inherited from Transforming:
localMatrices(self, translate=True, scale=True, rotate=True)
Calculate/lookup our local matrices
 
Certain operations want, e.g. just the rotation of an item,
so we actually can store 2**3 possible variations of the local 
matrices.  In practice we only see a very small number.
 
returns holder, where holder.data == (forward,inverse) matrix 
for the local node, each of which can be None

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/billboard.pyc'
__name__ = 'OpenGLContext.scenegraph.billboard'
__package__ = 'OpenGLContext.scenegraph'