synergynetframework.jme.cursorsystem.elements.threed
Class MultiTouchMoveableXYPlaneWithPhysics

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

public class MultiTouchMoveableXYPlaneWithPhysics
extends ThreeDMultiTouchElement

The Class MultiTouchMoveableXYPlaneWithPhysics.


Field Summary
 
Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement
AXIS_Z, DIRECTION_UP
 
Constructor Summary
MultiTouchMoveableXYPlaneWithPhysics(com.jme.scene.Spatial s, com.jmex.physics.PhysicsNode physicsNode)
          Instantiates a new multi touch moveable xy plane with physics.
MultiTouchMoveableXYPlaneWithPhysics(com.jme.scene.Spatial pickSpatial, com.jme.scene.Spatial targetSpatial, com.jmex.physics.PhysicsNode physicsNode)
          Instantiates a new multi touch moveable xy plane with physics.
 
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
 

Constructor Detail

MultiTouchMoveableXYPlaneWithPhysics

public MultiTouchMoveableXYPlaneWithPhysics(com.jme.scene.Spatial s,
                                            com.jmex.physics.PhysicsNode physicsNode)
Instantiates a new multi touch moveable xy plane with physics.

Parameters:
s - the s
physicsNode - the physics node

MultiTouchMoveableXYPlaneWithPhysics

public MultiTouchMoveableXYPlaneWithPhysics(com.jme.scene.Spatial pickSpatial,
                                            com.jme.scene.Spatial targetSpatial,
                                            com.jmex.physics.PhysicsNode physicsNode)
Instantiates a new multi touch moveable xy plane with physics.

Parameters:
pickSpatial - the pick spatial
targetSpatial - the target spatial
physicsNode - the physics node
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