Aviatrix3D
2.1.0

org.j3d.aviatrix3d.picking
Interface PickingManager

All Known Implementing Classes:
DebugPickingHandler

public interface PickingManager

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

Version:
$Revision: 1.2 $
Author:
Justin Couch

Method Summary
 void pickBatch(PickTarget 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(PickTarget root, PickRequest req)
          Check for all intersections against this geometry and it's children to see if there is an intersection with the given single request.
 void setErrorReporter(org.j3d.util.ErrorReporter reporter)
          Register an error reporter with the engine so that any errors generated by the node's internals can be reported in a nice, pretty fashion.
 

Method Detail

setErrorReporter

void setErrorReporter(org.j3d.util.ErrorReporter reporter)
Register an error reporter with the engine so that any errors generated by the node's internals can be reported in a nice, pretty fashion. Setting a value of null will clear the currently set reporter. If one is already set, the new value replaces the old.

Parameters:
reporter - The instance to use or null

pickBatch

void pickBatch(PickTarget 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

void pickSingle(PickTarget 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 single request.

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
2.1.0

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