freehand curve drawing, rubber band boxes, and fonts

VisAD now includes support for freehand curve drawing, rubber
band boxes, and Java fonts. 

1. Sets of curves are represented by UnionSets of Gridded2DSets
with manifold dimension = 1.  CurveManipulationRendererJ3D.java
in visad/bom enables users to manipulate such data objects by
freehand drawing.  For an example of how to use it, see its
main() method.  Note that the:

    public static Irregular2DSet fill(Gridded2DSet set) throws VisADException;
    
method in visad.DelaunayCustom can be used to fill a curve
(as long as it doesn't self intersect).  The Gridded2DSet
argument must have manifold dimension = 1, and the returned
Irregular2DSet is a set of triangles filling the curve,
assuming the curve is closed by connecting its last point
to its first point.

2. RubberBandBoxRendererJ3D.java in visad/bom enables the
user to drag a rubber band box.  When the user release the
mouse button, the box corners are returned as a 2-D Set of 
two points - opposite corners of the box.  See its main 
method for an example of how to use it.  Note in particular 
that rubber band boxes can be used in spherical and other
non-Cartesian coordinate systems.

3. Applications can now set arbitrary Java fonts in the
TextControl.setFont() method, and request drawing text on
the surface of a sphere using the TextControl.setSphere()
method.  Run 'java Test69' in visad/examples to see a
Serif font, and run 'java Test69 1' to see the text on
a sphere.  

Applications can also now map RealTypes to Display.Text,
to create text plots of numerical values.  The
TextControl.setNumberFormat() method provides control over
text formatting.  Run 'java Test70' in visad/examples for
an example.

Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html