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

Home » Public Forums » archive » How to export programmatically a volume with IVOLUME to images
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
How to export programmatically a volume with IVOLUME to images [message #60335] Mon, 19 May 2008 16:24
yingjie, Peng is currently offline  yingjie, Peng
Messages: 11
Registered: March 2006
Junior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL programmer needed
Next Topic: Convolution

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

Current Time: Wed Oct 08 17:39:30 PDT 2025

Total time taken to generate the page: 0.00578 seconds