NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #120 (closed defect: moved)

Opened 2007-04-26T14:19:06-05:00

Last modified 2014-01-09T13:13:11-06:00

Modify visad.util.CursorUtil to work robustly with coordinates of size 2 or 3

Reported by: sorber Owned by: curtis
Priority: major Milestone: visbio3.50
Component: visbio Severity: serious
Keywords: visad overlays Cc:
Blocked By: Blocking:

Description (last modified by curtis)

Currently the following exception occurs when trying to draw Freeforms on a 3D display, probably a result of passing an array of length 2 to CursorUtil.domainToPixel() in FreeformTool.

 at visad.util.CursorUtil.domainToCursor(CursorUtil.java:62)
        at visad.util.CursorUtil.domainToCursor(CursorUtil.java:75)
        at visad.util.CursorUtil.domainToPixel(CursorUtil.java:100)
        at loci.visbio.overlays.FreeformTool.mouseDrag(FreeformTool.java:276)
        at loci.visbio.overlays.OverlayTransform.displayChanged(OverlayTransform.java:752)
        at loci.visbio.view.TransformLink.displayChanged(TransformLink.java:210)
        at visad.DisplayImpl.notifyListeners(DisplayImpl.java:529)
        at visad.MouseHelper.processEvent(MouseHelper.java:510)
        at visad.MouseHelper.processEvent(MouseHelper.java:136)
        at visad.java3d.MouseBehaviorJ3D.processStimulus(MouseBehaviorJ3D.java:147)
        at javax.media.j3d.BehaviorScheduler.doWork(BehaviorScheduler.java:172)
        at javax.media.j3d.J3dThread.run(J3dThread.java:256)

Change History

comment:1 Changed 2007-06-26T17:59:26-05:00 by sorber

  • Owner changed from sorber to curtis

comment:2 Changed 2007-08-01T15:42:56-05:00 by curtis

  • Milestone set to visbio3.5

There are probably a variety of issues with attempting to draw overlays on a 3D display. What we want is the ability to visualize them in 3D, but no need to support actual user interaction in 3D to edit them.

comment:3 Changed 2014-01-09T13:13:11-06:00 by curtis

  • Status changed from new to closed
  • Resolution set to moved
  • Description modified
  • Severity set to serious