synergynetframework.jme.cursorsystem.elements.threed
Class MultiTouchRotateXYController

java.lang.Object
  extended by synergynetframework.jme.cursorsystem.MultiTouchElement
      extended by synergynetframework.jme.cursorsystem.ThreeDMultiTouchElement
          extended by synergynetframework.jme.cursorsystem.elements.threed.MultiTouchRotateXYController

public class MultiTouchRotateXYController
extends ThreeDMultiTouchElement

The Class MultiTouchRotateXYController.


Field Summary
static com.jme.math.Vector3f AXIS_X
          The Constant AXIS_X.
static com.jme.math.Vector3f AXIS_Y
          The Constant AXIS_Y.
 
Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement
AXIS_Z, DIRECTION_UP
 
Constructor Summary
MultiTouchRotateXYController(com.jme.scene.Spatial pickingAndTargetSpatial, com.jme.scene.Spatial controlledSpatial)
          Instantiates a new multi touch rotate xy controller.
 
Method Summary
 void cursorChanged(ScreenCursor c, MultiTouchCursorEvent event)
          Cursor changed.
 void cursorClicked(ScreenCursor c, MultiTouchCursorEvent event)
          Cursor clicked.
 void cursorPressed(ScreenCursor c, MultiTouchCursorEvent event)
          Cursor pressed.
 void cursorReleased(ScreenCursor c, MultiTouchCursorEvent event)
          Cursor released.
 
Methods inherited from class synergynetframework.jme.cursorsystem.ThreeDMultiTouchElement
getPickDataForCursorID, getPickResultFromCursorIndex, registerScreenCursor
 
Methods inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement
addWorldCursorRecord, getCurrentScreenAngleDifferenceFromOrigin, getCurrentScreenCursorsAngle, getCurrentTargetSpatialRotationFromCursorChange, getName, getNumRegisteredCursors, getOriginScreenCursorsAngle, getPickingSpatial, getScaleAtOrigin, getScreenCursorByID, getScreenCursorByIndex, getScreenCursorOriginForCursorID, getTargetSpatial, getTranslationAtOrigin, getWorldLocations, isActive, isPickMeOnly, registerScreenCursor, setActive, setName, setPickMeOnly, unregisterScreenCursor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AXIS_X

public static final com.jme.math.Vector3f AXIS_X
The Constant AXIS_X.


AXIS_Y

public static final com.jme.math.Vector3f AXIS_Y
The Constant AXIS_Y.

Constructor Detail

MultiTouchRotateXYController

public MultiTouchRotateXYController(com.jme.scene.Spatial pickingAndTargetSpatial,
                                    com.jme.scene.Spatial controlledSpatial)
Instantiates a new multi touch rotate xy controller.

Parameters:
pickingAndTargetSpatial - the picking and target spatial
controlledSpatial - the controlled spatial
Method Detail

cursorChanged

public void cursorChanged(ScreenCursor c,
                          MultiTouchCursorEvent event)
Description copied from class: MultiTouchElement
Cursor changed.

Specified by:
cursorChanged in class MultiTouchElement
Parameters:
c - the c
event - the event

cursorClicked

public void cursorClicked(ScreenCursor c,
                          MultiTouchCursorEvent event)
Description copied from class: MultiTouchElement
Cursor clicked.

Specified by:
cursorClicked in class MultiTouchElement
Parameters:
c - the c
event - the event

cursorPressed

public void cursorPressed(ScreenCursor c,
                          MultiTouchCursorEvent event)
Description copied from class: MultiTouchElement
Cursor pressed.

Specified by:
cursorPressed in class MultiTouchElement
Parameters:
c - the c
event - the event

cursorReleased

public void cursorReleased(ScreenCursor c,
                           MultiTouchCursorEvent event)
Description copied from class: MultiTouchElement
Cursor released.

Specified by:
cursorReleased in class MultiTouchElement
Parameters:
c - the c
event - the event