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

VRML97 Viewpoint node

 
Modules
       
OpenGLContext.arrays
vrml.vrml97.basenodes
vrml.vrml97.nodetypes
OpenGLContext.quaternion

 
Classes
       
Viewpoint(Children, Viewpoint, Node)
Viewpoint

 
class Viewpoint(Viewpoint)
    Viewpoint node based on VRML 97 Viewpoint
Reference:
    http://www.web3d.org/x3d/specifications/vrml/ISO-IEC-14772-IS-VRML97WithAmendment1/part1/nodesRef.html#Viewpoint
 
The viewpoint node in VRML is kind of a mess to work with,
so we don't try to support much of its functionality.
Mostly we want to use it for configuring the
viewplatform initially and to allow for switching between
predefined viewpoints within a world.
 
 
Method resolution order:
Viewpoint
Viewpoint
Children
Viewpoint
Bindable
Node
object

Methods defined here:
moveTo(cls, path, context)
Given a node-path to a viewpoint, move context's platform there

Data descriptors inherited from Viewpoint:
bindTime
SFTime Event class
description
field SFString description
fieldOfView
exposedField SFFloat fieldOfView 0.785398
isBound
SFBool Event class
jump
exposedField SFBool jump 1
orientation
exposedField SFRotation orientation [0.0, 0.0, 1.0, 0.0]
position
exposedField SFVec3f position [0.0, 0.0, 10.0]
set_bind
SFBool Event class

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

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