|
||||||||||
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.ThreeDMultiTouchElement
apps.threedmanipulation.gestures.ObjectRotateTranslate
public class ObjectRotateTranslate
The Class ObjectRotateTranslate.
Nested Class Summary | |
---|---|
static interface |
ObjectRotateTranslate.ObjectRotateTranslateScaleListener
The listener interface for receiving objectRotateTranslateScale events. |
Field Summary |
---|
Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement |
---|
AXIS_Z, DIRECTION_UP |
Constructor Summary | |
---|---|
ObjectRotateTranslate(com.jme.scene.Spatial pickingAndTargetSpatial)
Instantiates a new object rotate translate. |
|
ObjectRotateTranslate(com.jme.scene.Spatial pickSpatial,
com.jme.scene.Spatial targetSpatial)
Instantiates a new object rotate translate. |
|
ObjectRotateTranslate(com.jme.scene.Spatial pickSpatial,
com.jme.scene.Spatial targetSpatial,
com.jme.scene.Spatial remoteObject)
Instantiates a new object rotate translate. |
Method Summary | |
---|---|
void |
addRotateTranslateScaleListener(ObjectRotateTranslate.ObjectRotateTranslateScaleListener l)
Adds the rotate translate scale listener. |
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. |
float |
getScaleMax()
Gets the scale max. |
float |
getScaleMin()
Gets the scale min. |
void |
removeRotateTranslateScaleListener(ObjectRotateTranslate.ObjectRotateTranslateScaleListener l)
Removes the rotate translate scale listener. |
void |
setScaleLimits(float min,
float max)
Sets the scale limits. |
void |
setScaleMax(float scaleMax)
Sets the scale max. |
void |
setScaleMin(float scaleMin)
Sets the scale min. |
Methods inherited from class synergynetframework.jme.cursorsystem.ThreeDMultiTouchElement |
---|
getPickDataForCursorID, getPickResultFromCursorIndex, registerScreenCursor |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectRotateTranslate(com.jme.scene.Spatial pickingAndTargetSpatial)
pickingAndTargetSpatial
- the picking and target spatialpublic ObjectRotateTranslate(com.jme.scene.Spatial pickSpatial, com.jme.scene.Spatial targetSpatial)
pickSpatial
- the pick spatialtargetSpatial
- the target spatialpublic ObjectRotateTranslate(com.jme.scene.Spatial pickSpatial, com.jme.scene.Spatial targetSpatial, com.jme.scene.Spatial remoteObject)
pickSpatial
- the pick spatialtargetSpatial
- the target spatialremoteObject
- the remote objectMethod Detail |
---|
public void addRotateTranslateScaleListener(ObjectRotateTranslate.ObjectRotateTranslateScaleListener l)
l
- the lpublic void cursorChanged(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorChanged
in class MultiTouchElement
c
- the cevent
- the eventpublic void cursorClicked(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorClicked
in class MultiTouchElement
c
- the cevent
- the eventpublic void cursorPressed(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorPressed
in class MultiTouchElement
c
- the cevent
- the eventpublic void cursorReleased(ScreenCursor c, MultiTouchCursorEvent event)
MultiTouchElement
cursorReleased
in class MultiTouchElement
c
- the cevent
- the eventpublic float getScaleMax()
public float getScaleMin()
public void removeRotateTranslateScaleListener(ObjectRotateTranslate.ObjectRotateTranslateScaleListener l)
l
- the lpublic void setScaleLimits(float min, float max)
min
- the minmax
- the maxpublic void setScaleMax(float scaleMax)
scaleMax
- the new scale maxpublic void setScaleMin(float scaleMin)
scaleMin
- the new scale min
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |