Resources
-
Recent Posts
Recent Tweets
- Attend VISualize & take advantage of our #Landsat 8 one-day seminar w/ Jim Irons from LDCM! ow.ly/lcULP 4 hours ago
- Read “#Landsat 8 Data Reader Included in ENVI 5 Service Pack 3” & find out what’s coming soon! ow.ly/lhT2T 6 hours ago
- You down with NPP? Dave G’s down with NPP! Read his latest post on ImagerySpeaks today! ow.ly/lftxd 7 hours ago
Like Exelis VIS
Tags
(New) Graphics AGU arrays Atle Borsholm code performance control statements Direct Graphics ENVI 5 ENVI programming GRIB guest post hashes HDF5 IDL 8 IDL 8.1 IDL 8.2 IDL 8.2.1 IDL 8.2.2 IDLffVideoWrite image implicit Get/SetProperty Jim Pendleton keyword inheritance Linux lists map projections movies MPEG-4 NAME property netCDF NPP Object Graphics OOP PNG PostScript Ron Kneusel science! sorting user group VIIRS VISualize web welcome widget programming WIDGET_WINDOW
Tag Archives: OOP
An ENVI 5 extension
Last week, I showed an example of an ENVI 5 batch program; this week, I’ll show an extension, the successor to a user function in ENVI Classic. (Be warned, though, that this turned into a long post.) Extensions are programs executed … Continue reading
Posted in data access, programming, language
Tagged OOP, ENVI programming, ENVI 5, SAVE file
2 Comments
An ENVI 5 batch program
ENVI 5, released last week, has a new UI and API. I’d like to show a pair of examples that use the API: this week, a batch program; next week, an extension (the successor to a user function). Batch programs … Continue reading
Implicit Get/SetProperty calls in user-defined classes, part II
A few months ago, I posted a demonstration of how to use the implicit Get/SetProperty call allowed by subclasses of IDL_Object, using existing Object Graphics classes as the basis. Here, I’d like to go a little further: I’ll write a … Continue reading
Posted in language, programming
Tagged IDL 8, implicit Get/SetProperty, OOP, operator overloading
1 Comment
A technique for flexible Get/SetProperty methods in IDL 8
(Note: This is a guest post by Ron Kneusel, a Senior Consultant in the Exelis VIS Professional Services Group. I frequently bug Ron with questions about computer science, IDL and Linux. –MP) IDL’s new hash table object, along with some … Continue reading
Posted in language, programming
Tagged guest post, hashes, IDL 8, keyword inheritance, OOP, Ron Kneusel
2 Comments
A small, helpful routine
A small item this week because it’s Thanksgiving. In DG, you can close all open windows with a statement like this: IDL> while !d.window ne -1 do wdelete, !d.window Here’s my two-line equivalent in NG, wrapped into a procedure: pro … Continue reading
Implicit Get/SetProperty calls in user-defined classes
Operator overloading in user-defined classes was introduced in IDL 8 through the IDL_Object class. Mike Galloy explains how to use this technique here. One somewhat overlooked feature of IDL_Object is that it allows implicit calls to the GetProperty and SetProperty … Continue reading
Posted in language, programming
Tagged IDL 8, implicit Get/SetProperty, Object Graphics, OOP
2 Comments