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

Home » Public Forums » archive » Re: Poscript Component Selection
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: Poscript Component Selection [message #45519 is a reply to message #45518] Mon, 12 September 2005 17:34 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
David Fanning wrote:
> IDLmastertobe writes:
>> partial code:
>> sState.oVols[sState.iVrendVol]->SetProperty, $
>> HIDE=1-vol_rend
>> demo_draw, sState.oWindow, sState.oView, debug=sState.debug
>> sState.oVols[sState.iVrendVol]->SetProperty,HIDE=1
>> oImage = sState.oWindow->Read()
>> oImage->GetProperty,DATA=data
>> OBJ_DESTROY,oImage
>
> By the way, do you think we could have a peek at that
> DEMO_DRAW module? That's probably where you are going
> to have to solve this problem, although I have doubts
> that it *can* be solved, given the names of some of the
> variables in this code.

The above looks suspiciously like an excerpt from

<IDL_DIR>\examples\demo\demosrc\d_vectrack.pro

line 439-445 (in version 6.2). The original poster appears to be trying
to adapt some IDL demo code for his own purposes. Now this *sounds* like
a sensible thing to do but (as many of the newsgroup regulars can
attest) the code distributed with IDL is a whole Pandora's box of worms.

I imagine that if I spent 15 minutes or so I could fight my way into the
code, find the view object and draw it to a PS file in vector form. The
results, in terms of code, wouldn't be pretty. The results, in terms of
Postscript, may not be very pretty either, as the scene displayed by
d_vectrack is a 3D one using effects like shading that will not be
reproduced properly.

So, IDL mastertobe, before your or any of the rest of us put the effort
in, perhaps you could tell us more about what you're really trying to
do. Is this a learning exercise (in which case you might find a totally
different approach more fruitful)? Are you are trying to plot the
thunderstorm visualization displayed by d_vectrack, or have you changed
that too? Do you want a quick and dirty solution or something more
general and adaptable?




--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: tvimage followed by contour in ps... positioning not coming out right
Next Topic: Re: Force Field

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

Current Time: Sat Oct 11 06:12:07 PDT 2025

Total time taken to generate the page: 1.80125 seconds