synergynetframework.jme.cursorsystem.elements.twod
Class IndependentChildOrthoCPRTS

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.IndependentChildOrthoCPRTS

public class IndependentChildOrthoCPRTS
extends OrthoControlPointRotateTranslateScale

The Class IndependentChildOrthoCPRTS.

Author:
dcs2ima

Nested Class Summary
 
Nested classes/interfaces inherited from class synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScale
OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener
 
Field Summary
 com.jme.scene.Spatial parentSpatial
          The parent spatial.
 
Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement
AXIS_Z, DIRECTION_UP
 
Constructor Summary
IndependentChildOrthoCPRTS(com.jme.scene.Spatial pickingAndTargetSpatial)
          Instantiates a new independent child ortho cprts.
IndependentChildOrthoCPRTS(com.jme.scene.Spatial pickingSpatial, com.jme.scene.Spatial targetSpatial)
          Instantiates a new independent child ortho cprts.
 
Method Summary
 void cursorClicked(ScreenCursor c, MultiTouchCursorEvent event)
          Cursor clicked.
 void cursorReleased(ScreenCursor c, MultiTouchCursorEvent event)
          Cursor released.
 
Methods inherited from class synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScale
addRotateTranslateScaleListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, cursorChanged, cursorPressed, 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
 

Field Detail

parentSpatial

public com.jme.scene.Spatial parentSpatial
The parent spatial.

Constructor Detail

IndependentChildOrthoCPRTS

public IndependentChildOrthoCPRTS(com.jme.scene.Spatial pickingAndTargetSpatial)
Instantiates a new independent child ortho cprts.

Parameters:
pickingAndTargetSpatial - the picking and target spatial

IndependentChildOrthoCPRTS

public IndependentChildOrthoCPRTS(com.jme.scene.Spatial pickingSpatial,
                                  com.jme.scene.Spatial targetSpatial)
Instantiates a new independent child ortho cprts.

Parameters:
pickingSpatial - the picking spatial
targetSpatial - the target spatial
Method Detail

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

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