|
||||||||||
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.MonitorCameraRotateTranslateZoom
public class MonitorCameraRotateTranslateZoom
The Class MonitorCameraRotateTranslateZoom.
Field Summary | |
---|---|
static java.lang.String |
MODE_CAMERAMANIPULABLE
The mode cameramanipulable. |
static java.lang.String |
MODE_REMOTECONTROL
The mode remotecontrol. |
static java.lang.String |
MODE_VIEWROTATABLE
The mode viewrotatable. |
Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement |
---|
AXIS_Z, DIRECTION_UP |
Constructor Summary | |
---|---|
MonitorCameraRotateTranslateZoom(com.jme.scene.Spatial pickingAndTargetSpatial)
Instantiates a new monitor camera rotate translate zoom. |
|
MonitorCameraRotateTranslateZoom(com.jme.scene.Spatial pickSpatial,
com.jme.scene.Spatial targetSpatial)
Instantiates a new monitor camera rotate translate zoom. |
|
MonitorCameraRotateTranslateZoom(com.jme.scene.Spatial pickSpatial,
com.jme.scene.Spatial targetSpatial,
OjbectManipulation telescopeManipulateOjbect,
java.util.List<com.jme.scene.Spatial> manipulatableOjbects)
Instantiates a new monitor camera rotate translate zoom. |
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. |
float |
getScaleMax()
Gets the scale max. |
float |
getScaleMin()
Gets the scale min. |
void |
setMode(java.lang.String mode)
Sets the mode. |
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 |
Field Detail |
---|
public static java.lang.String MODE_CAMERAMANIPULABLE
public static java.lang.String MODE_REMOTECONTROL
public static java.lang.String MODE_VIEWROTATABLE
Constructor Detail |
---|
public MonitorCameraRotateTranslateZoom(com.jme.scene.Spatial pickingAndTargetSpatial)
pickingAndTargetSpatial
- the picking and target spatialpublic MonitorCameraRotateTranslateZoom(com.jme.scene.Spatial pickSpatial, com.jme.scene.Spatial targetSpatial)
pickSpatial
- the pick spatialtargetSpatial
- the target spatialpublic MonitorCameraRotateTranslateZoom(com.jme.scene.Spatial pickSpatial, com.jme.scene.Spatial targetSpatial, OjbectManipulation telescopeManipulateOjbect, java.util.List<com.jme.scene.Spatial> manipulatableOjbects)
pickSpatial
- the pick spatialtargetSpatial
- the target spatialtelescopeManipulateOjbect
- the telescope manipulate ojbectmanipulatableOjbects
- the manipulatable ojbectsMethod Detail |
---|
public 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 setMode(java.lang.String mode)
mode
- the new modepublic 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 |