wobs.scene3d.nodes
Class Transform

java.lang.Object
  extended by X3DDefaultNode
      extended by wobs.scene3d.nodes.Transform

public class Transform
extends X3DDefaultNode

This class contains index constants to access fields in a Transform node using the X3DNode.getField(int fieldIndex) method.

In X3D/VRML, the Transform node is a grouping node that defines a coordinate system for its children that is relative to the coordinate systems of its ancestors.


Field Summary
static int center
          The constant used to access the center field of a Transform node.
static int children
          The constant used to access the children field of a Transform node.
static int rotation
          The constant used to access the rotation field of a Transform node.
static int scale
          The constant used to access the scale field of a Transform node.
static int scaleOrientation
          The constant used to access the scaleOrientation field of a Transform node.
static int translation
          The constant used to access the translation field of a Transform node.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

center

public static final int center
The constant used to access the center field of a Transform node.
In X3D/VRML, this field specifies a translation offset from the origin of the local coordinate system (0,0,0).

This field is of X3D/VRML-type SFVec3f.

See Also:
Constant Field Values

children

public static final int children
The constant used to access the children field of a Transform node.
In X3D/VRML, this field stores the children nodes of this object. Used to access children nodes.

This field is of X3D/VRML-type MFNode.

See Also:
Constant Field Values

rotation

public static final int rotation
The constant used to access the rotation field of a Transform node.
In X3D/VRML, this field specifies a rotation of the coordinate system. The rotation field specifies a rotation in radians.

This field is of X3D/VRML-type SFRotation.

See Also:
Constant Field Values

scale

public static final int scale
The constant used to access the scale field of a Transform node.
In X3D/VRML, this field specifies a non-uniform scale of the coordinate system. scale values shall be greater than zero.

This field is of X3D/VRML-type SFVec3f.

See Also:
Constant Field Values

scaleOrientation

public static final int scaleOrientation
The constant used to access the scaleOrientation field of a Transform node.
In X3D/VRML, this field specifies a rotation of the coordinate system before the scale (to specify scales in arbitrary orientations). The scaleOrientation applies only to the scale operation.

This field is of X3D/VRML-type SFRotation.

See Also:
Constant Field Values

translation

public static final int translation
The constant used to access the translation field of a Transform node.
In X3D/VRML, this field specifies a translation to the coordinate system.

This field is of X3D/VRML-type SFVec3f.

See Also:
Constant Field Values