NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
>From: Bernard Mendiburu <address@hidden> >Organization: UCLA >Keywords: 200403222133.i2MLXXrV012025 IDV development Hi Bernard- >I'm curently learning the netbeans IDE in order to give IDV the ability to >access some of our medical datas. I'm embarrased at the state of our developer docs and it is a high priority for the next few months. >Our files are IMG files (also knowed as Analyze 7.5) >They're composed of a header file in full text and a data file in raw >integers packed together. > >Could you give me some advices : >Where in the code i could find a sample to use as an basis and modify it ? You would need a chooser to select the data (see the ucar.unidata.idv.chooser package) and then a DataSource that would do the hard work. The IDV would pass the selected object from the chooser to the DataSource. Maybe you could create an ObjectPair (ucar.unidata.util package) holding the two files. You could take a look at any of the DataSource implementations in the packages under ucar.unidata.data. The DataSource creates a set of DataChoice objects in doMakeDataChoices() and it uses these to generate the appropriate VisAD data object. If that's not enough to get you going, let me know. Don NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publically available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.