visad.bom.annotations
Interface ScreenAnnotation

All Known Implementing Classes:
ImageJ3D, JLabelJ3D, LabelJ3D, LineJ3D, PointJ3D, QuadrilateralJ3D, TriangleJ3D

public interface ScreenAnnotation

This ensures that all objects being used for annotations onto a VisAD display have the method toDrawable() as required for ScreenAnnotator.


Method Summary
 Object toDrawable(DisplayImpl display)
          Make the Object into a Shape3D.
 

Method Detail

toDrawable

Object toDrawable(DisplayImpl display)
                  throws VisADException
Make the Object into a Shape3D.

Parameters:
display - the VisAD display for this Annotation.
Returns:
the ScreenAnnotation as an object which can be drawn.
Throws:
VisADException - there's a problem with VisAD.