synergynetframework.jme.cursorsystem.elements.twod
Class OrthoControlPointRotateTranslateScaleFix

java.lang.Object
  extended by synergynetframework.jme.cursorsystem.MultiTouchElement
      extended by synergynetframework.jme.cursorsystem.TwoDMultiTouchElement
          extended by synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScale
              extended by synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScaleFix

public class OrthoControlPointRotateTranslateScaleFix
extends OrthoControlPointRotateTranslateScale

The Class OrthoControlPointRotateTranslateScaleFix.

Author:
dcs0ah1, dcs2ima

Nested Class Summary
 
Nested classes/interfaces inherited from class synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScale
OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener
 
Field Summary
 
Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement
AXIS_Z, DIRECTION_UP
 
Constructor Summary
OrthoControlPointRotateTranslateScaleFix(com.jme.scene.Spatial pickingAndTargetSpatial, FixGesture fixGesture)
          Instantiates a new ortho control point rotate translate scale fix.
 
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.
 boolean isFixed()
          Checks if is fixed.
 void setFixed(boolean fixed)
          Sets the fixed.
 
Methods inherited from class synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScale
addRotateTranslateScaleListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, getScaleMax, getScaleMin, removeRotateTranslateScaleListener, setRotateLimits, setScaleLimits
 
Methods inherited from class synergynetframework.jme.cursorsystem.TwoDMultiTouchElement
getCursorScreenPositionAtPick, getPickDataForCursorID, getPickResultFromCursorIndex, getSpatial2DWorldPositionAtPick, 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

OrthoControlPointRotateTranslateScaleFix

public OrthoControlPointRotateTranslateScaleFix(com.jme.scene.Spatial pickingAndTargetSpatial,
                                                FixGesture fixGesture)
Instantiates a new ortho control point rotate translate scale fix.

Parameters:
pickingAndTargetSpatial - the picking and target spatial
fixGesture - the fix gesture
Method Detail

cursorChanged

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

Overrides:
cursorChanged in class OrthoControlPointRotateTranslateScale
Parameters:
c - the c
event - the event

cursorClicked

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

Overrides:
cursorClicked in class OrthoControlPointRotateTranslateScale
Parameters:
c - the c
event - the event

cursorPressed

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

Overrides:
cursorPressed in class OrthoControlPointRotateTranslateScale
Parameters:
c - the c
event - the event

cursorReleased

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

Overrides:
cursorReleased in class OrthoControlPointRotateTranslateScale
Parameters:
c - the c
event - the event

isFixed

public boolean isFixed()
Checks if is fixed.

Returns:
true, if is fixed

setFixed

public void setFixed(boolean fixed)
Sets the fixed.

Parameters:
fixed - the new fixed