src/dk/itu/pitlab/libeyetracking/data/Frame.java
public static Frame fromGazeData(GazeData data) {
        if (data == null)
            return zero;
        return new Frame(data);
    }
/**
     * Construct a Frame instance from a TET GazeData
     * instance. <code>data</code> contains much information which we
     * do not really require on a day-to-day basis. Moreover, it is
     * mutable, but for making things safe, we want an immutable type
     * instead. This static method also computes the convenience data,
     * like IDP, roll and so on.
     *
     * @param data The original, mutable frame.
     * @return An immutable frame.
     */
Construct a Frame instance from a TET GazeData
instance. data contains much information which we
do not really require on a day-to-day basis. Moreover, it is
mutable, but for making things safe, we want an immutable type
instead. This static method also computes the convenience data,
like IDP, roll and so on.

@param data The original, mutable frame.
@return An immutable frame.
Construct a Frame instance from a TET GazeData instance . data contains much information which we do not really require on a day - to - day basis . Moreover it is mutable but for making things safe we want an immutable type instead . This static method also computes the convenience data like IDP roll and so on . @param data The original mutable frame . @return An immutable frame .
public static Frame fromGazeData(GazeData data) {
        if (data == null)
            return zero;
        return new Frame(data);
    }
public static Frame fromGazeData ( GazeData data ) { if ( data == null ) return zero ; return new Frame ( data ) ; }
Construct a Frame instance from a TET GazeData
 instance.
Construct a Frame instance from a TET GazeData instance .