org.xith3d.picking
Interface AllPickListener

All Known Subinterfaces:
PickListener
All Known Implementing Classes:
PickAdapter, PickDispatcher, SelectionManager

public interface AllPickListener

This listener is notified, when the picking is actually done.

See Also:
ScheduledPicker

Method Summary
 void onObjectsPicked(java.util.List<PickResult> pickResults, java.lang.Object userObject, long pickTime)
          This event is fired when a picking was successful.
 void onPickingMissed(java.lang.Object userObject, long pickTime)
          this Event is fired when a pickray didn't hit any node
 

Method Detail

onObjectsPicked

void onObjectsPicked(java.util.List<PickResult> pickResults,
                     java.lang.Object userObject,
                     long pickTime)
This event is fired when a picking was successful.
It is very important to be aware of the fact, that the List of PickResults is not guaranteed to be valid after this method has been left.

Parameters:
pickResults - all PickResults from this picking operation
userObject - this userObject is passed to the Picker and back to this method
pickTime - the needed time to do this picking

onPickingMissed

void onPickingMissed(java.lang.Object userObject,
                     long pickTime)
this Event is fired when a pickray didn't hit any node

Parameters:
userObject - this userObject is passed to the Picker and back to this method
pickTime - the needed time to do this picking