| | |
- object
-
- _VPColorMixIn
- _VPOrientMixIn
-
- VPBox(_VPOrientMixIn, _VPColorMixIn, _VPPosMixIn, vrml.node.VPBox)
- VPCone(_VPOrientMixIn, _VPColorMixIn, _VPPosMixIn, vrml.node.VPCone)
- VPCylinder(_VPOrientMixIn, _VPColorMixIn, _VPPosMixIn, vrml.node.VPCylinder)
- VPSphere(_VPOrientMixIn, _VPColorMixIn, _VPPosMixIn, vrml.node.VPSphere)
- _VPPosMixIn
class VPBox(_VPOrientMixIn, _VPColorMixIn, _VPPosMixIn, vrml.node.VPBox) |
| |
Visual-python-style "box" object
The sub-class here just adds the various convenience
almost-fields that the VPython environment expects... |
| |
- Method resolution order:
- VPBox
- _VPOrientMixIn
- _VPColorMixIn
- _VPPosMixIn
- vrml.node.VPBox
- PrototypedNode
- Node
- object
Data descriptors defined here:
- height
- Get/Set item 1 of 'size' for the client
- length
- Get/Set item 2 of 'size' for the client
- width
- Get/Set item 0 of 'size' for the client
Data descriptors inherited from _VPOrientMixIn:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- axis
- Wrapper for a field
Data descriptors inherited from _VPColorMixIn:
- blue
- Get/Set item 2 of 'color' for the client
- green
- Get/Set item 1 of 'color' for the client
- red
- Get/Set item 0 of 'color' for the client
Data descriptors inherited from _VPPosMixIn:
- x
- Get/Set item 0 of 'pos' for the client
- y
- Get/Set item 1 of 'pos' for the client
- z
- Get/Set item 2 of 'pos' for the client
Data descriptors inherited from vrml.node.VPBox:
- color
- exposedField SFColor color [1.0, 1.0, 1.0]
- pos
- exposedField SFVec3f pos [0.0, 0.0, 0.0]
- rotation
- exposedField SFRotation rotation [0.0, 1.0, 0.0, 0.0]
- size
- exposedField SFVec3f size [1.0, 1.0, 1.0]
Data and other attributes inherited from vrml.node.VPBox:
- scenegraph = SceneGraph(
routes = [],
root = <weakref at 0...9D0 ),
DEF = ''
)],
DEF = ''
)],
DEF = ''
)
- PROTO = 'VPBox'
Methods inherited from PrototypedNode:
- __init__(self, *arguments, **namedarguments)
- Initialise the node with appropriate named args
Also attempts to instantiate the sub-node scenegraph
for the PrototypedNode
- instantiate(self)
- Make a copy of the class scenegraph-template for this node
Also needs to bind IS mappings/routes for the template,
and negotiate not-yet-loaded external prototypes and
the like.
- renderedChildren(self, types=None)
- Get the rendered children of the scenegraph
Data descriptors inherited from PrototypedNode:
- scenegraph
- exposedField SFNode scenegraph NULL
Methods inherited from Node:
- __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 <type 'list'>
- rootSceneGraph
- exposedField RootScenegraphNode root NULL
|
class VPCone(_VPOrientMixIn, _VPColorMixIn, _VPPosMixIn, vrml.node.VPCone) |
| |
Visual-python-style "cone" object
The sub-class here just adds the various convenience
almost-fields that the VPython environment expects... |
| |
- Method resolution order:
- VPCone
- _VPOrientMixIn
- _VPColorMixIn
- _VPPosMixIn
- vrml.node.VPCone
- PrototypedNode
- Node
- object
Data descriptors inherited from _VPOrientMixIn:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- axis
- Wrapper for a field
Data descriptors inherited from _VPColorMixIn:
- blue
- Get/Set item 2 of 'color' for the client
- green
- Get/Set item 1 of 'color' for the client
- red
- Get/Set item 0 of 'color' for the client
Data descriptors inherited from _VPPosMixIn:
- x
- Get/Set item 0 of 'pos' for the client
- y
- Get/Set item 1 of 'pos' for the client
- z
- Get/Set item 2 of 'pos' for the client
Data descriptors inherited from vrml.node.VPCone:
- color
- exposedField SFColor color [1.0, 1.0, 1.0]
- length
- exposedField SFFloat length 2.0
- pos
- exposedField SFVec3f pos [0.0, 0.0, 0.0]
- positionAdjust
- exposedField SFVec3f positionAdjust [0.0, 1.0, 0.0]
- radius
- exposedField SFFloat radius 1.0
- rotation
- exposedField SFRotation rotation [0.0, 1.0, 0.0, 0.0]
Data and other attributes inherited from vrml.node.VPCone:
- scenegraph = SceneGraph(
routes = [],
root = <weakref at 0...''
)],
DEF = ''
)],
DEF = ''
)],
DEF = ''
)
- PROTO = 'VPCone'
Methods inherited from PrototypedNode:
- __init__(self, *arguments, **namedarguments)
- Initialise the node with appropriate named args
Also attempts to instantiate the sub-node scenegraph
for the PrototypedNode
- instantiate(self)
- Make a copy of the class scenegraph-template for this node
Also needs to bind IS mappings/routes for the template,
and negotiate not-yet-loaded external prototypes and
the like.
- renderedChildren(self, types=None)
- Get the rendered children of the scenegraph
Data descriptors inherited from PrototypedNode:
- scenegraph
- exposedField SFNode scenegraph NULL
Methods inherited from Node:
- __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 <type 'list'>
- rootSceneGraph
- exposedField RootScenegraphNode root NULL
|
class VPCylinder(_VPOrientMixIn, _VPColorMixIn, _VPPosMixIn, vrml.node.VPCylinder) |
| |
Visual-python-style "cylinder" object
The sub-class here just adds the various convenience
almost-fields that the VPython environment expects... |
| |
- Method resolution order:
- VPCylinder
- _VPOrientMixIn
- _VPColorMixIn
- _VPPosMixIn
- vrml.node.VPCylinder
- PrototypedNode
- Node
- object
Methods defined here:
- set_length(self, value, field, *args, **named)
- Sets height-adjustment given length
Data descriptors defined here:
- length
- Wrapper for a field
Data descriptors inherited from _VPOrientMixIn:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- axis
- Wrapper for a field
Data descriptors inherited from _VPColorMixIn:
- blue
- Get/Set item 2 of 'color' for the client
- green
- Get/Set item 1 of 'color' for the client
- red
- Get/Set item 0 of 'color' for the client
Data descriptors inherited from _VPPosMixIn:
- x
- Get/Set item 0 of 'pos' for the client
- y
- Get/Set item 1 of 'pos' for the client
- z
- Get/Set item 2 of 'pos' for the client
Data descriptors inherited from vrml.node.VPCylinder:
- color
- exposedField SFColor color [1.0, 1.0, 1.0]
- pos
- exposedField SFVec3f pos [0.0, 0.0, 0.0]
- positionAdjust
- exposedField SFVec3f positionAdjust [0.0, 1.0, 0.0]
- radius
- exposedField SFFloat radius 1.0
- rotation
- exposedField SFRotation rotation [0.0, 1.0, 0.0, 0.0]
Data and other attributes inherited from vrml.node.VPCylinder:
- scenegraph = SceneGraph(
routes = [],
root = <weakref at 0...''
)],
DEF = ''
)],
DEF = ''
)],
DEF = ''
)
- PROTO = 'VPCylinder'
Methods inherited from PrototypedNode:
- __init__(self, *arguments, **namedarguments)
- Initialise the node with appropriate named args
Also attempts to instantiate the sub-node scenegraph
for the PrototypedNode
- instantiate(self)
- Make a copy of the class scenegraph-template for this node
Also needs to bind IS mappings/routes for the template,
and negotiate not-yet-loaded external prototypes and
the like.
- renderedChildren(self, types=None)
- Get the rendered children of the scenegraph
Data descriptors inherited from PrototypedNode:
- scenegraph
- exposedField SFNode scenegraph NULL
Methods inherited from Node:
- __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 <type 'list'>
- rootSceneGraph
- exposedField RootScenegraphNode root NULL
|
class VPSphere(_VPOrientMixIn, _VPColorMixIn, _VPPosMixIn, vrml.node.VPSphere) |
| |
Visual-python-style "sphere" object
The sub-class here just adds the various convenience
almost-fields that the VPython environment expects... |
| |
- Method resolution order:
- VPSphere
- _VPOrientMixIn
- _VPColorMixIn
- _VPPosMixIn
- vrml.node.VPSphere
- PrototypedNode
- Node
- object
Data descriptors inherited from _VPOrientMixIn:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- axis
- Wrapper for a field
Data descriptors inherited from _VPColorMixIn:
- blue
- Get/Set item 2 of 'color' for the client
- green
- Get/Set item 1 of 'color' for the client
- red
- Get/Set item 0 of 'color' for the client
Data descriptors inherited from _VPPosMixIn:
- x
- Get/Set item 0 of 'pos' for the client
- y
- Get/Set item 1 of 'pos' for the client
- z
- Get/Set item 2 of 'pos' for the client
Data descriptors inherited from vrml.node.VPSphere:
- color
- exposedField SFColor color [1.0, 1.0, 1.0]
- pos
- exposedField SFVec3f pos [0.0, 0.0, 0.0]
- radius
- exposedField SFFloat radius 1.0
- rotation
- exposedField SFRotation rotation [0.0, 1.0, 0.0, 0.0]
- up
- exposedField SFVec3f up [0.0, 1.0, 0.0]
Data and other attributes inherited from vrml.node.VPSphere:
- scenegraph = SceneGraph(
routes = [],
root = <weakref at 0...450 ),
DEF = ''
)],
DEF = ''
)],
DEF = ''
)
- PROTO = 'VPSphere'
Methods inherited from PrototypedNode:
- __init__(self, *arguments, **namedarguments)
- Initialise the node with appropriate named args
Also attempts to instantiate the sub-node scenegraph
for the PrototypedNode
- instantiate(self)
- Make a copy of the class scenegraph-template for this node
Also needs to bind IS mappings/routes for the template,
and negotiate not-yet-loaded external prototypes and
the like.
- renderedChildren(self, types=None)
- Get the rendered children of the scenegraph
Data descriptors inherited from PrototypedNode:
- scenegraph
- exposedField SFNode scenegraph NULL
Methods inherited from Node:
- __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 <type 'list'>
- rootSceneGraph
- exposedField RootScenegraphNode root NULL
|
class _VPColorMixIn(object) |
| |
Mix-in providing color-updates |
| |
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- blue
- Get/Set item 2 of 'color' for the client
- green
- Get/Set item 1 of 'color' for the client
- red
- Get/Set item 0 of 'color' for the client
|
class _VPOrientMixIn(object) |
| |
Mix-in providing rotation calculation |
| |
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- axis
- Wrapper for a field
|
class _VPPosMixIn(object) |
| |
Mix-in providing pos-updates |
| |
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- x
- Get/Set item 0 of 'pos' for the client
- y
- Get/Set item 1 of 'pos' for the client
- z
- Get/Set item 2 of 'pos' for the client
| |