Re: AW: Mouse click in DisplayImplJ2D

Nice, it works.

thanks alot,

Kan


 


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