>I'm fairly new to visad, and I'm wondering how I can create a wireframe 3d
>display using VisAD. I have several sets of points (stored as doubles or
>floats) in 3 dimensions, where each set should be connected to form lines, and
>then some sets can be connected to form planes. How can I get VisAD to store
>these points and connect only the points I want to have connected? I have a
>few ideas on how to do it, but none of them seem good(i.e., there must be an
>easier way). Any suggestions that you have would be greatly appreciated.
The best way to do what you want is to use a UnionSet of GriddedSets.
Take a look at the main method of visad.Delaunay, particularly lines
1013 to 1060. You can take a look at this code in action by running:
java visad.Delaunay 3 30 2
The basic idea is to build each component of your data (each line)
as a Gridded3DSet with manifold dimension 1, then merge all the data
into a single object (a UnionSet). You could also include planes
using Gridded3DSets with manifold dimension 2.
Let the list know if you have any questions about this.