Ticket #120 (closed defect: moved)

Opened 13 years ago

Last modified 6 years ago

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) (diff)

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 13 years ago by sorber

  • Owner changed from sorber to curtis

comment:2 Changed 13 years ago 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 6 years ago by curtis

  • Status changed from new to closed
  • Resolution set to moved
  • Description modified (diff)
  • Severity set to serious
Note: See TracTickets for help on using tickets.