|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.picking.PickRequest
public class PickRequest
An instance of this class hold all information to perform a picking.
| Constructor Summary | |
|---|---|
PickRequest()
Generates a new ScheduledPicker instance. |
|
| Method Summary | |
|---|---|
AllPickListener |
getAllPickListener()
|
org.jagatoo.input.devices.components.MouseButton |
getButton()
|
Canvas3D |
getCanvas()
|
java.util.List<GroupNode> |
getGroups()
|
int |
getMouseX()
|
int |
getMouseY()
|
NearestPickListener |
getNearestPickListener()
|
boolean |
getPickAll()
|
java.util.List<RenderPass> |
getRenderPasses()
|
java.lang.Object |
getUserObject()
|
void |
init(java.util.List<RenderPass> renderPasses,
java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int mouseX,
int mouseY,
java.lang.Object pl,
java.lang.Object userObject,
boolean pickAll)
Generates a new ScheduledPicker instance. |
void |
init(RenderPass renderPass,
GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int mouseX,
int mouseY,
java.lang.Object pl,
java.lang.Object userObject,
boolean pickAll)
Generates a new ScheduledPicker instance. |
void |
setUserObject(java.lang.Object userObject)
Assotiotes a new user object with this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PickRequest()
| Method Detail |
|---|
public java.util.List<RenderPass> getRenderPasses()
public java.util.List<GroupNode> getGroups()
public final java.lang.Object getUserObject()
public final void setUserObject(java.lang.Object userObject)
public final AllPickListener getAllPickListener()
public final NearestPickListener getNearestPickListener()
public Canvas3D getCanvas()
public final org.jagatoo.input.devices.components.MouseButton getButton()
public final int getMouseX()
public final int getMouseY()
public final boolean getPickAll()
public void init(java.util.List<RenderPass> renderPasses,
java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int mouseX,
int mouseY,
java.lang.Object pl,
java.lang.Object userObject,
boolean pickAll)
renderPasses - groups - the List of GroupNodes to do the picking oncanvas - the canvas to do the picking onbutton - the mouse button, that was clickedmouseX - the x-position of the mouse on the canvasmouseY - the y-position of the mouse on the canvaspl - the picklistener to use for callback when picking is doneuserObject - this user object is passed back to the onNodePicked() method
public void init(RenderPass renderPass,
GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int mouseX,
int mouseY,
java.lang.Object pl,
java.lang.Object userObject,
boolean pickAll)
renderPass - group - the List of GroupNodes to do the picking oncanvas - the canvas to do the picking onbutton - the mouse button, that was clickedmouseX - the x-position of the mouse on the canvasmouseY - the y-position of the mouse on the canvaspl - the picklistener to use for callback when picking is doneuserObject - this user object is passed back to the onNodePicked() methodpickAll - if true, all picked shapes are returned as results, but not only the nearest one
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||