Tobii Pro SDK Unity API
Tobii.Research.GazeOrigin Class Reference

Provides properties for the gaze origin. More...

Inheritance diagram for Tobii.Research.GazeOrigin:

Public Member Functions

 GazeOrigin (Point3D positionInUserCoordinates, NormalizedPoint3D positionInTrackBoxCoordinates, Validity validity)
 Initializes a new instance of the GazeOrigin class given data for all members. More...
 
bool Equals (GazeOrigin other)
 Checks if this object is equal to another GazeOrigin . More...
 
override bool Equals (object obj)
 Checks if this point is equal to another GazeOrigin . More...
 
override int GetHashCode ()
 Returns a hash code for this object. This is used internally in collections. More...
 

Static Public Member Functions

static bool operator== (GazeOrigin obj1, GazeOrigin obj2)
 Checks if two GazeOrigin objects are equal. More...
 
static bool operator!= (GazeOrigin obj1, GazeOrigin obj2)
 Checks if two GazeOrigin objects are not equal. More...
 

Properties

Point3D PositionInUserCoordinates [get]
 Gets the gaze origin position in 3D in the user coordinate system. More...
 
NormalizedPoint3D PositionInTrackBoxCoordinates [get]
 Gets normalized gaze origin in track box coordinate system. More...
 
Validity Validity [get]
 Gets the validity of the gaze origin data. More...
 

Detailed Description

Provides properties for the gaze origin.

Constructor & Destructor Documentation

Tobii.Research.GazeOrigin.GazeOrigin ( Point3D  positionInUserCoordinates,
NormalizedPoint3D  positionInTrackBoxCoordinates,
Validity  validity 
)
inline

Initializes a new instance of the GazeOrigin class given data for all members.

Parameters
positionInUserCoordinatesThe gaze origin position in 3D in the user coordinate system.
positionInTrackBoxCoordinatesThe normalized gaze origin in track box coordinate system.
validityThe validity of the gaze origin data.

Member Function Documentation

bool Tobii.Research.GazeOrigin.Equals ( GazeOrigin  other)
inline

Checks if this object is equal to another GazeOrigin .

Parameters
otherOther object to check.
Returns
True if other equals this.
override bool Tobii.Research.GazeOrigin.Equals ( object  obj)
inline

Checks if this point is equal to another GazeOrigin .

Parameters
objOther object to check.
Returns
True if obj equals this.
override int Tobii.Research.GazeOrigin.GetHashCode ( )
inline

Returns a hash code for this object. This is used internally in collections.

Returns
A hash code.
static bool Tobii.Research.GazeOrigin.operator!= ( GazeOrigin  obj1,
GazeOrigin  obj2 
)
inlinestatic

Checks if two GazeOrigin objects are not equal.

Parameters
obj1First object.
obj2Second object.
Returns
True if the objects are not equal.
static bool Tobii.Research.GazeOrigin.operator== ( GazeOrigin  obj1,
GazeOrigin  obj2 
)
inlinestatic

Checks if two GazeOrigin objects are equal.

Parameters
obj1First object.
obj2Second object.
Returns
True if the objects are equal.

Property Documentation

NormalizedPoint3D Tobii.Research.GazeOrigin.PositionInTrackBoxCoordinates
get

Gets normalized gaze origin in track box coordinate system.

Point3D Tobii.Research.GazeOrigin.PositionInUserCoordinates
get

Gets the gaze origin position in 3D in the user coordinate system.

Validity Tobii.Research.GazeOrigin.Validity
get

Gets the validity of the gaze origin data.