ini.trakem2.display
Class VectorDataTransform

java.lang.Object
  extended by ini.trakem2.display.VectorDataTransform

public final class VectorDataTransform
extends java.lang.Object


Nested Class Summary
 class VectorDataTransform.ROITransform
           
 
Field Summary
 Layer layer
           
 java.util.List<VectorDataTransform.ROITransform> transforms
           
 
Constructor Summary
VectorDataTransform(Layer layer)
           
 
Method Summary
 void add(java.awt.geom.Area roi, mpicbg.models.CoordinateTransform ct)
          Add a coordinate transform @param ct that applies to the @param roi Area only; ASSUMES all rois added do not overlap.
 VectorDataTransform makeLocalTo(Displayable d)
          Returns a copy whose roi and ct are local to the affine transform of @param d.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

layer

public final Layer layer

transforms

public final java.util.List<VectorDataTransform.ROITransform> transforms
Constructor Detail

VectorDataTransform

public VectorDataTransform(Layer layer)
Method Detail

add

public void add(java.awt.geom.Area roi,
                mpicbg.models.CoordinateTransform ct)
Add a coordinate transform @param ct that applies to the @param roi Area only; ASSUMES all rois added do not overlap.


makeLocalTo

public VectorDataTransform makeLocalTo(Displayable d)
                                throws java.lang.Exception
Returns a copy whose roi and ct are local to the affine transform of @param d.

Throws:
java.lang.Exception