Exemple #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?

  }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }