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

Interpolator code for OpenGLContext

 
Modules
       
vrml.vrml97.basenodes
OpenGLContext.quaternion

 
Classes
       
object
Interpolator
ColorInterpolator(Interpolator, ColorInterpolator)
OrientationInterpolator(Interpolator, OrientationInterpolator)
PositionInterpolator(Interpolator, PositionInterpolator)
ScalarInterpolator(Interpolator, ScalarInterpolator)
SetInterpolator
CoordinateInterpolator(SetInterpolator, CoordinateInterpolator)

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

Methods inherited from Interpolator:
interpolate(self, previous, next, segmentFraction)
Interpolate between first and second by given fragment
on_set_fraction(self, value)
Given a floating point value, produce a new value

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

Data descriptors inherited from ColorInterpolator:
key
exposedField MFFloat key []
keyValue
exposedField MFColor keyValue []
set_fraction
SFFloat Event class
value_changed
SFColor Event class

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

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

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

Methods inherited from SetInterpolator:
on_set_fraction(self, value)
Given a floating point value, produce a new orientation

Methods inherited from Interpolator:
interpolate(self, previous, next, segmentFraction)
Interpolate between first and second by given fragment

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

Data descriptors inherited from CoordinateInterpolator:
key
exposedField MFFloat key []
keyValue
exposedField MFVec3f keyValue []
set_fraction
SFFloat Event class
value_changed
MFVec3f Event class

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

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

 
class Interpolator(object)
    Mix-in class for Interpolators
 
  Methods defined here:
interpolate(self, previous, next, segmentFraction)
Interpolate between first and second by given fragment
on_set_fraction(self, value)
Given a floating point value, produce a new value

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

 
class OrientationInterpolator(Interpolator, OrientationInterpolator)
    OrientationInterpolator based on VRML 97 OrientationInterpolator
Reference:
    http://www.web3d.org/x3d/specifications/vrml/ISO-IEC-14772-IS-VRML97WithAmendment1/part1/nodesRef.html#OrientationInterpolator
 
Takes fractional values and maps into an orientation
"script" of sorts to produce simple rotational changes
 
 
Method resolution order:
OrientationInterpolator
Interpolator
OrientationInterpolator
Children
Interpolator
Node
object

Methods defined here:
interpolate(self, previous, next, segmentFraction)
Interpolate between first and second by given fragment

Methods inherited from Interpolator:
on_set_fraction(self, value)
Given a floating point value, produce a new value

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

Data descriptors inherited from OrientationInterpolator:
key
exposedField MFFloat key []
keyValue
exposedField MFRotation keyValue []
set_fraction
SFFloat Event class
value_changed
SFRotation Event class

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

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

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

Methods inherited from Interpolator:
interpolate(self, previous, next, segmentFraction)
Interpolate between first and second by given fragment
on_set_fraction(self, value)
Given a floating point value, produce a new value

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

Data descriptors inherited from PositionInterpolator:
key
exposedField MFFloat key []
keyValue
exposedField MFVec3f keyValue []
set_fraction
SFFloat Event class
value_changed
SFVec3f Event class

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

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

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

Methods inherited from Interpolator:
interpolate(self, previous, next, segmentFraction)
Interpolate between first and second by given fragment
on_set_fraction(self, value)
Given a floating point value, produce a new value

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

Data descriptors inherited from ScalarInterpolator:
key
exposedField MFFloat key []
keyValue
exposedField MFFloat keyValue []
set_fraction
SFFloat Event class
value_changed
SFFloat Event class

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

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

 
class SetInterpolator(Interpolator)
    Mix-in class for interpolators generating arrays of values
 
 
Method resolution order:
SetInterpolator
Interpolator
object

Methods defined here:
on_set_fraction(self, value)
Given a floating point value, produce a new orientation

Methods inherited from Interpolator:
interpolate(self, previous, next, segmentFraction)
Interpolate between first and second by given fragment

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

 
Data
        __file__ = '/home/mcfletch/pylive/OpenGLContext/scenegraph/interpolators.pyc'
__name__ = 'OpenGLContext.scenegraph.interpolators'
__package__ = 'OpenGLContext.scenegraph'