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

Home » Public Forums » archive » 3D UserSym?
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: 3D UserSym? [message #67572 is a reply to message #67533] Mon, 10 August 2009 06:39 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brian Daniel writes:

> I put in some time and effort on learning the basics of objects and
> object graphics. I relied heavily on Scatter_Plot.pro, an example
> from a previous post on this thread. I've run across some challenges.
>
> 1) I have a memory leak

Yikes! I guess so. :-(

It appears half the cleanup routine has gone missing in
that Scatter_Surface routine I gave to you last time.
You can download a corrected version here:

http://www.dfanning.com/tip_examples/scatter_surface.pro

In particular, no one was cleaning up any of the objects
in the info structure in the previous version. :-(

Obj_Destroy, info.thisPrinter, info.thisWindow, info.thisPolyline
Obj_Destroy, info.thisTrackball, info.thisModel
Obj_Destroy, info.xaxis, info.yaxis, info.zaxis


Cheers,

David

P.S. I'm pretty sure Coyote was working on this late last
week. I'll have a word with him.



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: .trace not working?
Next Topic: how to create a evf?

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

Current Time: Sat Oct 11 04:29:36 PDT 2025

Total time taken to generate the page: 1.12282 seconds