- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<Filament>
-
- sc.fiji.filamentdetector.model.Filaments
-
- sc.fiji.filamentdetector.model.TrackedFilament
-
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Filament>,Collection<Filament>,List<Filament>,RandomAccess
public class TrackedFilament extends Filaments
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description TrackedFilament()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddetectTips()ColorgetColor()StringgetColorAsHex()FilamentgetFilamentByFrame(double frame)List<Double>getFrames()intgetId()List<Double>getLengths()TipgetMinusTip()TipgetPlusTip()booleaninsideBbox(double[] bbox)booleanlastFilamentIs(Filament filament)protected voidmatchTips()voidsetColor(Color color)-
Methods inherited from class sc.fiji.filamentdetector.model.Filaments
add, getIndexByID, info, simplify, toString
-
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Method Detail
-
lastFilamentIs
public boolean lastFilamentIs(Filament filament)
-
getId
public int getId()
-
getColor
public Color getColor()
-
getColorAsHex
public String getColorAsHex()
-
setColor
public void setColor(Color color)
-
getPlusTip
public Tip getPlusTip()
-
getMinusTip
public Tip getMinusTip()
-
detectTips
protected void detectTips()
-
getFilamentByFrame
public Filament getFilamentByFrame(double frame)
-
matchTips
protected void matchTips()
-
insideBbox
public boolean insideBbox(double[] bbox)
-
-