org.odejava.xode
Class XODESpace

java.lang.Object
  extended by org.odejava.xode.XODEObject
      extended by org.odejava.xode.XODEContainer
          extended by org.odejava.xode.XODEGroup
              extended by org.odejava.xode.XODESpace
All Implemented Interfaces:
Serializable

public class XODESpace
extends XODEGroup
implements Serializable

XODE representation of a World. Note - doesn't create a world currently.

Author:
William Denniss
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.odejava.xode.XODEContainer
absoluteTransform, cachedBodyRelTransform, cachedRootTransform, cachedTransform, relTransform, xodeObjects
 
Fields inherited from class org.odejava.xode.XODEObject
node, odeObject
 
Constructor Summary
protected XODESpace()
           
  XODESpace(Node xodeData)
           
  XODESpace(Space space)
           
  XODESpace(String name, org.openmali.vecmath2.Matrix4f transform)
           
 
Method Summary
static void addChild(XODEContainer parent, Geom currentGeom)
           
static void addChild(XODEContainer parent, Geom currentGeom, org.openmali.vecmath2.Matrix4f transform)
           
 Element buildElement(Document doc)
          Builds an XML DOM representation of this XODEObject
 
Methods inherited from class org.odejava.xode.XODEGroup
parseGroup, parseGroupChild
 
Methods inherited from class org.odejava.xode.XODEContainer
addChild, addChildElements, addChildren, addTransformElement, buildOde, getBodyRelTransform, getChildren, getPosition, getRootTransform, getRotation, getTransform, getTransform, getXODETransform, invalidateTransformCache, isAbsoluteTransformMode, parseTransform, removeChild, scrapDOMObjectCache, scrapODEObjectCache, setAbsolute, setParent, setPosition, setRotation, setTransform
 
Methods inherited from class org.odejava.xode.XODEObject
clone, getDOMNode, getFirstBodyAncestor, getFirstJointGroupAncestor, getFirstSpaceAncestor, getName, getODEObject, getParent, setName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XODESpace

protected XODESpace()

XODESpace

public XODESpace(String name,
                 org.openmali.vecmath2.Matrix4f transform)

XODESpace

public XODESpace(Node xodeData)

XODESpace

public XODESpace(Space space)
Parameters:
space -
Method Detail

addChild

public static void addChild(XODEContainer parent,
                            Geom currentGeom)

addChild

public static void addChild(XODEContainer parent,
                            Geom currentGeom,
                            org.openmali.vecmath2.Matrix4f transform)

buildElement

public Element buildElement(Document doc)
Description copied from class: XODEObject
Builds an XML DOM representation of this XODEObject

Overrides:
buildElement in class XODEGroup
Parameters:
doc - the Document this Element will be associated with
Returns:
and XML DOM representation of this XODEObject