synergynetframework.jme.pickingsystem.data
Class PickRequest

java.lang.Object
  extended by synergynetframework.jme.pickingsystem.data.PickRequest

public class PickRequest
extends java.lang.Object

The Class PickRequest.


Field Summary
static int PICKMODE_ALL
          The Constant PICKMODE_ALL.
static int PICKMODE_CLOSEST_ONLY
          The Constant PICKMODE_CLOSEST_ONLY.
 
Constructor Summary
PickRequest(long requestingCursorID, com.jme.math.Vector2f screenPos)
          Instantiates a new pick request.
 
Method Summary
 com.jme.math.Vector2f getCursorPosition()
          Location in screen coordinates.
 long getRequestingCursorID()
          id of the cursor, from the table.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PICKMODE_ALL

public static final int PICKMODE_ALL
The Constant PICKMODE_ALL.

See Also:
Constant Field Values

PICKMODE_CLOSEST_ONLY

public static final int PICKMODE_CLOSEST_ONLY
The Constant PICKMODE_CLOSEST_ONLY.

See Also:
Constant Field Values
Constructor Detail

PickRequest

public PickRequest(long requestingCursorID,
                   com.jme.math.Vector2f screenPos)
Instantiates a new pick request.

Parameters:
requestingCursorID - the requesting cursor id
screenPos - the screen pos
Method Detail

getCursorPosition

public com.jme.math.Vector2f getCursorPosition()
Location in screen coordinates.

Returns:
the cursor position

getRequestingCursorID

public long getRequestingCursorID()
id of the cursor, from the table.

Returns:
the requesting cursor id

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object