示例#1
0
  static {
    EvData.supportedMetadataFormats.put(metaType, IntersectROI.class);

    ROI.addType(new ROIType(icon, IntersectROI.class, false, true, metaDesc));

    // In common: Caused by: java.lang.NoClassDefFoundError: endrov/roi/primitive/IntersectROI$2 or
    // 1
    // this is a *Compound*ROI! first in plugin list
    // not in a static{}. why does it make a difference?

  }
示例#2
0
 @Override
 public boolean pointInRange(String channel, EvDecimal frame, double x, double y, double z) {
   for (ROI roi : getSubRoi()) if (!roi.pointInRange(channel, frame, x, y, z)) return false;
   return true;
 }
示例#3
0
 /** Get frames that at least are partially selected */
 public Set<EvDecimal> getFrames(Imageset rec, String channel) {
   TreeSet<EvDecimal> c = new TreeSet<EvDecimal>();
   for (ROI roi : getSubRoi()) c.addAll(roi.getFrames(rec, channel));
   return c;
 }
示例#4
0
 public boolean imageInRange(String channel, EvDecimal frame, double z) {
   for (ROI roi : getSubRoi()) if (roi.imageInRange(channel, frame, z)) return true;
   return false;
 }
示例#5
0
 /** Get channels that at least are partially selected */
 public Set<String> getChannels(Imageset rec) {
   TreeSet<String> c = new TreeSet<String>();
   for (ROI roi : getSubRoi()) c.addAll(roi.getChannels(rec));
   return c;
 }