Examples of PickingCallback


Examples of com.sun.j3d.utils.picking.behaviors.PickingCallback

    behavior3.setSchedulingBounds(bounds);
   
    PickTranslateBehavior ptb = new PickTranslateBehavior(objRoot,canvas,bounds,PickTool.GEOMETRY);
    ptb.setSchedulingBounds(bounds);
//    objTrans.addChild(ptb);
    ptb.setupCallback(new PickingCallback() {

      public void transformChanged(int type, TransformGroup tg) {
        if(tg == null) return;
        Transform3D t3d = new Transform3D();
        tg.getTransform(t3d);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.