public class TrackerNetworking
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean[] |
teacherStatuses
The teacher statuses.
|
static int[] |
uniqueIDs
The unique i ds.
|
static UserLocations |
userLocations
The user locations.
|
Constructor and Description |
---|
TrackerNetworking() |
Modifier and Type | Method and Description |
---|---|
static void |
broadcastClearUserLocations()
Broadcast clear user locations.
|
static void |
broadcastUserLocations()
Broadcast user locations.
|
static void |
cancelPosesAndClearGestureSequences()
Cancel poses and clear gesture sequences.
|
static void |
disableTableSelectedMode()
Disable table selected mode.
|
static void |
enableAllTablesSelectedMode()
Enable all tables selected mode.
|
static void |
gestureControlBroadcast(int userID)
Gesture control broadcast.
|
static void |
gestureControlReceive(java.lang.Integer newValue)
Gesture control receive.
|
static java.lang.String |
getIdentity()
Gets the identity.
|
static UserLocation |
getUserLocation(int userID)
Gets the user location.
|
static void |
removeUserLocation(int userID)
Removes the user location.
|
static void |
sendTeacherStatusUpdateMessage(int userID,
boolean isTeacher)
Send teacher status update message.
|
static void |
setBothUserHandLocations(int userID,
float xOne,
float yOne,
float zOne,
float xTwo,
float yTwo,
float zTwo)
Sets the both user hand locations.
|
static void |
setSingleUserHandLocation(int userID,
float x,
float y,
float z)
Sets the single user hand location.
|
static void |
setUserBodyLocation(int userID,
float x,
float z)
Sets the user body location.
|
static void |
setUserLocation(UserLocation userLocIn)
Sets the user location.
|
static void |
switchToIndividualTableSelectMode()
Switch to individual table select mode.
|
public static boolean[] teacherStatuses
public static int[] uniqueIDs
public static UserLocations userLocations
public static void broadcastClearUserLocations()
public static void broadcastUserLocations()
public static void cancelPosesAndClearGestureSequences()
public static void disableTableSelectedMode()
public static void enableAllTablesSelectedMode()
public static void gestureControlBroadcast(int userID)
userID
- the user idpublic static void gestureControlReceive(java.lang.Integer newValue)
newValue
- the new valuepublic static java.lang.String getIdentity()
public static UserLocation getUserLocation(int userID)
userID
- the user idpublic static void removeUserLocation(int userID)
userID
- the user idpublic static void sendTeacherStatusUpdateMessage(int userID, boolean isTeacher)
userID
- the user idisTeacher
- the is teacherpublic static void setBothUserHandLocations(int userID, float xOne, float yOne, float zOne, float xTwo, float yTwo, float zTwo)
userID
- the user idxOne
- the x oneyOne
- the y onezOne
- the z onexTwo
- the x twoyTwo
- the y twozTwo
- the z twopublic static void setSingleUserHandLocation(int userID, float x, float y, float z)
userID
- the user idx
- the xy
- the yz
- the zpublic static void setUserBodyLocation(int userID, float x, float z)
userID
- the user idx
- the xz
- the zpublic static void setUserLocation(UserLocation userLocIn)
userLocIn
- the new user locationpublic static void switchToIndividualTableSelectMode()