All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.media.j3d.TransformGroup

java.lang.Object
   |
   +----java.media.j3d.SceneGraphObject
           |
           +----java.media.j3d.Node
                   |
                   +----java.media.j3d.Group
                           |
                           +----java.media.j3d.TransformGroup

public class TransformGroup
extends Group
Group node that contains a transform.


Variable Index

 o ALLOW_TRANSFORM_READ
Specifies that the node allows access to its object's transform information.
 o ALLOW_TRANSFORM_WRITE
Specifies that the node allows writing its object's transform information.

Constructor Index

 o TransformGroup()
Constructs and initializes a TransformGroup using an identity transform.
 o TransformGroup(Transform3D)
Constructs and initializes a TransformGroup from the Transform passed.

Method Index

 o getTransform(Transform3D)
Copies the transform component of this TransformGroup into the passed transform object.
 o setTransform(Transform3D)
Sets the transform component of this TransformGroup to the value of the passed transform.

Variables

 o ALLOW_TRANSFORM_READ
 public static final int ALLOW_TRANSFORM_READ
Specifies that the node allows access to its object's transform information.

 o ALLOW_TRANSFORM_WRITE
 public static final int ALLOW_TRANSFORM_WRITE
Specifies that the node allows writing its object's transform information.

Constructors

 o TransformGroup
 public TransformGroup()
Constructs and initializes a TransformGroup using an identity transform.

 o TransformGroup
 public TransformGroup(Transform3D t1)
Constructs and initializes a TransformGroup from the Transform passed. The transform must be congruent (angle and length preserving)---only rotation, translation and uniform scale are allowed in the scene graph.

Parameters:
t1 - the transform3D object
Throws: BadTransformException
if the transform is not congruent (angle and length preserving).

Methods

 o setTransform
 public final void setTransform(Transform3D t1)
Sets the transform component of this TransformGroup to the value of the passed transform. The transform must be congruent (angle and length preserving)---only rotation, translation and uniform scale are allowed in the scene graph.

Parameters:
t1 - the transform to be copied.
Throws: CapabilityNotSetException
if appropriate capability is not set and this object is part of live or compiled scene graph
Throws: BadTransformException
if the transform is not congruent (angle and length preserving).
 o getTransform
 public final void getTransform(Transform3D t1)
Copies the transform component of this TransformGroup into the passed transform object.

Parameters:
t1 - the transform object to be copied into.
Throws: CapabilityNotSetException
if appropriate capability is not set and this object is part of live or compiled scene graph

All Packages  Class Hierarchy  This Package  Previous  Next  Index