Package clips.dicom.dicombaseclass

Examples of clips.dicom.dicombaseclass.DICOMChekup


  private void putSorted(DICOMChekup item){
    int          newID = item.getInstanceNumber();
    Date        newDate = item.getAcquisitionDateTime();

    for (int i = 0; i < items.size(); i++) {
      DICOMChekup      chekup = items.get(i);
      int          curID = chekup.getInstanceNumber();
      Date        curDate = item.getAcquisitionDateTime();
      if (newID != -1 && curID != newID){
        if (newID < curID){
          items.add(i, item);
          return;
View Full Code Here


    List<Element>      list = el.getChildren(DICOM_CHECKUP_XML_ITEM_NAME);
    if (chekupList.size() != list.size()){
      return;
    }
    for (int i = 0; i < chekupList.size(); i++) {
      DICOMChekup chekup = chekupList.get(i);
      chekup.loadConfigFromXML(list.get(i));
    }
  }
View Full Code Here

      storeParam(prarm);
    }
   
    ArrayList<Pair<DICOMDataDump, Element>>  target = new ArrayList<Pair<DICOMDataDump, Element>>();
    for (int i = 0; i < list.size(); i++) {
      DICOMChekup chekup = list.get(i);
      Pair<DICOMDataDump, Element>      cur = null;
      for (Pair<DICOMDataDump, Element> pair : target) {
        if (pair.first == chekup.getOriginalData()){
          cur = pair;
        }
      }
      if (cur == null){
        cur = new Pair<DICOMDataDump, Element>();
                cur.first = chekup.getOriginalData();
        cur.second = new Element(DICOM_CHECKUP_XML_ROOT_NAME);
        target.add(cur);
      }
      Element      save = chekup.saveConfigToXML(DICOM_CHECKUP_XML_ITEM_NAME);
      cur.second.addContent(save);
    }
       
    SelectorEditable<CheckupDICOMLocalData>    sel = data.selector();
    ArrayList<DICOMDataDump>          deleteList = new ArrayList<DICOMDataDump>();
View Full Code Here

    }
   
    ChangeType    ctype = null;
    for (Collection<? extends DICOMChekup> collection: newimages) {
      if (collection.size() > 0){
        DICOMChekup          cu = collection.iterator().next();
        String            series = cu.getSeriesUID();
        AgregatorItem.ItemsType    type = AgregatorItem.ItemsType.indefine(cu);
       
        AgregatorItem        agrItem;
        if (series != null) {
          agrItem = findItemBySeriesImp(series, type);
View Full Code Here

TOP

Related Classes of clips.dicom.dicombaseclass.DICOMChekup

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.