public class HyperStackDisplayer extends AbstractTrackMateModelView
| Modifier and Type | Field and Description |
|---|---|
protected ij.ImagePlus |
imp |
static String |
KEY |
protected SpotOverlay |
spotOverlay |
protected TrackOverlay |
trackOverlay |
displaySettings, model, selectionModel| Constructor and Description |
|---|
HyperStackDisplayer(Model model,
SelectionModel selectionModel,
DisplaySettings displaySettings) |
HyperStackDisplayer(Model model,
SelectionModel selectionModel,
ij.ImagePlus imp,
DisplaySettings displaySettings) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOverlay(Roi overlay) |
void |
centerViewOn(Spot spot)
Centers the view on the given spot.
|
void |
clear()
Removes any overlay (for spots or tracks) from this displayer.
|
protected SpotOverlay |
createSpotOverlay(DisplaySettings displaySettings)
Hook for subclassers.
|
protected TrackOverlay |
createTrackOverlay(DisplaySettings displaySettings)
Hook for subclassers.
|
ij.ImagePlus |
getImp()
Exposes the
ImagePlus on which the model is drawn by this view. |
String |
getKey()
Returns the unique key that identifies this view.
|
SelectionModel |
getSelectionModel() |
void |
modelChanged(ModelChangeEvent event)
This notification is fired when a
Model has been changed. |
void |
refresh()
Refreshes the displayer display with current model.
|
void |
render()
Initializes this displayer and render it according to its concrete
implementation.
|
void |
selectionChanged(SelectionChangeEvent event)
This needs to be overridden for concrete implementation to display
selection.
|
getModelprotected final ij.ImagePlus imp
protected SpotOverlay spotOverlay
protected TrackOverlay trackOverlay
public static final String KEY
public HyperStackDisplayer(Model model, SelectionModel selectionModel, ij.ImagePlus imp, DisplaySettings displaySettings)
public HyperStackDisplayer(Model model, SelectionModel selectionModel, DisplaySettings displaySettings)
protected SpotOverlay createSpotOverlay(DisplaySettings displaySettings)
displaySettings - protected TrackOverlay createTrackOverlay(DisplaySettings displaySettings)
displaySettings - public ij.ImagePlus getImp()
ImagePlus on which the model is drawn by this view.public void modelChanged(ModelChangeEvent event)
ModelChangeListenerModel has been changed.event - the ModelChangeEvent.public void selectionChanged(SelectionChangeEvent event)
AbstractTrackMateModelViewselectionChanged in interface SelectionChangeListenerselectionChanged in class AbstractTrackMateModelViewevent - the event that characterizes the change.public void centerViewOn(Spot spot)
TrackMateModelViewpublic void render()
TrackMateModelViewpublic void refresh()
TrackMateModelViewpublic void clear()
TrackMateModelViewpublic void addOverlay(Roi overlay)
public SelectionModel getSelectionModel()
public String getKey()
TrackMateModelView
Careful: this key must be the same that for the
ViewFactory that can instantiates this view. This is to
facilitate saving/loading.
Copyright © 2015–2021 Fiji. All rights reserved.