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

Home » Public Forums » archive » Re: Resetting data in IDLgrVolume object
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: Resetting data in IDLgrVolume object [message #16971] Thu, 26 August 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Richard Tyc (richt@sbrc.umanitoba.ca) writes:

> IDL gives a warning when I reset the 3D data in a IDLgrVolume object
> with new data

> % IDLGRVOLUME::SETPROPERTY: Warning: New volume data with new dimensions
> forced removal of old data.
>
> Is this normal/safe and could I suppress it? Is the old data memory
> being properly freed up ? Could I be creating a memory leak?

It is certainly normal/safe. (Although a bit weird. I've
noticed RSI has grown fond of these kinds of warnings
lately. I don't care much for them.) Your memory is fine.
If it leaks, it is not your problem. Call RSI. :-)

I don't know if it can be suppressed or not, but try
bracketing the code with changes to !Quiet.

> Also, what is up with the 2 different data terms (data0 and data1) for
> IDLgrVOLUME ? What would be a good example of using both together ?

Suppose you had two different representations of the
heart, say ultrasound and some kind of CT scan volume.
You might want to render the volume in such a way as
to blend the information from these two different
representations. The two data sets would allow you
to do that.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Previous Topic: Job Opportunity: COMPUTER SCIENTIST
Next Topic: Re: Faster than looping?

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

Current Time: Sat Oct 11 12:29:08 PDT 2025

Total time taken to generate the page: 1.20060 seconds