NCSA Portfolio

ncsa.j3d
Class MulticastTransformGroup

java.lang.Object
  |
  +--javax.media.j3d.SceneGraphObject
        |
        +--javax.media.j3d.Node
              |
              +--javax.media.j3d.Group
                    |
                    +--javax.media.j3d.TransformGroup
                          |
                          +--ncsa.j3d.SimpleTransformGroup
                                |
                                +--ncsa.j3d.PickableTransformGroup
                                      |
                                      +--ncsa.j3d.MulticastTransformGroup

public class MulticastTransformGroup
extends PickableTransformGroup

A PickableTransformGroup that transmits its Transform3D over a multicast subnet


Fields inherited from class javax.media.j3d.TransformGroup
ALLOW_TRANSFORM_READ, ALLOW_TRANSFORM_WRITE
 
Fields inherited from class javax.media.j3d.Group
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE
 
Fields inherited from class javax.media.j3d.Node
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_PICK, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Constructor Summary
MulticastTransformGroup()
          Default constructor.
MulticastTransformGroup(javax.vecmath.Vector3f initial)
          The constructor can accept a Vector3f as an initial translation that will be applied even after the object has been reset.
 
Method Summary
 void apply()
          this function reapplies the current rotation and transformation information to the actual Transform3D
 void endMulticast()
          Stop listening on the multicast subnet/port
 void startMulticast(java.lang.String subnet, int port)
          Starts listening on the given multicast subnet/port
 
Methods inherited from class ncsa.j3d.PickableTransformGroup
generatePickRay, getName, selectNode, setName
 
Methods inherited from class ncsa.j3d.SimpleTransformGroup
get, get, get, move, move, reset, rotX, rotY, rotZ, scale, scale, set, set, set, set, set
 
Methods inherited from class javax.media.j3d.TransformGroup
cloneNode, duplicateNode, getTransform, setTransform
 
Methods inherited from class javax.media.j3d.Group
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, insertChild, moveTo, numChildren, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds
 
Methods inherited from class javax.media.j3d.Node
cloneTree, cloneTree, cloneTree, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, getCapability, getUserData, isCompiled, isLive, setCapability, setUserData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MulticastTransformGroup

public MulticastTransformGroup(javax.vecmath.Vector3f initial)
The constructor can accept a Vector3f as an initial translation that will be applied even after the object has been reset.
Parameters:
initial - is a Vector3f

MulticastTransformGroup

public MulticastTransformGroup()
Default constructor. No initial translation is applied.
Method Detail

startMulticast

public void startMulticast(java.lang.String subnet,
                           int port)
Starts listening on the given multicast subnet/port
Parameters:
subnet - the multicast subnet to subscribe to
port - the port to listen on

endMulticast

public void endMulticast()
Stop listening on the multicast subnet/port

apply

public void apply()
this function reapplies the current rotation and transformation information to the actual Transform3D

NCSA Portfolio

NCSA Portfolio, Copyright 1997-1999, National Center for Supercomputing Applications, University of Illinois Urbana-Champaign, All Rights Reserved