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

Home » Public Forums » archive » Re: Cropping of IDLgrVolume?
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: Cropping of IDLgrVolume? [message #33840 is a reply to message #33826] Fri, 31 January 2003 10:08 Go to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
"Sebastian" <s@visita2.die.upm.es> wrote in message
news:Pine.LNX.4.44.0301311717440.9316-100000@visita2.die.upm .es...
> Hi all,
>
> does anybody know how to crop an IDLgrVolume?

The CUTTING_PLANES property.
As of 5.6, the CLIPPING_PLANES property.

> What I would like to do is this:
> Suppose your volume is a cube, then you can subdivide it into 8 equally
> sized sub-cubes.
> I would like to blend off one of these cubes.

You can use the CUTTING_PLANES property to cut the volume so that only one
of the eight sub-cubes are displayed.
I don't think that you can restrict the extent of the planes to do selective
cutting that might let you remove one sub-cube, leaving the seven others.
Is this what you want?

> And, more advanced, blend off the region of a small cube I position
> somewhere in my original volume.

The planes can be positioned anywhere.

> In vtk, for example, I can define 6 cropping planes (one parallel to each
> surface), thus subdividing the volume in 27 rectangular sub-volumes, and
> switch on or or arbitrary combinations of sub-volumes.

I don't know about being completely arbitrary, but you can certainly do
something like this with the understanding that each cutting plane defines a
half-space and successive cutting planes cut the volume in terms of
half-spaces.
[Message index]
 
Read Message
Read Message
Previous Topic: Polyfill, z-buffer & postscript
Next Topic: Throwing an X display from within IDL?

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

Current Time: Wed Oct 08 19:34:49 PDT 2025

Total time taken to generate the page: 0.00449 seconds