|
||||||||||
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
apps.threedmanipulation.gestures.TelescopeFrameMoveZoom
public class TelescopeFrameMoveZoom
The Class TelescopeFrameMoveZoom.
Nested Class Summary | |
---|---|
static interface |
TelescopeFrameMoveZoom.RotateTranslateScaleListener
The listener interface for receiving rotateTranslateScale events. |
Field Summary |
---|
Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement |
---|
AXIS_Z, DIRECTION_UP |
Constructor Summary | |
---|---|
TelescopeFrameMoveZoom(com.jme.scene.Spatial pickingAndTargetSpatial)
Instantiates a new telescope frame move zoom. |
|
TelescopeFrameMoveZoom(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial)
Instantiates a new telescope frame move zoom. |
|
TelescopeFrameMoveZoom(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial,
com.jme.scene.CameraNode camNode,
OjbectManipulation telescopeManipulateOjbect,
java.util.List<com.jme.scene.Spatial> manipulatableOjbects)
Instantiates a new telescope frame move zoom. |
Method Summary | |
---|---|
void |
addRotateTranslateScaleListener(TelescopeFrameMoveZoom.RotateTranslateScaleListener l)
Adds the rotate translate scale listener. |
void |
addToolListener(ToolListener l)
Adds the tool listener. |
void |
allowMoreThanTwoToRotateAndScale(boolean b)
Allow more than two to rotate and scale. |
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. |
void |
removeRotateTranslateScaleListener(TelescopeFrameMoveZoom.RotateTranslateScaleListener l)
Removes the rotate translate scale listener. |
void |
removeToolListener(ToolListener l)
Removes the tool listener. |
void |
setRotateLimits(float min,
float max)
Sets the rotate limits. |
void |
setScaleLimits(float min,
float max)
Sets the scale limits. |
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 TelescopeFrameMoveZoom(com.jme.scene.Spatial pickingAndTargetSpatial)
pickingAndTargetSpatial
- the picking and target spatialpublic TelescopeFrameMoveZoom(com.jme.scene.Spatial pickingSpatial, com.jme.scene.Spatial targetSpatial)
pickingSpatial
- the picking spatialtargetSpatial
- the target spatialpublic TelescopeFrameMoveZoom(com.jme.scene.Spatial pickingSpatial, com.jme.scene.Spatial targetSpatial, com.jme.scene.CameraNode camNode, OjbectManipulation telescopeManipulateOjbect, java.util.List<com.jme.scene.Spatial> manipulatableOjbects)
pickingSpatial
- the picking spatialtargetSpatial
- the target spatialcamNode
- the cam nodetelescopeManipulateOjbect
- the telescope manipulate ojbectmanipulatableOjbects
- the manipulatable ojbectsMethod Detail |
---|
public void addRotateTranslateScaleListener(TelescopeFrameMoveZoom.RotateTranslateScaleListener l)
l
- the lpublic void addToolListener(ToolListener l)
l
- the lpublic void allowMoreThanTwoToRotateAndScale(boolean b)
b
- the bpublic 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 void removeRotateTranslateScaleListener(TelescopeFrameMoveZoom.RotateTranslateScaleListener l)
l
- the lpublic void removeToolListener(ToolListener l)
l
- the lpublic void setRotateLimits(float min, float max)
min
- the minmax
- the maxpublic void setScaleLimits(float min, float max)
min
- the minmax
- the max
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |