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

Home » Public Forums » archive » Re: Interfacing the functions
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: Interfacing the functions [message #30126 is a reply to message #30125] Sun, 07 April 2002 17:26 Go to previous messageGo to previous message
idlfreak is currently offline  idlfreak
Messages: 47
Registered: October 2001
Member
Hi,
I’ll try to be clearer as the codes are long that I can’t
attach them.

I have individual program that performs the following:
a. Zoom in and Out
b. Pan
c. Contrast adjustments
d. Brings the next slice

Mouse controls all these. In the zooming program, when I left click it
zooms in and right click zooms out. In panning program, left click and
mouse move pans it and so on. I want to create an interface with few
buttons. On clicking these buttons and then with the use of move I
want to perform these functions.
For eg: If I click on a button ZOOM, then on left mouse click I want
to zoom in the image and on right click zoom out. Then on PAN button
being pressed, I’d like to Pan the zoomed image. I’m not
sure if that’s possible. Please tell me how I can link all these
functions so that I can perform these on an image.

I hope u can help me now. Thanks for your help.

Cheers,
Akhila.



Reimar Bauer <r.bauer@fz-juelich.de> wrote in message news:<3CAEC9B4.FB4C5148@fz-juelich.de>...
> Akhila wrote:
>>
>> HI,
>> This is a simple question but I'ven't done interfacing before. I have
>> written the code to perform zoom, pan, contrast adjustments, bringing
>> up the next slice at run time. But all these are controlled by mouse
>> in each program. I want to link them all together in one program. Can
>> anybody tell me, how the link has to be given to each buttons to
>> perform the zoom mouse actions when zoom button is pressed once or so
>> on.
>>
>> Please help me with this.
>>
>> Thanks for ur help,
>>
>> Cheers,
>> Akhila.
>
> Dear Akhila,
>
> This simple question is to simple for me. I don't understand what's your
> problem.
> Can you show some code please ?
>
> 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/icg1/idl_icglib/idl_lib_intro.h tml
> ============================================================ =======
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Alpha Blending
Next Topic: Re: Need help identifying left most zero bit

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

Current Time: Sun Nov 30 17:25:39 PST 2025

Total time taken to generate the page: 0.24149 seconds