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

Home » Public Forums » archive » Re: linked views in an itool?
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: linked views in an itool? [message #71375] Thu, 17 June 2010 11:47
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<d5cc7511-2c6e-453c-99b1-700975031b1f@t10g2000yqg.googlegroups.com>,
"Jeff N." <jeffnettles4870@gmail.com> wrote:

> Using OVERPLOT puts two surfaces in one plot...which would probably be
> the exact thing i would want to do in most cases. For this one case
> though, i need to have two different plots in the same itool. I can
> probably get by with just rotating one, then rotating the other
> without too much fuss - it's for a live demo, though, so i thought
> it'd be slick to have the two plots rotating at the same time when you
> just use the mouse on one - going for style points here :)

One different approach that might work is to put both surfaces in
one plot but make one of them partially transparent. Depending on
the geometry of your problem, that can prevent one surface from
interfering with your view of the other.

They would also be larger using that approach, which can make a
difference.

Ken
Re: linked views in an itool? [message #71381 is a reply to message #71375] Thu, 17 June 2010 09:51 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 6/17/10 7:13 AM, Kenneth P. Bowman wrote:
> In article
> <d5cc7511-2c6e-453c-99b1-700975031b1f@t10g2000yqg.googlegroups.com>,
> "Jeff N."<jeffnettles4870@gmail.com> wrote:
>
>> On Jun 16, 5:07 pm, "Kenneth P. Bowman"<k-bow...@null.edu> wrote:
>>> In article
>>> < fe89fd85-3c0e-4191-9447-7e249111d...@30g2000vbf.googlegroups .com >,
>>> "Jeff N."<jeffnettles4...@gmail.com> wrote:
>>>
>>>> Folks,
>>>
>>>> I'm slowly but surely starting to use itools. The part that i'm
>>>> struggling with now is that i'd like to have an isurface with two
>>>> surface plots in it (two views i'm assuming) such that if i take my
>>>> mouse and rotate one of the plots, the other one is also rotated the
>>>> same way. Is this easy to do? I can't seem to find anything in the
>>>> properties dialogs or help file that gives me a hint.
>>>
>>>> Jeff
>>>
>>> You can use the OVERPLOT keyword to add a second ISURFACE to the
>>> plot using the existing coordinate system. It is part of the same
>>> plot and rotates, scales, etc. as a whole.
>>>
>>> In fact, although the iTools have different names (IPLOT, ISURFACE,
>>> ICONTOUR, etc.), it is really just one tool. We have an application
>>> that creates a 3-D plot using ISURFACE, to which we add a 3-D
>>> volume data set for isosurface rendering using IVOLUME, plus various
>>> point and line objects using IPLOT.
>>>
>>> Ken Bowman
>>
>> Thanks Ken.
>>
>> Using OVERPLOT puts two surfaces in one plot...which would probably be
>> the exact thing i would want to do in most cases. For this one case
>> though, i need to have two different plots in the same itool. I can
>> probably get by with just rotating one, then rotating the other
>> without too much fuss - it's for a live demo, though, so i thought
>> it'd be slick to have the two plots rotating at the same time when you
>> just use the mouse on one - going for style points here :)
>
> Ahh, I see what you are trying to do (cool idea). I am reasonably
> certain this could be accomplished, but don't have the faintest
> idea how. :-(
>
> Ken

Yes, I know this is possible (since if you draw a line profile on an
image a similar linked display is created), but I don't know how to do
it. I would check the code for the line profile operation for hints.

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
Re: linked views in an itool? [message #71384 is a reply to message #71381] Thu, 17 June 2010 06:13 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<d5cc7511-2c6e-453c-99b1-700975031b1f@t10g2000yqg.googlegroups.com>,
"Jeff N." <jeffnettles4870@gmail.com> wrote:

> On Jun 16, 5:07�pm, "Kenneth P. Bowman" <k-bow...@null.edu> wrote:
>> In article
>> < fe89fd85-3c0e-4191-9447-7e249111d...@30g2000vbf.googlegroups .com >,
>> �"Jeff N." <jeffnettles4...@gmail.com> wrote:
>>
>>> Folks,
>>
>>> I'm slowly but surely starting to use itools. �The part that i'm
>>> struggling with now is that i'd like to have an isurface with two
>>> surface plots in it (two views i'm assuming) such that if i take my
>>> mouse and rotate one of the plots, the other one is also rotated the
>>> same way. �Is this easy to do? �I can't seem to find anything in the
>>> properties dialogs or help file that gives me a hint.
>>
>>> Jeff
>>
>> You can use the OVERPLOT keyword to add a second ISURFACE to the
>> plot using the existing coordinate system. �It is part of the same
>> plot and rotates, scales, etc. as a whole.
>>
>> In fact, although the iTools have different names (IPLOT, ISURFACE,
>> ICONTOUR, etc.), it is really just one tool. �We have an application
>> that creates a 3-D plot using ISURFACE, to which we add a 3-D
>> volume data set for isosurface rendering using IVOLUME, plus various
>> point and line objects using IPLOT.
>>
>> Ken Bowman
>
> Thanks Ken.
>
> Using OVERPLOT puts two surfaces in one plot...which would probably be
> the exact thing i would want to do in most cases. For this one case
> though, i need to have two different plots in the same itool. I can
> probably get by with just rotating one, then rotating the other
> without too much fuss - it's for a live demo, though, so i thought
> it'd be slick to have the two plots rotating at the same time when you
> just use the mouse on one - going for style points here :)

Ahh, I see what you are trying to do (cool idea). I am reasonably
certain this could be accomplished, but don't have the faintest
idea how. :-(

Ken
Re: linked views in an itool? [message #71399 is a reply to message #71384] Wed, 16 June 2010 15:05 Go to previous message
jeffnettles4870 is currently offline  jeffnettles4870
Messages: 111
Registered: October 2006
Senior Member
On Jun 16, 5:07 pm, "Kenneth P. Bowman" <k-bow...@null.edu> wrote:
> In article
> < fe89fd85-3c0e-4191-9447-7e249111d...@30g2000vbf.googlegroups .com >,
>  "Jeff N." <jeffnettles4...@gmail.com> wrote:
>
>> Folks,
>
>> I'm slowly but surely starting to use itools.  The part that i'm
>> struggling with now is that i'd like to have an isurface with two
>> surface plots in it (two views i'm assuming) such that if i take my
>> mouse and rotate one of the plots, the other one is also rotated the
>> same way.  Is this easy to do?  I can't seem to find anything in the
>> properties dialogs or help file that gives me a hint.
>
>> Jeff
>
> You can use the OVERPLOT keyword to add a second ISURFACE to the
> plot using the existing coordinate system.  It is part of the same
> plot and rotates, scales, etc. as a whole.
>
> In fact, although the iTools have different names (IPLOT, ISURFACE,
> ICONTOUR, etc.), it is really just one tool.  We have an application
> that creates a 3-D plot using ISURFACE, to which we add a 3-D
> volume data set for isosurface rendering using IVOLUME, plus various
> point and line objects using IPLOT.
>
> Ken Bowman

Thanks Ken.

Using OVERPLOT puts two surfaces in one plot...which would probably be
the exact thing i would want to do in most cases. For this one case
though, i need to have two different plots in the same itool. I can
probably get by with just rotating one, then rotating the other
without too much fuss - it's for a live demo, though, so i thought
it'd be slick to have the two plots rotating at the same time when you
just use the mouse on one - going for style points here :)
Re: linked views in an itool? [message #71401 is a reply to message #71399] Wed, 16 June 2010 14:07 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<fe89fd85-3c0e-4191-9447-7e249111d894@30g2000vbf.googlegroups.com>,
"Jeff N." <jeffnettles4870@gmail.com> wrote:

> Folks,
>
> I'm slowly but surely starting to use itools. The part that i'm
> struggling with now is that i'd like to have an isurface with two
> surface plots in it (two views i'm assuming) such that if i take my
> mouse and rotate one of the plots, the other one is also rotated the
> same way. Is this easy to do? I can't seem to find anything in the
> properties dialogs or help file that gives me a hint.
>
> Jeff

You can use the OVERPLOT keyword to add a second ISURFACE to the
plot using the existing coordinate system. It is part of the same
plot and rotates, scales, etc. as a whole.

In fact, although the iTools have different names (IPLOT, ISURFACE,
ICONTOUR, etc.), it is really just one tool. We have an application
that creates a 3-D plot using ISURFACE, to which we add a 3-D
volume data set for isosurface rendering using IVOLUME, plus various
point and line objects using IPLOT.

Ken Bowman
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: idl license path.
Next Topic: Re: New tool: sort points by countries with a shapefile and IDL

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

Current Time: Wed Oct 08 15:59:08 PDT 2025

Total time taken to generate the page: 0.00347 seconds