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

Home » Public Forums » archive » Re: IDL with C++
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDL with C++ [message #35290] Wed, 04 June 2003 11:51
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Reimar Bauer" wrote in message...
> Rick Towler wrote:
>> "Juan Luis Medina Trujillo" wrote in message...
>>
>>
>>> I have just started to learn IDL (yesterday), but Im very experienced in
>>> MATLAB, so Im starting to see many similarities that make me go through
>>> much faster. I will probably have to implement a GUI in IDL including
>>> many mathematical operations on image processing (Im working in the
>>> Canarian Astrophysics Institute) and I will also have to use C++ code to
>>> do many routines like accessing to data from network, database
>>> programming, assembly coding possibly and so on.
>>>
>>> I know there is at least one good book about IDL + C 'Calling C from
>>> IDL' (Ronn Klings) which Im seriously thinking to purchase, but I would
>>> also like to get some help from any of you about this combination
>>> between IDL and C++. Does any of you have some small routines where you
>>> combine both? with that, I will have a lot of information to figure out
>>> how to deal with my problem. Of course, later many other problems will
>>> arise, but as starting point it would be very useful for me.
>>
>>
>> First off, I recommend that you buy Ronn's book. Although it deals with
C,
>> I think you will find it invaluable. I have.
>>
>> I have a simple example of calling C++ code from IDL which I put
together a
>> while back for another newsgroupie. I never heard back from him so I
don't
>> know how helpful it was but I will send it to you directly. Hopefully
it
>> will help you get started.
>>
>> -Rick
>>
>>
>
> Dear Rick
>
> I am interested in collecting these information too.
> Is it possible to save it elsewhere and to post a link for it.
>
> Reimar
>

Sure thing, Reimar.

I added a readme file and a test.pro file in hopes that this will stand on
it's own wobbly legs and made it available thru the link below. I can't
stress enough that this is a very simple example that utilizes a single C++
class to perform a simple calculation. Also, much of this will be of little
help unless you have at least some experience writing DLMs or you have
purchased Ronn's book.

The file can be found here:

http://www.acoustics.washington.edu/~towler/programs/Mgc_vec tor.zip

Enjoy!

-Rick
Re: IDL with C++ [message #35291 is a reply to message #35290] Wed, 04 June 2003 01:24 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Rick Towler wrote:
> "Juan Luis Medina Trujillo" wrote in message...
>
>
>> I have just started to learn IDL (yesterday), but Im very experienced in
>> MATLAB, so Im starting to see many similarities that make me go through
>> much faster. I will probably have to implement a GUI in IDL including
>> many mathematical operations on image processing (Im working in the
>> Canarian Astrophysics Institute) and I will also have to use C++ code to
>> do many routines like accessing to data from network, database
>> programming, assembly coding possibly and so on.
>>
>> I know there is at least one good book about IDL + C 'Calling C from
>> IDL' (Ronn Klings) which Im seriously thinking to purchase, but I would
>> also like to get some help from any of you about this combination
>> between IDL and C++. Does any of you have some small routines where you
>> combine both? with that, I will have a lot of information to figure out
>> how to deal with my problem. Of course, later many other problems will
>> arise, but as starting point it would be very useful for me.
>
>
> First off, I recommend that you buy Ronn's book. Although it deals with C,
> I think you will find it invaluable. I have.
>
> I have a simple example of calling C++ code from IDL which I put together a
> while back for another newsgroupie. I never heard back from him so I don't
> know how helpful it was but I will send it to you directly. Hopefully it
> will help you get started.
>
> -Rick
>
>

Dear Rick

I am interested in collecting these information too.
Is it possible to save it elsewhere and to post a link for it.

Reimar


--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
Re: IDL with C++ [message #35292 is a reply to message #35291] Tue, 03 June 2003 15:08 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Juan Luis Medina Trujillo" wrote in message...

> I have just started to learn IDL (yesterday), but Im very experienced in
> MATLAB, so Im starting to see many similarities that make me go through
> much faster. I will probably have to implement a GUI in IDL including
> many mathematical operations on image processing (Im working in the
> Canarian Astrophysics Institute) and I will also have to use C++ code to
> do many routines like accessing to data from network, database
> programming, assembly coding possibly and so on.
>
> I know there is at least one good book about IDL + C 'Calling C from
> IDL' (Ronn Klings) which Im seriously thinking to purchase, but I would
> also like to get some help from any of you about this combination
> between IDL and C++. Does any of you have some small routines where you
> combine both? with that, I will have a lot of information to figure out
> how to deal with my problem. Of course, later many other problems will
> arise, but as starting point it would be very useful for me.

First off, I recommend that you buy Ronn's book. Although it deals with C,
I think you will find it invaluable. I have.

I have a simple example of calling C++ code from IDL which I put together a
while back for another newsgroupie. I never heard back from him so I don't
know how helpful it was but I will send it to you directly. Hopefully it
will help you get started.

-Rick
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: binary sub?
Next Topic: Saving as NITF

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

Current Time: Wed Dec 03 13:57:12 PST 2025

Total time taken to generate the page: 1.28683 seconds