public final class ROILayerManager extends Object
| Constructor and Description |
|---|
ROILayerManager() |
| Modifier and Type | Method and Description |
|---|---|
static DefaultDrawingLayer |
createLayer()
Creates a layer with a default name of the current look panel.
|
static DefaultDrawingLayer |
createLayer(String name)
Creates a new layer with a given name for the current layer name of the
current look panel.
|
static List<DefaultDrawingLayer> |
getAllLayers()
Gets a
List of all layers of the current look panel. |
static DefaultDrawingLayer |
getCurrentROILayer()
Gets the currently active ROI layer of the current look panel.
|
static DefaultDrawingLayer |
getLayer(int zOrder)
Get the layer of a given z-order of the current look panel.
|
static List<IDrawingLayer> |
getVisibleLayers()
Gets all visible layers of the current look panel.
|
static List<IDrawingLayer> |
getVisibleLayersForExport()
Gets all visible layers of the current look panel for saving.
|
static void |
removeLayer(int zOrder)
Remove the layer of a given z-order of the current look panel.
|
static IDrawingLayer |
replaceLayers(List<IDrawingLayer> layers)
This method replaces all layers of the current look panel with the given
list.
|
public static DefaultDrawingLayer createLayer(String name)
name - DefaultDrawingLayerpublic static DefaultDrawingLayer createLayer()
public static void removeLayer(int zOrder)
zOrder - public static DefaultDrawingLayer getLayer(int zOrder)
zOrder - DefaultDrawingLayerpublic static DefaultDrawingLayer getCurrentROILayer()
DefaultDrawingLayerpublic static List<IDrawingLayer> getVisibleLayers()
Listpublic static List<IDrawingLayer> getVisibleLayersForExport()
Listpublic static List<DefaultDrawingLayer> getAllLayers()
List of all layers of the current look panel.List of all layerspublic static IDrawingLayer replaceLayers(List<IDrawingLayer> layers)
null, a new default layer will be
created.layers - the list of layers which will replace the current layersCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.