public abstract class TrackedApp extends SynergyNetApp implements IMultiTouchEventListener
Modifier and Type | Field and Description |
---|---|
static float |
BODY_THRESHOLD_DISTANCE
The body threshold distance.
|
static float |
HAND_THRESHOLD_DISTANCE
The hand threshold distance.
|
static float |
TABLE_HEIGHT
The table height.
|
static float |
TABLE_LOCATION_X
The table orientation.
|
static float |
TABLE_LOCATION_Y
The table orientation.
|
static float |
TABLE_ORIENTATION
The table orientation.
|
localDevicePosition, MEDIA_SEARCH, networkFlickEnabled, NETWORKING, ONE_MEDIA_AT_A_TIME, sync
Constructor and Description |
---|
TrackedApp() |
Modifier and Type | Method and Description |
---|---|
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 |
gestureaAllModeEnabled()
Gesturea all mode enabled.
|
void |
gestureIndividualModeEnabled()
Gesture individual mode enabled.
|
void |
gestureModeDisabled()
Gesture mode disabled.
|
static float |
getRealValue(float value)
Gets the real value.
|
static void |
initialiseTrackingAppArgs(java.lang.String[] args)
Initialise tracking app args.
|
com.jme3.math.Vector2f |
localiseVector(com.jme3.math.Vector2f vec)
Localise vector.
|
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.
|
void |
onDestroy()
Actions to be performed when the SynergyNetApp window is closed.
|
void |
setUserLocations(java.util.ArrayList<CombinedUserEntity> remoteUserLocations)
Sets the user locations.
|
void |
shouldStart(MultiTouchInputComponent input,
IQueueOwner iqo)
Executed at the start of each application which extended the
SynergyNetApp.
|
void |
userPointing(PointDirection pointDirection)
User pointing.
|
bringAllStudentsToTop, createScreenShotItem, disableNetworkFlick, enableNetworkFlick, generateStudentMenu, getFeedbackTypes, getFriendlyAppName, getTableIdentity, login, loginAll, logout, logoutAll, logoutAllOfClass, modifyMenus, onContentFromProjectorArrival, onFind, onFlickArrival, reloadRemovableMediaCache, reloadServerCache, removeAdditionalMedia, removeVirtualTable, sendContentsToProjectors, sendScreenShotToProjectors, shouldStop, toggleFreeze, updateVirtualTable, utiliseScreenshot
public static float BODY_THRESHOLD_DISTANCE
public static float HAND_THRESHOLD_DISTANCE
public static float TABLE_HEIGHT
public static float TABLE_LOCATION_X
public static float TABLE_LOCATION_Y
public static float TABLE_ORIENTATION
public static float getRealValue(float value)
value
- the valuepublic static void initialiseTrackingAppArgs(java.lang.String[] args)
args
- the argspublic void cursorChanged(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorChanged
in interface IMultiTouchEventListener
public void cursorClicked(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorClicked
in interface IMultiTouchEventListener
public void cursorPressed(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorPressed
in interface IMultiTouchEventListener
public void cursorReleased(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorReleased
in interface IMultiTouchEventListener
public void gestureaAllModeEnabled()
public void gestureIndividualModeEnabled()
public void gestureModeDisabled()
public com.jme3.math.Vector2f localiseVector(com.jme3.math.Vector2f vec)
vec
- the vecpublic void objectAdded(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectAdded
in interface IMultiTouchEventListener
public void objectChanged(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectChanged
in interface IMultiTouchEventListener
public void objectRemoved(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectRemoved
in interface IMultiTouchEventListener
public void onDestroy()
SynergyNetApp
onDestroy
in interface IMultiplicityApp
onDestroy
in class SynergyNetApp
public void setUserLocations(java.util.ArrayList<CombinedUserEntity> remoteUserLocations)
remoteUserLocations
- the new user locationspublic void shouldStart(MultiTouchInputComponent input, IQueueOwner iqo)
SynergyNetApp
shouldStart
in interface IMultiplicityApp
shouldStart
in class SynergyNetApp
input
- The multi-touch input providing component.iqo
- Queue owner.public void userPointing(PointDirection pointDirection)
pointDirection
- the point direction