public final class RoiManagerUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isActiveOnAllSlices(int sliceNumber)
Checks if a ROI is active on all slices.
|
static List<org.joml.Vector3d> |
pointROICoordinates(ij.plugin.frame.RoiManager manager)
Gets the coordinates of all point ROIs in the manager.
|
public static boolean isActiveOnAllSlices(int sliceNumber)
sliceNumber - the slice number or z-position of the ROI.public static List<org.joml.Vector3d> pointROICoordinates(ij.plugin.frame.RoiManager manager)
NB z-coordinates start from 1. If a ROI is not associated with a slice, it's z = 0.
manager - an instance of RoiManager.Copyright © 2018–2022 BoneJ. All rights reserved.