comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL 5.2 reviews?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL 5.2 reviews? [message #13281 is a reply to message #13247] Tue, 03 November 1998 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Allan Beihl (beihl@ti.com) writes:

> Along these lines, does any one know if there are any Foundation Classes for
> IDL, like MFC for windows or JFC/Swing for Java?
>
> It would be nice to have some classes that encapsulated applications, windows,
> ect. Then all one would have to do is derive the app and windows and override
> any events they would want to catch, instead or writing and rewriting the same
> UI code....

Ah, well, it's not a Foundation Class, but this is the
whole purpose of my program XWINDOW.

http://www.dfanning.com/programs/xwindow.pro

I *always* want resizeable graphics windows that can send
the contents of the window to a PostScript, JPEG, GIF file
etc. Here is a program that can do that for *any* IDL
graphics procedure (including any you care to invent) if
they follow four simple rules:

(1) Are not defined with more than three positional
parameters. (An unlimited number of keywords are
allowed.)

(2) Are defined with an _EXTRA keyword.

(3) Do not open their own windows.

(4) Do not use a "DEVICE, DECOMPOSED=0" command. (This
is a new limitation and was exposed by the way colors
now work on the PC. :-)

For example, you could use it with the SHADE_SURF command
like this:

IDL> XWindow, 'Shade_Surf', dist(40), /XColors, /Output, $
Shades=BytScl(dist(40), Top=!D.N_Colors-1), AZ=45

Note, this program needs three other programs from my
library to work properly:

http://www.dfanning.com/programs/xcolors.pro
http://www.dfanning.com/programs/pswindow.pro
http://www.dfanning.com/programs/ps_form.pro

Taken as a whole, these programs are a "foundation class"
for constructing a whole variety of applications. (I have,
perhaps, just given away the whole store with respect to
a very lucrative consulting business. Oh, well, now that
I know how to print object graphics programs I can get into
that line of work. :-)

Cheers,

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: adjustable sliders
Next Topic: Label_region and Erosion

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Dec 02 12:33:20 PST 2025

Total time taken to generate the page: 1.11961 seconds