public class LazyOverlay extends Overlay
Overlay
which is backed by a LazyROITree
. This
causes the ROIs to be loaded from the OMERO server only when requested.Constructor and Description |
---|
LazyOverlay(LazyROITree source,
ConvertService convert) |
Modifier and Type | Method and Description |
---|---|
void |
add(Roi roi) |
void |
add(Roi roi,
String name) |
void |
addElement(Roi roi) |
boolean |
areROIsLoaded()
Check if the ROIs associated with this Overlay have been downloaded from
the OMERO server.
|
void |
clear() |
boolean |
contains(Roi roi) |
void |
crop(int firstSlice,
int lastSlice) |
void |
crop(int firstC,
int lastC,
int firstZ,
int lastZ,
int firstT,
int lastT) |
Overlay |
crop(Rectangle bounds) |
void |
drawNames(boolean b) |
Overlay |
duplicate() |
Roi |
get(int index) |
int |
getIndex(String name) |
LazyROITree |
getSource()
Returns the source
LazyROITree . |
void |
loadROIs()
If the ROIs have not already been downloaded, this downloads the ROIs from
the OMERO server.
|
ij.measure.ResultsTable |
measure(ij.ImagePlus imp) |
void |
remove(int index) |
void |
remove(Roi roi) |
void |
remove(String name) |
void |
setFillColor(Color color) |
void |
setStrokeColor(Color color) |
int |
size() |
Roi[] |
toArray() |
String |
toString() |
void |
translate(double dx,
double dy) |
void |
translate(int dx,
int dy) |
create, createStackOverlay, drawBackgrounds, drawLabels, get, getDrawBackgrounds, getDrawLabels, getDrawNames, getLabelColor, getLabelFont, indexAt, isCalibrationBar, isSelectable, iterator, rotate, scalableLabels, scale, selectable, set, setIsCalibrationBar, setLabelColor, setLabelFont, setLabelFont, setLabelFontSize, setStrokeWidth, updateTableOverlay
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public LazyOverlay(LazyROITree source, ConvertService convert)
public boolean areROIsLoaded()
public void loadROIs()
public LazyROITree getSource()
LazyROITree
.LazyROITree
associated with this Overlaypublic void addElement(Roi roi)
addElement
in class Overlay
public int size()
This returns -1 if the ROIs have not been downloaded from the OMERO server yet.
public void setStrokeColor(Color color)
setStrokeColor
in class Overlay
public void setFillColor(Color color)
setFillColor
in class Overlay
public ij.measure.ResultsTable measure(ij.ImagePlus imp)
public void crop(int firstC, int lastC, int firstZ, int lastZ, int firstT, int lastT)
Copyright © 2014–2022 ImageJ. All rights reserved.