Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hello Ricardo, > I want to know if there is some way to make a point to generate an > event, similar to the one that is performed when I add a reference to a > diaplay using > > display.addReferences(new > DirectManipulationRendererJ2D(),ref_direct_tuple); > > I don't want that the point I added to the display moves when I click on > it, only that send me the name of the object. > > What I need to do is to put over a map of data a group of points that > represent meteorologic stations and when I click on one of the points > the program give me the data of the station (point object) and the data > of the map in that point. > > How do I make this? You can use visad.bom.PickManipulationRendererJ3D to do this. Run 'java visad.bom.PickManipulationRendererJ3D' to see it working, and read its main() method to see how to use it. For points on a map, you'd probably display a group of RealTuple objects. Cheers, Bill ---------------------------------------------------------- Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706 hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738 http://www.ssec.wisc.edu/~billh/vis.html
visad
archives: