ini.trakem2.display
Interface VectorData

All Known Implementing Classes:
AreaList, AreaTree, Ball, Connector, Dissector, DLabel, Pipe, Polyline, Profile, Tree, Treeline

public interface VectorData

An interface to represent Displayable objects that are not images.


Method Summary
 boolean apply(Layer la, java.awt.geom.Area roi, mpicbg.models.CoordinateTransform ict)
          Applies the 2D transform @ict (which is expected to operate on the world coordinates version of the data contained here) only to the data that falls within the @param roi (in world coords), and then recomputes the bounding box and affine transform (to a translation or identity).
 boolean apply(VectorDataTransform vdt)
           
 

Method Detail

apply

boolean apply(Layer la,
              java.awt.geom.Area roi,
              mpicbg.models.CoordinateTransform ict)
              throws java.lang.Exception
Applies the 2D transform @ict (which is expected to operate on the world coordinates version of the data contained here) only to the data that falls within the @param roi (in world coords), and then recomputes the bounding box and affine transform (to a translation or identity). Does not consider links.

Parameters:
la - Only data at this Layer may be transformed.
roi - Only data inside this world-coordinates Area may be transformed.
ict - The transform to apply to the data that is in @param la and within @param roi.
Throws:
java.lang.Exception

apply

boolean apply(VectorDataTransform vdt)
              throws java.lang.Exception
Throws:
java.lang.Exception