NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: How to populate a set of isosurfaces by giving a set of (x,y,z,value)

  • To: cchen@xxxxxxxxxx
  • Subject: Re: How to populate a set of isosurfaces by giving a set of (x,y,z,value)
  • From: Tom Rink <rink@xxxxxxxxxxxxx>
  • Date: Tue, 24 Sep 2002 11:58:49 -0500
Hi Tim

An easy way would be to define a separate RealType for each
number of IsoSurfaces, each representing the same range
values:
  (x,y,z) -> (RealType1, RealType2, RealTypeN)

Then map:
  RealType1 -> IsoContour
  RealType2 -> IsoContour
  RealTypeN -> IsoContour

This would waste memory,  but you could try  reusing the
domainSet in separate FlatFields using the
 FlatField.setSamples(float[][] range, boolean copy) with
copy == false.

 For a couple of isosurfaces, I wouldn't think this would be
to bad.

Tom Rink

Curtis Rueden wrote:

> Hi Tim,
>
> It sounds like VisAD does what you want, except that you want to
> set multiple iso-surface values simultaneously, instead of just
> one.  You may be able to extend VisAD's iso-contour logic to do
> this, or it may be that there is an easier way (although I don't
> know of one).
>
> Bill Hibbard may be able to comment further on this once he
> returns from vacation.
>
> -Curtis
>
> At 07:03 PM 9/20/2002, Chien-Ting Chen wrote:
> >Hi,
> >
> >I need to generate a set of isosurfaces by inputing a set of (x,y,z, value)
> >tuples.
> >
> >for example, I have a 100 (width) X 100 (height) X 50 (depth) = 500,000 (x,
> >y, z, value) tuples
> >The mapping from value to Display.IsoContour seems only work for generating
> >a surface texturing with the IsoContour,
> >but I need a set of IsoSurfaces to display by giving a set of Isovalues.
> >
> >How to do that?
> >
> >thanks for helping me.
> >
> >Tim Chen


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: