org.xith3d.picking
Interface PickListenerBase

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

public interface PickListenerBase

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

See Also:
ScheduledPicker

Method Summary
 void onPickingMissed(java.lang.Object userObject, long pickTime)
          this Event is fired when a pickray didn't hit any node
 boolean testIntersectionsInWorldSpaceForPicking()
          By default this method should return false.
 

Method Detail

testIntersectionsInWorldSpaceForPicking

boolean testIntersectionsInWorldSpaceForPicking()
By default this method should return false.
If it returns true, ray triangle intersections are tested in world space instead of object space.

Returns:
whether or not to test picking intersections in world space

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