Changeset 2202


Ignore:
Timestamp:
02/01/07 16:01:56 (13 years ago)
Author:
curtis
Message:

Remove debugging statements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/util/DisplayUtil.java

    r2201 r2202  
    394394        (cursor[i] - scale[i][1]) / scale[i][0]; 
    395395    } 
    396     System.out.println("cursorToDomain cursor=" + cursor[0] + "," + cursor[1] + "; domain=" + domain[0] + "," + domain[1]);//TEMP 
    397396    return domain; 
    398397  } 
     
    409408        scale[i][0] * domain[i] + scale[i][1]; 
    410409    } 
    411     System.out.println("domainToCursor cursor=" + cursor[0] + "," + cursor[1] + "; domain=" + domain[0] + "," + domain[1]);//TEMP 
    412410    return cursor; 
    413411  } 
     
    428426    MouseBehavior mb = d.getDisplayRenderer().getMouseBehavior(); 
    429427    VisADRay ray = mb.findRay(x, y); 
    430     System.out.println("pixelToCursor: cursor=" + ray.position[0] + "," + ray.position[1] + "; pixel=" + x + "," + y);//TEMP 
    431428    return ray.position; 
    432429  } 
     
    436433    if (d == null) return null; 
    437434    MouseBehavior mb = d.getDisplayRenderer().getMouseBehavior(); 
    438     int[] pixel = mb.getScreenCoords(cursor); 
    439     System.out.println("cursorToPixel: cursor=" + cursor[0] + "," + cursor[1] + "; pixel=" + pixel[0] + "," + pixel[1]);//TEMP 
    440     return pixel; 
     435    return mb.getScreenCoords(cursor); 
    441436  } 
    442437 
    443438  /** Converts the given pixel coordinates to domain coordinates. */ 
    444439  public static double[] pixelToDomain(DisplayImpl d, int x, int y) { 
    445     double[] domain = cursorToDomain(d, pixelToCursor(d, x, y)); 
    446     int[] pixel = domainToPixel(d, domain);//TEMP 
    447     return domain; 
     440    return cursorToDomain(d, pixelToCursor(d, x, y)); 
    448441  } 
    449442 
Note: See TracChangeset for help on using the changeset viewer.