Hi All,
I am wondering how I can generate a wire frame shape composed of the
triangles (DelaunayCustom(samples,tri)) from the Irregular3DSet. In other
words, instead of a surface with "skin" I would like to see the skeletons
or the triangles that make up the surface.
I know for Gridded3DSet I can achieve this with for example the following code:
Gridded3DSet testset = new Gridded3DSet(xyz,testsamples,testsamples[0].length);
DataReferenceImpl wire_ref = new DataReferenceImpl("points_ref");
wire_ref.setData((Set)testset);
ConstantMap[] pointsCMap = { new ConstantMap( 1.0f, Display.Red ),
new ConstantMap( 0.0f, Display.Green ),
new ConstantMap( 0.0f, Display.Blue ),
new ConstantMap( 5.50f, Display.PointSize ) };
display.addReference( wire_ref, pointsCMap );
Is there a way to see the triangles for Irregular3DSet?
thanks very much,
john