Package de.fhpotsdam.unfolding.interactions

Examples of de.fhpotsdam.unfolding.interactions.TuioCursorHandler


    map.zoomAndPanTo(13, new Location(1.283f, 103.833f));
    map.setPanningRestriction(new Location(1.283f, 103.833f), 30);

    eventDispatcher = new EventDispatcher();

    tuioCursorHandler = new TuioCursorHandler(this, false, map);
    eventDispatcher.addBroadcaster(tuioCursorHandler);
    eventDispatcher.register(map, "pan");
    eventDispatcher.register(map, "zoom");

    tuioClient = tuioCursorHandler.getTuioClient();
View Full Code Here


    map.setTweening(false);
    map.zoomAndPanTo(13, new Location(54.5, 13.4));

    eventDispatcher = new EventDispatcher();

    tuioCursorHandler = new TuioCursorHandler(this, false, map);
    eventDispatcher.addBroadcaster(tuioCursorHandler);
     // Disable panning for single touch, to be able to handle it independently
    // eventDispatcher.register(map, "pan");
    eventDispatcher.register(map, "zoom");
View Full Code Here

    // Init the map
    map = new UnfoldingMap(this);

    EventDispatcher eventDispatcher = new EventDispatcher();
    // Create multitouch input handler, and register map to listen to pan and zoom events.
    tuioCursorHandler = new TuioCursorHandler(this, map);
    eventDispatcher.addBroadcaster(tuioCursorHandler);
    eventDispatcher.register(map, "pan");
    eventDispatcher.register(map, "zoom");
  }
View Full Code Here

TOP

Related Classes of de.fhpotsdam.unfolding.interactions.TuioCursorHandler

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.