AW: Mouse click in DisplayImplJ2D

Hi Kan,

> I notice that visad.bom.PickManipulationRendererJ3D
> offers similar functionality,
> but it is only for 3D, in other words, I cannot
> do: myDisplayImplJ2D.addReferences
> (PickManipulationRendererJ3D, myDataRef).

You could use a DisplayImplJ3D in 2d-mode. Construct it with

display = new DisplayImplJ3D(new TwoDDisplayRendererJ3D());

That tells your display to use Java3D but to make a 2D-Visualization.
With this display you can use your PickManipulationRendererJ3D.

Hope that helps, Mathias


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: