Re: vectorlike representation of isocontours

Hi Jon,

> is there a way of getting a vectorlike representation of one/all painted
> isocontours in an image/dataset. This vectorlike representation should
> handle like java.awt.geom.GeneralPath or a java.util.Vector.

You might be able to do it by extending visad/java3d/
and overriding its doTransform() method. After the call to
type.doTransform() you might be able to parse the Java3D BranchGroup
in branch, to find the geometry you want. You'd have to know your way
around Java3D.

> My problem is similar to:
> Get the outline of the 500m topography in a Linear2DSet (this is visads
> work) and shrink it by 150 m in the horizontal direction towards the
> ballance point (my own calculation).

You could probably do this by computing a derived data object with
a new RealType, whose values = topo - 150m, that is mapped to ZAxis.

> It is possible, that other calculations for the points of the vectorlike
> representation may follow.

To do complex computations with the geometry, you'd probably
have to extract using an extension of DefaultRendererJ3D.

Good luck,
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738

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