|
||||||||||
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.ControlPanelMoveRotateScale
public class ControlPanelMoveRotateScale
The Class ControlPanelMoveRotateScale.
Nested Class Summary | |
---|---|
static interface |
ControlPanelMoveRotateScale.RotateTranslateScaleListener
The listener interface for receiving rotateTranslateScale events. |
Field Summary |
---|
Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement |
---|
AXIS_Z, DIRECTION_UP |
Constructor Summary | |
---|---|
ControlPanelMoveRotateScale(com.jme.scene.Spatial pickingAndTargetSpatial)
Instantiates a new control panel move rotate scale. |
|
ControlPanelMoveRotateScale(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial)
Instantiates a new control panel move rotate scale. |
|
ControlPanelMoveRotateScale(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial,
com.jme.scene.CameraNode camNode,
OjbectManipulation objectManipulationGesture,
java.util.List<com.jme.scene.Spatial> manipulatableOjbects)
Instantiates a new control panel move rotate scale. |
Method Summary | |
---|---|
void |
addRotateTranslateScaleListener(ControlPanelMoveRotateScale.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(ControlPanelMoveRotateScale.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 ControlPanelMoveRotateScale(com.jme.scene.Spatial pickingAndTargetSpatial)
pickingAndTargetSpatial
- the picking and target spatialpublic ControlPanelMoveRotateScale(com.jme.scene.Spatial pickingSpatial, com.jme.scene.Spatial targetSpatial)
pickingSpatial
- the picking spatialtargetSpatial
- the target spatialpublic ControlPanelMoveRotateScale(com.jme.scene.Spatial pickingSpatial, com.jme.scene.Spatial targetSpatial, com.jme.scene.CameraNode camNode, OjbectManipulation objectManipulationGesture, java.util.List<com.jme.scene.Spatial> manipulatableOjbects)
pickingSpatial
- the picking spatialtargetSpatial
- the target spatialcamNode
- the cam nodeobjectManipulationGesture
- the object manipulation gesturemanipulatableOjbects
- the manipulatable ojbectsMethod Detail |
---|
public void addRotateTranslateScaleListener(ControlPanelMoveRotateScale.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(ControlPanelMoveRotateScale.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 |