Aviatrix3D 1.0

org.j3d.aviatrix3d
Interface PickingHandler

All Known Implementing Classes:
DefaultPickingHandler

public interface PickingHandler

A interface that describes an internal implemention of pick intersection tests.

Version:
$Revision: 1.3 $
Author:
Justin Couch

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.
 

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.

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.

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