All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class java.media.j3d.WakeupOnCollisionMovement
java.lang.Object
   |
   +----java.media.j3d.WakeupCondition
           |
           +----java.media.j3d.WakeupCriterion
                   |
                   +----java.media.j3d.WakeupOnCollisionMovement
  -  public final class WakeupOnCollisionMovement
  
-  extends WakeupCriterion
  
Class specifying a wakeup when the specified object
 moves while in collision with any other object in the scene graph.
  
  -  
	USE_BOUNDS
   -   Use geometric bounds as an approximation in computing collisions.
  
 -  
	USE_GEOMETRY
   -   Use geometry in computing collisions.
 
  
  -  
	WakeupOnCollisionMovement(Bounds)
   -   Constructs a new WakeupOnCollisionMovement criterion.
  
 -  
	WakeupOnCollisionMovement(Node)
   -   Constructs a new WakeupOnCollisionMovement criterion.
  
 -  
	WakeupOnCollisionMovement(Node, int)
   -   Constructs a new WakeupOnCollisionMovement criterion.
  
 -  
	WakeupOnCollisionMovement(SceneGraphPath)
   -   Constructs a new WakeupOnCollisionMovement criterion.
  
 -  
	WakeupOnCollisionMovement(SceneGraphPath, int)
   -   Constructs a new WakeupOnCollisionMovement criterion.
 
  
  -  
	getArmingBounds()
   -   Returns the bounds object used in specifying the collision condition.
  
 -  
	getArmingPath()
   -   Returns the path used in specifying the collision condition.
  
 -  
	getTriggeringBounds()
   -   Retrieves the Bounds object that caused the collision
 
  
 -  
	getTriggeringPath()
   -   Retrieves the path describing the object causing the collision.
 
  
USE_GEOMETRY
 public static final int USE_GEOMETRY
  -  Use geometry in computing collisions.
 
USE_BOUNDS
 public static final int USE_BOUNDS
  -  Use geometric bounds as an approximation in computing collisions.
 
  
WakeupOnCollisionMovement
 public WakeupOnCollisionMovement(SceneGraphPath armingPath)
  -  Constructs a new WakeupOnCollisionMovement criterion.
  
    -  Parameters:
    
 -  armingPath - the path used to arm collision
 detection
  
 
 
 
WakeupOnCollisionMovement
 public WakeupOnCollisionMovement(SceneGraphPath armingPath,
                                  int speedHint)
  -  Constructs a new WakeupOnCollisionMovement criterion.
  
    -  Parameters:
    
 -  armingPath - the path used to arm collision
 detection
    
-  speedHint - one of USE_GEOMETRY or USE_BOUNDS, specifies how
 accurately Java 3D will perform collision detection
    
  -  Throws: IllegalArgumentException
    
 -  if hint is not one of
 USE_GEOMETRY or USE_BOUNDS.
  
 
 
 
WakeupOnCollisionMovement
 public WakeupOnCollisionMovement(Node armingNode)
  -  Constructs a new WakeupOnCollisionMovement criterion.
  
    -  Parameters:
    
 -  armingNode - the Group, Shape, or Morph node used to
 arm collision detection
    
 -  Throws: IllegalArgumentException
    
 -  if object is other than a Group,
 Shape3D, or Morph node.
  
 
 
 
WakeupOnCollisionMovement
 public WakeupOnCollisionMovement(Node armingNode,
                                  int speedHint)
  -  Constructs a new WakeupOnCollisionMovement criterion.
  
    -  Parameters:
    
 -  armingNode - the Group, Shape, or Morph node used to
 arm collision detection
    
-  speedHint - one of USE_GEOMETRY or USE_BOUNDS, specifies how
 accurately Java 3D will perform collision detection
    
  -  Throws: IllegalArgumentException
    
 -  if hint is not one of
 USE_GEOMETRY or USE_BOUNDS.
    
 -  Throws: IllegalArgumentException
    
 -  if object is other than a Group,
 Shape3D, or Morph node.
  
 
 
 
WakeupOnCollisionMovement
 public WakeupOnCollisionMovement(Bounds armingBounds)
  -  Constructs a new WakeupOnCollisionMovement criterion.
  
    -  Parameters:
    
 -  armingBounds - the bounds object used to arm collision
 detection
  
 
 
 
  
getArmingPath
 public SceneGraphPath getArmingPath()
  -  Returns the path used in specifying the collision condition.
  
    -  Returns:
    
 -  the SceneGraphPath object generated when arming this
 criterion---null implies that a bounds object armed this criteria
  
 
 
 
getArmingBounds
 public Bounds getArmingBounds()
  -  Returns the bounds object used in specifying the collision condition.
  
    -  Returns:
    
 -  the Bounds object generated when arming this
 criterion---null implies that a SceneGraphPath armed this criteria
  
 
 
 
getTriggeringPath
 public SceneGraphPath getTriggeringPath()
  -  Retrieves the path describing the object causing the collision.
  
    -  Returns:
    
 -  the SceneGraphPath that describes the triggering object.
  
 
 
 
getTriggeringBounds
 public Bounds getTriggeringBounds()
  -  Retrieves the Bounds object that caused the collision
  
    -  Returns:
    
 -  the colliding Bounds object.
  
 
 
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index