synergynetframework.jme.gfx
Class TableOverlayNode

java.lang.Object
  extended by com.jme.scene.Spatial
      extended by com.jme.scene.Node
          extended by synergynetframework.jme.gfx.TableOverlayNode
All Implemented Interfaces:
com.jme.util.export.Savable, java.io.Serializable, IMultiTouchEventListener

public class TableOverlayNode
extends com.jme.scene.Node
implements IMultiTouchEventListener

The Class TableOverlayNode.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jme.scene.Spatial
com.jme.scene.Spatial.CullHint, com.jme.scene.Spatial.LightCombineMode, com.jme.scene.Spatial.NormalsMode, com.jme.scene.Spatial.TextureCombineMode
 
Field Summary
 
Fields inherited from class com.jme.scene.Spatial
LOCKED_BOUNDS, LOCKED_BRANCH, LOCKED_MESH_DATA, LOCKED_NONE, LOCKED_SHADOWS, LOCKED_TRANSFORMS, queueDistance
 
Constructor Summary
TableOverlayNode(float zdepth)
          Instantiates a new table overlay node.
 
Method Summary
 void cursorChanged(MultiTouchCursorEvent event)
          Cursor is on the table, and moves, or rotates, or changes in some way.
 void cursorClicked(MultiTouchCursorEvent event)
          Cursor clicked.
 void cursorPressed(MultiTouchCursorEvent event)
          Cursor press arriving on the table.
 void cursorReleased(MultiTouchCursorEvent event)
          Cursor left the table.
 void objectAdded(MultiTouchObjectEvent event)
          Object/fiducial is added to the table.
 void objectChanged(MultiTouchObjectEvent event)
          Object/fiducial is changed - position or rotation.
 void objectRemoved(MultiTouchObjectEvent event)
          Object/fiducial is removed from the table.
 
Methods inherited from class com.jme.scene.Node
attachChild, attachChildAt, childChange, detachAllChildren, detachChild, detachChildAt, detachChildNamed, draw, findCollisions, findPick, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, hasCollision, lockBounds, lockMeshes, lockShadows, lockTransforms, read, setModelBound, sortLights, swapChildren, unlockBounds, unlockMeshes, unlockShadows, unlockTransforms, updateModelBound, updateWorldBound, updateWorldData, updateWorldVectors, write
 
Methods inherited from class com.jme.scene.Spatial
addController, calculateCollisions, calculatePick, clearControllers, clearRenderState, clearRenderState, getClassTag, getController, getControllerCount, getControllers, getCullHint, getLastFrustumIntersection, getLightCombineMode, getLocalCullHint, getLocalLightCombineMode, getLocalNormalsMode, getLocalRenderQueueMode, getLocalRotation, getLocalScale, getLocalTextureCombineMode, getLocalToWorldMatrix, getLocalTranslation, getLocks, getName, getNormalsMode, getParent, getRenderQueueMode, getRenderState, getRenderState, getTextureCombineMode, getUserData, getWorldBound, getWorldRotation, getWorldScale, getWorldTranslation, getZOrder, hasAncestor, isCollidable, localToWorld, lock, lock, lockBranch, lockMeshes, lookAt, onDraw, propagateBoundToRoot, propagateStatesFromRoot, removeController, removeController, removeFromParent, removeUserData, rotateUpTo, setCullHint, setIsCollidable, setLastFrustumIntersection, setLightCombineMode, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalTranslation, setLocalTranslation, setLocks, setLocks, setName, setNormalsMode, setRenderQueueMode, setRenderState, setTextureCombineMode, setUserData, setZOrder, setZOrder, toString, unlock, unlock, unlockBranch, unlockMeshes, updateGeometricState, updateRenderState, updateWorldVectors, worldToLocal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jme.util.export.Savable
getClassTag
 

Constructor Detail

TableOverlayNode

public TableOverlayNode(float zdepth)
Instantiates a new table overlay node.

Parameters:
zdepth - the zdepth
Method Detail

cursorChanged

public void cursorChanged(MultiTouchCursorEvent event)
Description copied from interface: IMultiTouchEventListener
Cursor is on the table, and moves, or rotates, or changes in some way.

Specified by:
cursorChanged in interface IMultiTouchEventListener
Parameters:
event - the event

cursorClicked

public void cursorClicked(MultiTouchCursorEvent event)
Description copied from interface: IMultiTouchEventListener
Cursor clicked. The sensitivity of the clicking detection is the responsibility of the appropriate IMultiTouchInputService. Event order is cursorPressed, cursorReleased, cursorClicked.

Specified by:
cursorClicked in interface IMultiTouchEventListener
Parameters:
event - the event

cursorPressed

public void cursorPressed(MultiTouchCursorEvent event)
Description copied from interface: IMultiTouchEventListener
Cursor press arriving on the table.

Specified by:
cursorPressed in interface IMultiTouchEventListener
Parameters:
event - the event

cursorReleased

public void cursorReleased(MultiTouchCursorEvent event)
Description copied from interface: IMultiTouchEventListener
Cursor left the table.

Specified by:
cursorReleased in interface IMultiTouchEventListener
Parameters:
event - the event

objectAdded

public void objectAdded(MultiTouchObjectEvent event)
Description copied from interface: IMultiTouchEventListener
Object/fiducial is added to the table.

Specified by:
objectAdded in interface IMultiTouchEventListener
Parameters:
event - the event

objectChanged

public void objectChanged(MultiTouchObjectEvent event)
Description copied from interface: IMultiTouchEventListener
Object/fiducial is changed - position or rotation.

Specified by:
objectChanged in interface IMultiTouchEventListener
Parameters:
event - the event

objectRemoved

public void objectRemoved(MultiTouchObjectEvent event)
Description copied from interface: IMultiTouchEventListener
Object/fiducial is removed from the table.

Specified by:
objectRemoved in interface IMultiTouchEventListener
Parameters:
event - the event