Package org.imagearchive.lsm.toolbox.info.scaninfo

Examples of org.imagearchive.lsm.toolbox.info.scaninfo.Recording


        addokbListener(okb, this);
        getContentPane().add(okb, BorderLayout.SOUTH);
        masterModel.addMasterModelListener(new MasterModelAdapter() {
            public void LSMFileInfoChanged(MasterModelEvent evt) {
              if (masterModel.getCz() == null | masterModel.getCz().scanInfo == null) return;
              Recording r = (Recording) masterModel.getCz().scanInfo.recordings
                        .get(0);
                if (r != null) {
                    String shortNotes = (String) r.records
                            .get("ENTRY_DESCRIPTION");
                    String detailedNotes = (String) r.records
View Full Code Here


    try {
      stream.seek((int) position);
      while (tag.entry != 0x0FFFFFFFF) {
        tag = getScanInfoTag(stream);
        if (Recording.isRecording(tag.entry)) {
          Recording recording = new Recording();
          while (tag.entry != 0x0FFFFFFFF) {
            tag = getScanInfoTag(stream);
            if (Laser.isLasers(tag.entry)) {
              recording.lasers = getLaserBlock(stream);
              tag.entry = 0;
View Full Code Here

      break;
    default:
      scantype = "UNKNOWN !";
      break;
    }
    Recording r = (Recording) getCz().scanInfo.recordings.get(0);
    String objective = (String) r.records.get("ENTRY_OBJECTIVE");
    String user = (String) r.records.get("USER");
    double zoomx = ((Double) r.records.get("ZOOM_X")).doubleValue();
    double zoomy = ((Double) r.records.get("ZOOM_Y")).doubleValue();
View Full Code Here

                  .get(j)).intValue());
              LsmFileInfo openLSM = (LsmFileInfo) imp
                  .getOriginalFileInfo();
              CZ_LSMInfo cz = (CZ_LSMInfo) ((ImageDirectory) openLSM.imageDirectories
                  .get(0)).TIF_CZ_LSMINFO;
              Recording r = (Recording) cz.scanInfo.recordings.get(0);
              double planeSpacing = ((Double) r.records.get("PLANE SPACING")).doubleValue();
              if (choice.equals("Dump to textfile")) {
                String twstr = new String("");
                double ps = 0;
                for (int k = 1; i <= cz.DimensionZ; k++) {
View Full Code Here

    }
    Color c = Toolbar.getForegroundColor();
    CZ_LSMInfo cz = (CZ_LSMInfo) ((ImageDirectory) lfi.imageDirectories
        .get(0)).TIF_CZ_LSMINFO;
    if (cz.DimensionZ != 1) {
      Recording r = (Recording) cz.scanInfo.recordings
          .get(0);
      double planeSpacing = ((Double) r.records.get("PLANE SPACING"))
          .doubleValue();

      if ((cz.DimensionTime == 1)) {
View Full Code Here

    if (cz.scanInfo == null)
      return;
    ScanInfo scanInfo = cz.scanInfo;
    ArrayList recordings = scanInfo.recordings;
    for (int i = 0; i < recordings.size(); i++) {
      Recording recording = (Recording) recordings.get(i);
      InfoNode recordingsNode = new InfoNode("Recordings",
          recording.records);

      if (recording.lasers != null) {
        DefaultMutableTreeNode lasersNode = new DefaultMutableTreeNode(
View Full Code Here

    sb.append(getRecordAsString(convertCZ(cz)));

    ScanInfo scanInfo = cz.scanInfo;
    ArrayList recordings = scanInfo.recordings;
    for (int i = 0; i < recordings.size(); i++) {
      Recording recording = (Recording) recordings.get(i);
      sb.append("Recording " + i + "\t\n");
      sb.append(getRecordAsString(recording.records));
      if (recording.lasers != null) {
        for (int j = 0; j < recording.lasers.length; j++) {
          sb.append("Laser " + j + "\t\n");
View Full Code Here

TOP

Related Classes of org.imagearchive.lsm.toolbox.info.scaninfo.Recording

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.