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

Home » Public Forums » archive » iVolume isosurface placement
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
iVolume isosurface placement [message #47695] Fri, 24 February 2006 07:18
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
I have been experimenting with iVolume in order to understand my problem with
displaying isosurfaces.

I think the following example demonstrates the problem clearly.



n = 5
x = FINDGEN(n)/(n-1)
x3 = REBIN(REFORM(x, n, 1, 1), n, n, n)
y3 = REBIN(REFORM(x, 1, n, 1), n, n, n)
z3 = REBIN(REFORM(x, 1, 1, n), n, n, n)
vol = z3 - SIN(!PI*x3)*SIN(!PI*y3)

iVolume, vol, /NO_SAVEPROMPT, $
VOLUME_LOCATION = [0.0, 0.0, 0.0], $
VOLUME_DIMENSIONS = [1.0, 1.0, 1.0]



After the volume is created, add an isosurface at the level 0.0 by using
Operations...Volume...Isosurface.

The peak in the surface should be at (x,y) = (0.5,0.5), not (0.4,0.4), and the
isosurface should span the whole data space, 0 -> 1.

Volume slicing (Operations...Volume...Image plane) and volume rendering
operations do place the data correctly.

If you have a lot of points in your data set, you may not care that isosurfaces
are squeezed by one grid point in each direction, but for my purposes, this is
causing me real problems.

Ken Bowman

I have to admit, it is cool to interactively drag the image plane (slice) up and
down.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Freehand ROIs and Spline curves
Next Topic: ARRAY OF ARRAYS

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

Current Time: Wed Oct 08 15:37:47 PDT 2025

Total time taken to generate the page: 0.00458 seconds