Re: visualization of cylinders, cutting planes

Hello Martin,

Martin Wiesinger wrote:

hello,
 i've been searching this forum for several days now, still not found an
answer to my questions - so i try to ask here:

i want to do some visualization of a structure composed of several cylinders
in 3d. the user should be able to set cutting planes in the 3d view and see
the plane in a seperate 2d window.

since the cylinders are hollow i guess the best method for generation is to
use some sort of trianglestriparray (drawing the "mantle" of each cylinder).

i enjoyed the visad tutorial and several example programs shipping with
visad source. found some examples concerning cutting planes but to me it
seems like they do the cutting with volumes rather than areas.
Yes, that's right. But if you make them a different geometry, as in your case, than you should get the results you want.

In other words, cutting a solid cylinder should result in an area (filled circumference), whereas cutting the hollow cylinder should result in a circle. It's your task to create the hollow cylinder (probably with some Gridded3D set...). VisAD will cut the object to fit ;-) (with the FlatField.resample())

Cheers,

Ugo

any ideas whether this is possible?
thank you very much for suggestions.
greetings
 martin



--
l a t / l o n  GmbH
Aennchenstrasse 19           53177 Bonn, Germany
phone ++49 +228 184960       fax ++49 +228 1849629
http://www.lat-lon.de        http://www.deegree.org