vrml.vrml97.nodetypes
VRML97 semantic node-types
Classes
class Background(
Bindable
):
Background nodes
Bindable nodes
Note: All Bindables are also Children, though
that isn't represented here.
class Grouping(
Traversable
):
Grouping nodes (Nodes which group children together)
class Interpolator(
object
):
Interpolator nodes
class NavigationInfo(
Bindable
):
NavigationInfo nodes
class PointingSensor(
Sensor
):
Pointing-Device Sensor nodes
Sensor nodes
Note: All Sensors are also Children, though
that isn't represented here.
class TimeDependent(
object
):
TimeDependent nodes
class Transforming(
Grouping
):
Nodes which alter the transform matrix for children
This is a fairly small set of types:
Transform
Billboard
Billboard is not yet implemented, so there's
only the one functional node in the type-set
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
class Traversable(
object
):
Traversable nodes (Nodes which have node attributes)