|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.jme.cursorsystem.MultiTouchElement
synergynetframework.jme.cursorsystem.TwoDMultiTouchElement
synergynetframework.jme.cursorsystem.elements.twod.OrthoControlPointRotateTranslateScale
synergynetframework.jme.cursorsystem.elements.twod.SingleTouchRotateTranslate
public class SingleTouchRotateTranslate
Assumes Single Cursor only.
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 | |
---|---|
SingleTouchRotateTranslate(com.jme.scene.TriMesh pickingAndTargetSpatial)
Instantiates a new single touch rotate translate. |
|
SingleTouchRotateTranslate(com.jme.scene.TriMesh pickingSpatial,
com.jme.scene.Spatial targetSpatial)
Instantiates a new single touch rotate translate. |
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 |
isCloseToVertex(com.jme.math.Vector3f point)
Checks if is close to vertex. |
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 java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleTouchRotateTranslate(com.jme.scene.TriMesh pickingAndTargetSpatial)
pickingAndTargetSpatial
- the picking and target spatialpublic SingleTouchRotateTranslate(com.jme.scene.TriMesh pickingSpatial, com.jme.scene.Spatial targetSpatial)
pickingSpatial
- the picking spatialtargetSpatial
- the target spatialMethod Detail |
---|
public void cursorChanged(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorChanged
in class OrthoControlPointRotateTranslateScale
c
- the cevent
- the eventpublic void cursorClicked(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorClicked
in class OrthoControlPointRotateTranslateScale
c
- the cevent
- the eventpublic void cursorPressed(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorPressed
in class OrthoControlPointRotateTranslateScale
c
- the cevent
- the eventpublic void cursorReleased(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorReleased
in class OrthoControlPointRotateTranslateScale
c
- the cevent
- the eventpublic boolean isCloseToVertex(com.jme.math.Vector3f point)
point
- the point
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |