|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.picking.PickingLibrary
public class PickingLibrary
This is used to convert Mouse coordinates to World coordinates
| Constructor Summary | |
|---|---|
PickingLibrary()
|
|
| Method Summary | |
|---|---|
static GeometryPickTester |
getGeometryPickTester()
|
static boolean |
isGeometryIgnored()
|
static void |
pickAll(GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
AllPickListener l)
Finds the closest intersection of a ray and a the nodes in a Group. |
static void |
pickAll(GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
AllPickListener l,
java.lang.Object userObject)
Finds the closest intersection of a ray and a the nodes in a Group. |
static void |
pickAll(java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
AllPickListener l)
Finds the closest intersection of a given List of NodeGroups with a given ray. |
static void |
pickAll(java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
AllPickListener l,
java.lang.Object userObject)
Finds the closest intersection of a given List of NodeGroups with a given ray. |
static void |
pickAll(java.util.List<? extends GroupNode> groups,
org.openmali.vecmath2.Ray3f pickRay,
org.jagatoo.input.devices.components.MouseButton button,
AllPickListener l)
Finds the closest intersection of a given List of NodeGroups with a given ray. |
static void |
pickAll(java.util.List<? extends GroupNode> groups,
org.openmali.vecmath2.Ray3f pickRay,
org.jagatoo.input.devices.components.MouseButton button,
AllPickListener l,
java.lang.Object userObject)
Finds all intersections of a given List of GroupNodes with a given ray. |
static void |
pickAll(RenderPassConfig rpConfig,
java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
AllPickListener l,
java.lang.Object userObject)
Finds the closest intersection of a given List of NodeGroups with a given ray. |
static void |
pickNearest(GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l)
Finds the closest intersection of a ray and a the nodes in a Group. |
static void |
pickNearest(GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l,
java.lang.Object userObject)
Finds the closest intersection of a ray and a the nodes in a Group. |
static void |
pickNearest(java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l)
Finds the closest intersection of a given List of GroupNodes with a given ray. |
static void |
pickNearest(java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l,
java.lang.Object userObject)
Finds the closest intersection of a given List of GroupNodes with a given ray. |
static void |
pickNearest(java.util.List<? extends GroupNode> groups,
org.openmali.vecmath2.Ray3f pickRay,
org.jagatoo.input.devices.components.MouseButton button,
NearestPickListener l)
Finds the closest intersection of a given List of GroupNodes with a given ray. |
static void |
pickNearest(java.util.List<? extends GroupNode> groups,
org.openmali.vecmath2.Ray3f pickRay,
org.jagatoo.input.devices.components.MouseButton button,
NearestPickListener l,
java.lang.Object userObject)
Finds the closest intersection of a given List of GroupNodes with a given ray. |
static void |
pickNearest(RenderPassConfig rpConfig,
GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l)
Finds the closest intersection of a given List of GroupNodes with a given ray. |
static void |
pickNearest(RenderPassConfig rpConfig,
GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l,
java.lang.Object userObject)
Finds the closest intersection of a given List of GroupNodes with a given ray. |
static void |
pickNearest(RenderPassConfig rpConfig,
java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l,
java.lang.Object userObject)
Finds the closest intersection of a given List of GroupNodes with a given ray. |
static void |
setGeometryIgnored(boolean geomIgnored)
Sets whether bounds-wise detected pick-result-candidates are checked more prcisely for geometry-ray intersection. |
static void |
setGeometryPickTester(GeometryPickTester geomPickTester)
Sets the GeometryPickTester to use for Geometry-Ray intersection tests. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PickingLibrary()
| Method Detail |
|---|
public static void setGeometryPickTester(GeometryPickTester geomPickTester)
geomPickTester - public static final GeometryPickTester getGeometryPickTester()
public static void setGeometryIgnored(boolean geomIgnored)
geomIgnored - public static boolean isGeometryIgnored()
public static void pickAll(java.util.List<? extends GroupNode> groups,
org.openmali.vecmath2.Ray3f pickRay,
org.jagatoo.input.devices.components.MouseButton button,
AllPickListener l,
java.lang.Object userObject)
groups - the groups that should be testedpickRay - the pick raybutton - the mouse button, that was clickedl - the listener to be notified of the PickResultuserObject - the userObject to pass to the listener
public static void pickAll(java.util.List<? extends GroupNode> groups,
org.openmali.vecmath2.Ray3f pickRay,
org.jagatoo.input.devices.components.MouseButton button,
AllPickListener l)
groups - the groups that should be testedpickRay - the pick raybutton - the mouse button, that was clickedl - the listener to be notified of the PickResult
public static void pickAll(RenderPassConfig rpConfig,
java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
AllPickListener l,
java.lang.Object userObject)
rpConfig - the RenderPassConfig to usegroups - the groups that should be testedcanvas - the canvas to which the coordinates referbutton - the mouse button, that was clickedx - the x-(mouse)coordinate (in pixels)y - the y-(mouse)coordinate (in pixels)l - the listener to be notified of the PickResultuserObject - the userObject to pass to the listener
public static void pickAll(java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
AllPickListener l,
java.lang.Object userObject)
groups - the groups that should be testedcanvas - the canvas to which the coordinates referbutton - the mouse button, that was clickedx - the x-(mouse)coordinate (in pixels)y - the y-(mouse)coordinate (in pixels)l - the listener to be notified of the PickResultuserObject - the userObject to pass to the listener
public static void pickAll(java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
AllPickListener l)
groups - the groups that should be testedcanvas - the canvas to which the coordinates referbutton - the mouse button, that was clickedx - the x-(mouse)coordinate (in pixels)y - the y-(mouse)coordinate (in pixels)l - the listener to be notified of the PickResult
public static void pickAll(GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
AllPickListener l,
java.lang.Object userObject)
group - the Branchgroup to intersect with the raycanvas - the canvas in which the pick is performedbutton - the mouse button, that was clickedx - the x-(mouse)coordinate (in pixels)y - the y-(mouse)coordinate (in pixels)l - the listener to be notified of the PickResultuserObject - the userObject to pass to the listener
public static void pickAll(GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
AllPickListener l)
group - the Branchgroup to intersect with the raycanvas - the canvas in which the pick is performedbutton - the mouse button, that was clickedx - the x-(mouse)coordinate (in pixels)y - the y-(mouse)coordinate (in pixels)l - the listener to be notified of the PickResult
public static void pickNearest(java.util.List<? extends GroupNode> groups,
org.openmali.vecmath2.Ray3f pickRay,
org.jagatoo.input.devices.components.MouseButton button,
NearestPickListener l,
java.lang.Object userObject)
groups - the groups that should be testedpickRay - the pick raybutton - the mouse button, that was clickedl - the listener to be notified of the PickResultuserObject - the userObject to pass to the listener
public static void pickNearest(java.util.List<? extends GroupNode> groups,
org.openmali.vecmath2.Ray3f pickRay,
org.jagatoo.input.devices.components.MouseButton button,
NearestPickListener l)
groups - the groups that should be testedpickRay - the pick raybutton - the mouse button, that was clickedl - the listener to be notified of the PickResult
public static void pickNearest(RenderPassConfig rpConfig,
java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l,
java.lang.Object userObject)
rpConfig - the RenderPassConfig to usegroups - the groups that should be testedcanvas - the canvas to which the coordinates referbutton - the mouse button, that was clickedx - the x-(mouse)coordinate (in pixels)y - the y-(mouse)coordinate (in pixels)l - the listener to be notified of the PickResultuserObject - the userObject to pass to the listener
public static void pickNearest(RenderPassConfig rpConfig,
GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l,
java.lang.Object userObject)
rpConfig - the RenderPassConfig to usegroup - the Branchgroup to intersect with the raycanvas - the canvas to which the coordinates referbutton - the mouse button, that was clickedx - the x-(mouse)coordinate (in pixels)y - the y-(mouse)coordinate (in pixels)l - the listener to be notified of the PickResultuserObject - the userObject to pass to the listener
public static void pickNearest(RenderPassConfig rpConfig,
GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l)
rpConfig - the RenderPassConfig to usegroup - the Branchgroup to intersect with the raycanvas - the canvas to which the coordinates referbutton - the mouse button, that was clickedx - the x-(mouse)coordinate (in pixels)y - the y-(mouse)coordinate (in pixels)l - the listener to be notified of the PickResult
public static void pickNearest(java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l,
java.lang.Object userObject)
groups - the groups that should be testedcanvas - the canvas to which the coordinates referbutton - the mouse button, that was clickedx - the x-(mouse)coordinate (in pixels)y - the y-(mouse)coordinate (in pixels)l - the listener to be notified of the PickResultuserObject - the userObject to pass to the listener
public static void pickNearest(java.util.List<? extends GroupNode> groups,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l)
groups - the groups that should be testedcanvas - the canvas to which the coordinates referbutton - the mouse button, that was clickedx - the x-(mouse)coordinate (in pixels)y - the y-(mouse)coordinate (in pixels)l - the listener to be notified of the PickResult
public static void pickNearest(GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l,
java.lang.Object userObject)
group - the Branchgroup to intersect with the raycanvas - the canvas in which the pick is performedbutton - the mouse button, that was clickedx - the x-(mouse)coordinate (in pixels)y - the y-(mouse)coordinate (in pixels)l - the listener to be notified of the PickResultuserObject - the userObject to pass to the listener
public static void pickNearest(GroupNode group,
Canvas3D canvas,
org.jagatoo.input.devices.components.MouseButton button,
int x,
int y,
NearestPickListener l)
group - the Branchgroup to intersect with the raycanvas - the canvas in which the pick is performedbutton - the mouse button, that was clickedx - the x-(mouse)coordinate (in pixels)y - the y-(mouse)coordinate (in pixels)l - the listener to be notified of the PickResult
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||