|
||||||||||
| 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.OjbectManipulation
apps.threedmanipulation.gestures.OjbectManipulationforCCTV
public class OjbectManipulationforCCTV
The Class OjbectManipulationforCCTV.
| Nested Class Summary | |
|---|---|
static interface |
OjbectManipulationforCCTV.RotateTranslateScaleListener
The listener interface for receiving rotateTranslateScale events. |
| Field Summary | |
|---|---|
static java.lang.String |
MODE_CAMERAMANIPULATION
The mode cameramanipulation. |
static java.lang.String |
MODE_OBJECTMANIPULATION
The mode objectmanipulation. |
| Fields inherited from class synergynetframework.jme.cursorsystem.MultiTouchElement |
|---|
AXIS_Z, DIRECTION_UP |
| Constructor Summary | |
|---|---|
OjbectManipulationforCCTV(com.jme.scene.Spatial pickingAndTargetSpatial,
java.util.List<com.jme.scene.Spatial> manipulatableOjbects)
Instantiates a new ojbect manipulationfor cctv. |
|
OjbectManipulationforCCTV(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial)
Instantiates a new ojbect manipulationfor cctv. |
|
| Method Summary | |
|---|---|
void |
addRotateTranslateScaleListener(OjbectManipulationforCCTV.RotateTranslateScaleListener l)
|
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. |
com.jme.scene.CameraNode |
getCamNode()
Gets the cam node. |
com.jme.scene.Spatial |
getControlledSpatial()
Gets the controlled spatial. |
float |
getScreenAngle()
Gets the screen angle. |
void |
removeRotateTranslateScaleListener(OjbectManipulationforCCTV.RotateTranslateScaleListener l)
|
void |
setCamNode(com.jme.scene.CameraNode camNode)
Sets the cam node. |
void |
setControlledSpatial(com.jme.scene.Spatial controlledSpatial)
Sets the controlled spatial. |
void |
setMode(java.lang.String mode)
Sets the mode. |
void |
setRotateLimits(float min,
float max)
Sets the rotate limits. |
void |
setScaleLimits(float min,
float max)
Sets the scale limits. |
void |
setScreenAngle(float screenAngle)
Sets the screen angle. |
| Methods inherited from class apps.threedmanipulation.gestures.OjbectManipulation |
|---|
addRotateTranslateScaleListener, removeRotateTranslateScaleListener |
| 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 |
| Field Detail |
|---|
public static java.lang.String MODE_CAMERAMANIPULATION
public static java.lang.String MODE_OBJECTMANIPULATION
| Constructor Detail |
|---|
public OjbectManipulationforCCTV(com.jme.scene.Spatial pickingAndTargetSpatial,
java.util.List<com.jme.scene.Spatial> manipulatableOjbects)
pickingAndTargetSpatial - the picking and target spatialmanipulatableOjbects - the manipulatable ojbects
public OjbectManipulationforCCTV(com.jme.scene.Spatial pickingSpatial,
com.jme.scene.Spatial targetSpatial)
pickingSpatial - the picking spatialtargetSpatial - the target spatial| Method Detail |
|---|
public void addRotateTranslateScaleListener(OjbectManipulationforCCTV.RotateTranslateScaleListener l)
public void allowMoreThanTwoToRotateAndScale(boolean b)
OjbectManipulation
allowMoreThanTwoToRotateAndScale in class OjbectManipulationb - the b
public void cursorChanged(ScreenCursor c,
MultiTouchCursorEvent event)
MultiTouchElement
cursorChanged in class OjbectManipulationc - the cevent - the event
public void cursorClicked(ScreenCursor c,
MultiTouchCursorEvent event)
MultiTouchElement
cursorClicked in class OjbectManipulationc - the cevent - the event
public void cursorPressed(ScreenCursor c,
MultiTouchCursorEvent event)
MultiTouchElement
cursorPressed in class OjbectManipulationc - the cevent - the event
public void cursorReleased(ScreenCursor c,
MultiTouchCursorEvent event)
MultiTouchElement
cursorReleased in class OjbectManipulationc - the cevent - the eventpublic com.jme.scene.CameraNode getCamNode()
OjbectManipulation
getCamNode in class OjbectManipulationpublic com.jme.scene.Spatial getControlledSpatial()
OjbectManipulation
getControlledSpatial in class OjbectManipulationpublic float getScreenAngle()
OjbectManipulation
getScreenAngle in class OjbectManipulationpublic void removeRotateTranslateScaleListener(OjbectManipulationforCCTV.RotateTranslateScaleListener l)
public void setCamNode(com.jme.scene.CameraNode camNode)
OjbectManipulation
setCamNode in class OjbectManipulationcamNode - the new cam nodepublic void setControlledSpatial(com.jme.scene.Spatial controlledSpatial)
OjbectManipulation
setControlledSpatial in class OjbectManipulationcontrolledSpatial - the new controlled spatialpublic void setMode(java.lang.String mode)
OjbectManipulation
setMode in class OjbectManipulationmode - the new mode
public void setRotateLimits(float min,
float max)
OjbectManipulation
setRotateLimits in class OjbectManipulationmin - the minmax - the max
public void setScaleLimits(float min,
float max)
OjbectManipulation
setScaleLimits in class OjbectManipulationmin - the minmax - the maxpublic void setScreenAngle(float screenAngle)
OjbectManipulation
setScreenAngle in class OjbectManipulationscreenAngle - the new screen angle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||