Aviatrix3D 1.0

org.j3d.aviatrix3d.pipeline
Class DefaultPickingHandler

java.lang.Object
  extended byorg.j3d.aviatrix3d.pipeline.DefaultPickingHandler
All Implemented Interfaces:
PickingHandler

public class DefaultPickingHandler
extends java.lang.Object
implements PickingHandler

The default internal implementation of the pick handling system. tests.

Version:
$Revision: 1.26 $
Author:
Justin Couch

Constructor Summary
DefaultPickingHandler()
          Initialise a new instance of the pick handler.
 
Method Summary
 void pickBatch(PickableObject root, PickRequest[] req, int numRequests)
          Check for all intersections against this geometry and it's children to see if there is an intersection with the given set of requests.
 void pickSingle(PickableObject root, PickRequest req)
          Check for all intersections against this geometry and it's children to see if there is an intersection with the given set of requests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPickingHandler

public DefaultPickingHandler()
Initialise a new instance of the pick handler.

Method Detail

pickBatch

public void pickBatch(PickableObject root,
                      PickRequest[] req,
                      int numRequests)
               throws NotPickableException
Check for all intersections against this geometry and it's children to see if there is an intersection with the given set of requests.

Specified by:
pickBatch in interface PickingHandler
Parameters:
root - The root point to start the pick processing from
req - The list of picks to be made, starting at this object
numRequests - The number of valid pick requests to process
Throws:
NotPickableException - This object has been marked as non pickable, but you decided to try to call the method anyway

pickSingle

public void pickSingle(PickableObject root,
                       PickRequest req)
                throws NotPickableException
Check for all intersections against this geometry and it's children to see if there is an intersection with the given set of requests.

Specified by:
pickSingle in interface PickingHandler
Parameters:
root - The root point to start the pick processing from
req - The details of the pick to be made
Throws:
NotPickableException - This object has been marked as non pickable, but you decided to try to call the method anyway

Aviatrix3D 1.0

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2005 j3d.org