NCSA Portfolio

ncsa.j3d.ui.record
Class RecordableBranchGroup

java.lang.Object
  |
  +--javax.media.j3d.SceneGraphObject
        |
        +--javax.media.j3d.Node
              |
              +--javax.media.j3d.Group
                    |
                    +--javax.media.j3d.BranchGroup
                          |
                          +--ncsa.j3d.ui.record.RecordableBranchGroup

public class RecordableBranchGroup
extends javax.media.j3d.BranchGroup

This class is necessary to detect when children of this node need to have a Canvas3D to synchronize with. If this is true, it is the responsiblity of another object to call setCanvas with the argument consisting of a RecordableCanvas3D.

This calss is used to grab frames from the RecordableCanvas3D without the behaviors (which are handed back in this class) updating the Canvas multiple times between the image dump of the RecordableCanvas3D.


Fields inherited from class javax.media.j3d.BranchGroup
ALLOW_DETACH
 
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
RecordableBranchGroup()
           
 
Method Summary
 void setCanvas(javax.media.j3d.Canvas3D canvas)
          Allows the Canvas3D to be set and notifies the children of this node to synchronize with the canvas.
 
Methods inherited from class javax.media.j3d.BranchGroup
cloneNode, compile, detach, duplicateNode, pickAll, pickAllSorted, pickAny, pickClosest
 
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

RecordableBranchGroup

public RecordableBranchGroup()
Method Detail

setCanvas

public void setCanvas(javax.media.j3d.Canvas3D canvas)
Allows the Canvas3D to be set and notifies the children of this node to synchronize with the canvas.
Parameters:
canvas - The RecordableCanvas3D to synchronize with.

NCSA Portfolio

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