Package org.mt4j.input.gestureAction

Examples of org.mt4j.input.gestureAction.DefaultLassoAction


    this.registerGlobalInputProcessor(new CursorTracer(mtAppl, this));
   
    //Add multitouch gestures to the canvas background
    lassoProcessor  = new LassoProcessor(app, this.getCanvas(), this.getSceneCam());
    this.getCanvas().registerInputProcessor(lassoProcessor);
    this.getCanvas().addGestureListener(LassoProcessor.class, new DefaultLassoAction(app, this.getCanvas().getClusterManager(), this.getCanvas()));
   
    this.getCanvas().registerInputProcessor(new PanProcessorTwoFingers(app));
    this.getCanvas().addGestureListener(PanProcessorTwoFingers.class, new DefaultPanAction());

    this.getCanvas().registerInputProcessor(new ZoomProcessor(app));
View Full Code Here


    LassoProcessor lassoProcessor = new LassoProcessor(app, getCanvas(), getSceneCam());
    lassoProcessor.addClusterable(lassoUs1);
    lassoProcessor.addClusterable(lassoUs2);
    lassoProcessor.addClusterable(lassoUs3);
    getCanvas().registerInputProcessor(lassoProcessor);
    getCanvas().addGestureListener(LassoProcessor.class, new DefaultLassoAction(app, getCanvas().getClusterManager(), getCanvas()));
   
  }
View Full Code Here

TOP

Related Classes of org.mt4j.input.gestureAction.DefaultLassoAction

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.