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.
-
ALLOW_TRANSFORM_READ
- Specifies that the node allows access to
its object's transform information.
-
ALLOW_TRANSFORM_WRITE
- Specifies that the node allows writing
its object's transform information.
-
TransformGroup()
- Constructs and initializes a TransformGroup using an
identity transform.
-
TransformGroup(Transform3D)
- Constructs and initializes a TransformGroup from
the Transform passed.
-
getTransform(Transform3D)
- Copies the transform component of this TransformGroup into
the passed transform object.
-
setTransform(Transform3D)
- Sets the transform component of this TransformGroup to the value of
the passed transform.
ALLOW_TRANSFORM_READ
public static final int ALLOW_TRANSFORM_READ
- Specifies that the node allows access to
its object's transform information.
ALLOW_TRANSFORM_WRITE
public static final int ALLOW_TRANSFORM_WRITE
- Specifies that the node allows writing
its object's transform information.
TransformGroup
public TransformGroup()
- Constructs and initializes a TransformGroup using an
identity transform.
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).
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).
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