org.xith3d.picking
Interface PickEngine

All Known Implementing Classes:
Canvas3D

public interface PickEngine

A class implementing this interface is able to pick Nodes in the scenegraph.


Method Summary
 void pickAll(GroupNode group, org.jagatoo.input.devices.components.MouseButton button, int x, int y, AllPickListener pl)
          Picks all Nodes in the given Group.
 void pickAll(GroupNode group, org.jagatoo.input.devices.components.MouseButton button, int x, int y, AllPickListener pl, java.lang.Object userObject)
          Picks all Nodes in the given Group.
 void pickAll(java.util.List<? extends GroupNode> groups, org.jagatoo.input.devices.components.MouseButton button, int x, int y, AllPickListener pl)
          Picks all Nodes in the given Groups.
 void pickAll(java.util.List<? extends GroupNode> groups, org.jagatoo.input.devices.components.MouseButton button, int x, int y, AllPickListener pl, java.lang.Object userObject)
          Picks all Nodes in the given Groups.
 void pickNearest(GroupNode group, org.jagatoo.input.devices.components.MouseButton button, int x, int y, NearestPickListener pl)
          Picks the all Nodes in the given Group and finds the closest one to the View.
 void pickNearest(GroupNode group, org.jagatoo.input.devices.components.MouseButton button, int x, int y, NearestPickListener pl, java.lang.Object userObject)
          Picks the all Nodes in the given Group and finds the closest one to the View.
 void pickNearest(java.util.List<? extends GroupNode> groups, org.jagatoo.input.devices.components.MouseButton button, int x, int y, NearestPickListener pl)
          Picks the all Nodes in the given Groups and finds the closest one to the View.
 void pickNearest(java.util.List<? extends GroupNode> groups, org.jagatoo.input.devices.components.MouseButton button, int x, int y, NearestPickListener pl, java.lang.Object userObject)
          Picks the all Nodes in the given Groups and finds the closest one to the View.
 

Method Detail

pickAll

void pickAll(java.util.List<? extends GroupNode> groups,
             org.jagatoo.input.devices.components.MouseButton button,
             int x,
             int y,
             AllPickListener pl,
             java.lang.Object userObject)
Picks all Nodes in the given Groups.

Parameters:
groups - the Groups to do the picking on
button - the mouse button, that was clicked to initiate the picking
x - the mouse-x-position where the picking is to be done
y - the mouse-y-position where the picking is to be done
pl - the PickListener to be notified of the pick results
userObject - the user-object to be passed back to the PickListener

pickAll

void pickAll(java.util.List<? extends GroupNode> groups,
             org.jagatoo.input.devices.components.MouseButton button,
             int x,
             int y,
             AllPickListener pl)
Picks all Nodes in the given Groups.

Parameters:
groups - the Groups to do the picking on
button - the mouse button, that was clicked to initiate the picking
x - the mouse-x-position where the picking is to be done
y - the mouse-y-position where the picking is to be done
pl - the PickListener to be notified of the pick results

pickNearest

void pickNearest(java.util.List<? extends GroupNode> groups,
                 org.jagatoo.input.devices.components.MouseButton button,
                 int x,
                 int y,
                 NearestPickListener pl,
                 java.lang.Object userObject)
Picks the all Nodes in the given Groups and finds the closest one to the View.

Parameters:
groups - the Groups to do the picking on
button - the mouse button, that was clicked to initiate the picking
x - the mouse-x-position where the picking is to be done
y - the mouse-y-position where the picking is to be done
pl - the PickListener to be notified of the pick results
userObject - the user-object to be passed back to the PickListener

pickNearest

void pickNearest(java.util.List<? extends GroupNode> groups,
                 org.jagatoo.input.devices.components.MouseButton button,
                 int x,
                 int y,
                 NearestPickListener pl)
Picks the all Nodes in the given Groups and finds the closest one to the View.

Parameters:
groups - the Groups to do the picking on
button - the mouse button, that was clicked to initiate the picking
x - the mouse-x-position where the picking is to be done
y - the mouse-y-position where the picking is to be done
pl - the PickListener to be notified of the pick results

pickAll

void pickAll(GroupNode group,
             org.jagatoo.input.devices.components.MouseButton button,
             int x,
             int y,
             AllPickListener pl,
             java.lang.Object userObject)
Picks all Nodes in the given Group.

Parameters:
group - the Group to do the picking on
button - the mouse button, that was clicked to initiate the picking
x - the mouse-x-position where the picking is to be done
y - the mouse-y-position where the picking is to be done
pl - the PickListener to be notified of the pick results
userObject - the user-object to be passed back to the PickListener

pickAll

void pickAll(GroupNode group,
             org.jagatoo.input.devices.components.MouseButton button,
             int x,
             int y,
             AllPickListener pl)
Picks all Nodes in the given Group.

Parameters:
group - the Group to do the picking on
button - the mouse button, that was clicked to initiate the picking
x - the mouse-x-position where the picking is to be done
y - the mouse-y-position where the picking is to be done
pl - the PickListener to be notified of the pick results

pickNearest

void pickNearest(GroupNode group,
                 org.jagatoo.input.devices.components.MouseButton button,
                 int x,
                 int y,
                 NearestPickListener pl,
                 java.lang.Object userObject)
Picks the all Nodes in the given Group and finds the closest one to the View.

Parameters:
group - the Group to do the picking on
button - the mouse button, that was clicked to initiate the picking
x - the mouse-x-position where the picking is to be done
y - the mouse-y-position where the picking is to be done
pl - the PickListener to be notified of the pick results
userObject - the user-object to be passed back to the PickListener

pickNearest

void pickNearest(GroupNode group,
                 org.jagatoo.input.devices.components.MouseButton button,
                 int x,
                 int y,
                 NearestPickListener pl)
Picks the all Nodes in the given Group and finds the closest one to the View.

Parameters:
group - the Group to do the picking on
button - the mouse button, that was clicked to initiate the picking
x - the mouse-x-position where the picking is to be done
y - the mouse-y-position where the picking is to be done
pl - the PickListener to be notified of the pick results