- java.lang.Object
-
- sc.fiji.filamentdetector.kymograph.LineGenerator
-
public class LineGenerator extends Object
-
-
Constructor Summary
Constructors Constructor Description LineGenerator(double lineTickness, double startOffsetLength, double endOffsetLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ij.gui.Linebuild(LineDrawer lineDrawer)protected double[]extendTip(double[] lineCoords, double offsetLength)protected double[]extendTips(double[] lineCoords, double startOffsetLength, double endOffsetLength)protected doublegetDistanceRatio(double x0, double y0, double x1, double y1, double offsetLength)TrackedFilamentgetTrackedFilament()voidsetTrackedFilament(TrackedFilament trackedFilament)
-
-
-
Method Detail
-
getTrackedFilament
public TrackedFilament getTrackedFilament()
-
setTrackedFilament
public void setTrackedFilament(TrackedFilament trackedFilament)
-
build
public ij.gui.Line build(LineDrawer lineDrawer) throws Exception
- Throws:
Exception
-
extendTips
protected double[] extendTips(double[] lineCoords, double startOffsetLength, double endOffsetLength) throws Exception- Throws:
Exception
-
extendTip
protected double[] extendTip(double[] lineCoords, double offsetLength) throws Exception- Throws:
Exception
-
getDistanceRatio
protected double getDistanceRatio(double x0, double y0, double x1, double y1, double offsetLength)
-
-