Trees | Index | Help |
|
---|
Package xode :: Module geom :: Class Geom |
|
TreeNode
--+
|
Geom
ode.Geom
object and corresponds to the
<geom> tag.
Method Summary | |
---|---|
Initialises this node. | |
Handle further parsing. | |
_endElement(self,
name)
| |
_parseGeomBox(self,
attrs)
| |
_parseGeomCCylinder(self,
attrs)
| |
_parseGeomPlane(self,
attrs)
| |
_parseGeomRay(self,
attrs)
| |
_parseGeomSphere(self,
attrs)
| |
_parseTriMesh(self,
attrs)
| |
Create the Geom object and apply transforms. | |
_startElement(self,
name,
attrs)
| |
Inherited from TreeNode | |
Adds a child node. | |
list |
Return the list of child nodes. |
instance of TreeNode
|
Find the first ancestor of this node that represents an ODE object of the specified type. |
str or None
|
Return this node's name. |
instance of transform.Transform
|
Return the transform of this node. |
instance |
Return the ODE object represented by this node. |
instance of TreeNode or None
|
Return the parent of this node. |
instance of TreeNode
|
Finds the root node of this parse tree. |
instance of transform.Transform
|
Calculates the absolute transform at this node. |
instance of TreeNode
|
Retrieves a named child node. |
| |
Sets the ODE object represented by this node. |
Method Details |
---|
__init__(self,
name,
parent)
Initialises this node. If the parent is not |
takeParser(self, parser)Handle further parsing. It should be called immediately after the <geom> tag has been encountered.
|
_setObject(self, kclass, **kwargs)Create the Geom object and apply transforms. Only call for placeable Geoms. |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 4 17:54:12 2007 | http://epydoc.sf.net |