Package de.dfki.km.text20.services.trackingdevices.eyes

Examples of de.dfki.km.text20.services.trackingdevices.eyes.EyeTrackingDeviceInfo


     * @see de.dfki.km.augmentedtext.services.gazeevaluator.impl.AbstractGazeHandler#init(de.dfki.km.augmentedtext.services.gazeevaluator.options.AddGazeEvaluationListenerOption[])
     */
    @Override
    public void init(AddGazeEvaluationListenerOption... options) {

        this.gazeEvaluator.addEvaluationListener(new FixationListener() {

            @Override
            public void newEvaluationEvent(final FixationEvent event) {
                newGazeEvent(event);
            }
View Full Code Here


     * @see de.dfki.km.augmentedtext.sandbox.services.gazeevaluator.impl.AbstractGazeHandler#init()
     */

    @Override
    public void init(AddGazeEvaluationListenerOption... options) {
        this.gazeEvaluator.addEvaluationListener(new FixationListener() {

            @Override
            public void newEvaluationEvent(final FixationEvent event) {
                if (event.getType().equals(FixationEventType.FIXATION_START)) {
                    nextFixation(event.getGenerationTime(), event.getFixation());
View Full Code Here

     * Dispatches the new event to the listener.
     *
     * @param type
     */
    private void dispatch(final FixationLineEventType type) {
        final FixationLine line = this.currentFixationLine;

        final long time = FixationLineHandler4.this.currentTime;

        callListener(new FixationLineEvent() {

View Full Code Here

        // if (this.pseudorenderer != null) {
        //    if (!this.pseudorenderer.getStatus().contains(PseudorendererStatus.VISIBLE))
        //        return;
        // }

        final FixationLine fl = event.getFixationLine();
        final FixationLineUtil flu = new FixationLineUtil(fl);

        //
        // If the fixation line was started, pick an appropriate line of text
        //
View Full Code Here

    private void dispatch(final FixationLineEventType type) {
        final FixationLine line = this.currentFixationLine;

        final long time = FixationLineHandler4.this.currentTime;

        callListener(new FixationLineEvent() {

            @Override
            public FixationLineEventType getEventType() {
                return type;
            }
View Full Code Here

    @Override
    public void init(AddGazeEvaluationListenerOption... options) {

        this.pseudorenderer = this.attachedListener.getPseudorenderer();

        this.gazeEvaluator.addEvaluationListener(new FixationLineListener() {

            @Override
            public void newEvaluationEvent(final FixationLineEvent event) {
                PerusalHandlerImpl3.this.currentTime = event.getGenerationTime();
                newFixationLineEvent(event);
View Full Code Here

                          final Collection<RenderElement> elementsForDocumentArea) {

        // 'Exports'
        final long time = this.currentTime;

        callListener(new PerusalEvent() {

            /** */
            @SuppressWarnings("unused")
            public List<Fixation> getCorrectedFixations() {
                return fl.getFixations();
View Full Code Here

     */

    @Override
    public void newTrackingEvent(final EyeTrackingEvent event) {

        callListener(new RawDataEvent() {
            @Override
            public long getGenerationTime() {
                return event.getEventTime();
            }

View Full Code Here

        if (event.getType() == FixationEventType.FIXATION_START && this.lastFixation != null) {

            final Fixation finalLastFixation = this.lastFixation;
            final Fixation currentFixation = event.getFixation();

            final Saccade saccade = new Saccade() {

                @Override
                public Fixation getStart() {
                    return finalLastFixation;
                }
View Full Code Here

                return l;
            }

            @Override
            public Saccade getSaccade() {
                return new Saccade() {

                    @Override
                    public Fixation getEnd() {
                        return current;
                    }
View Full Code Here

TOP

Related Classes of de.dfki.km.text20.services.trackingdevices.eyes.EyeTrackingDeviceInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.