public class GazeEntryFixation extends GazeEntryBase implements ICoordinates
IGDEntry
,
IGDTrackableEntry
,
JGDBlink
,
JGDSingleSample
Modifier and Type | Field and Description |
---|---|
(package private) java.awt.Point |
mCoords
Coordinates of the gaze.
|
(package private) int |
mDuration
Duration of fixation
|
(package private) EEye |
mEye
Eye which generated fixation event
|
static int |
MSG_SIZE |
mOrdinal, mTimestamp
Constructor and Description |
---|
GazeEntryFixation(int ordinal,
int time,
int duration,
int eye,
java.awt.Point coords)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.awt.Point |
Coords()
Get coordinates of the gaze data entry
|
int |
MessageLength()
Get length of byte representation of the gaze data entry
|
byte[] |
MessageStruct()
Convert gaze data entry into a byte sequence that can be transfered to
the server
|
java.lang.String |
ToLogString()
Log file string representation
|
EEntryType |
Type()
Get type of the entry
|
Equals
public static final int MSG_SIZE
int mDuration
EEye mEye
java.awt.Point mCoords
public GazeEntryFixation(int ordinal, int time, int duration, int eye, java.awt.Point coords)
ordinal
- Ordinal number of blinktime
- Time stamp of blinkduration
- Duration of blinkeye
- Eye, generated blink eventcoords
- Coordinates of the gazepublic java.awt.Point Coords()
ICoordinates
Coords
in interface ICoordinates
public int MessageLength()
GazeEntryBase
MessageLength
in class GazeEntryBase
public byte[] MessageStruct()
GazeEntryBase
MessageStruct
in class GazeEntryBase
public EEntryType Type()
GazeEntryBase
Type
in class GazeEntryBase
EGDEntryType
value. Representation type of
the entrypublic java.lang.String ToLogString()
GazeEntryBase
ToLogString
in class GazeEntryBase