Hi Muz,
> I want to use Irregular3DSet to render a 2D rectangular matrix into a 3D
> cylinder. I'm wondering if there are any examples I can use.
Use a Gridded3DSet with manifold dimension = 2 instead.
Use the constructor signature:
public Gridded3DSet(MathType type, float[][] samples,
int lengthX, int lengthY)
Where 'float[3][number_of_samples] samples' defines the
3-D locations of grid points on the cylinder and
number_of_samples = lengthX * lengthY.
Note that visad/examples/Test37.java uses a Gridded3DSet
with manifold dimension = 2, as the domain Set of a Field
sampled at a 2-D grid on a curved surface.
Good luck,
Bill