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

Home » Public Forums » archive » Re: How to export programmatically a volume with IVOLUME to images
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: How to export programmatically a volume with IVOLUME to images [message #60321] Tue, 20 May 2008 05:38 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<d088ae51-68be-4983-b361-666923cef317@8g2000hse.googlegroups.com>,
"yingjie, Peng" <yingjiepeng@yahoo.com> wrote:

> Dear all,
>
> I would like to make a short animation of my rotating volume data. I
> think this could be done by rotating the volume a small angle each
> time and export corresponding image and then put the images sequence
> together. One can use XVOLUME, XVOLUME_ROTATE and XVOLUME_WRITE_IMAGE
> to get this job done easily, however iVOLUME offers more possible
> choices of configurations, which I prefer to.
>
> I already figured out how to rotate the ivolume object
> programmatically by:
> idTool = itgetcurrent(TOOL=oTool)
> temp = oTool->FindIdentifiers('*DATA SPACE',/VISUALIZATIONS)
> idDataSpace = temp[0]
> oDataSpace = oTool->GetByIdentifier(idDataSpace)
> oDataSpace->GetProperty, PARENT=oDataSpaceRoot
> oDataSpaceRoot->Rotate, [0,0,1], 20
> oTool->RefreshCurrentWindow
>
> But after hours� attempt, I still do not know how to export the image
> from the ivolume. Of course I can choose �export� to file from the
> ivolume menu and then I have to do this hundreds of times to make a
> animation :(
> I found David had some similar explanations here:
> http://www.dfanning.com/itool_tips/newdata.html
> but it seems to me this will only work with iImage�
>
> I am not experienced at all with iTools Object Classes and any
> suggestions or clues would be greatly appreciated.
>
> with best regards,
> Yingjie

You can download my IDL library (bowman_lib.zip) from here

http://idl.tamu.edu/Downloads.html

It contains routines to do what you want.

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help with getting rid of a FOR loop
Next Topic: HDF_SD_ADDDATA with strings

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

Current Time: Wed Oct 08 19:19:03 PDT 2025

Total time taken to generate the page: 0.01262 seconds