Program: gdcm
Module: $RCSfile: gdcmDicomDir.cxx,v $
Language: C++
- Date: $Date: 2005/02/06 14:31:09 $
- Version: $Revision: 1.129 $
+ Date: $Date: 2005/02/07 14:48:34 $
+ Version: $Revision: 1.130 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// PATIENT STUDY
// STUDY SERIES
// SERIES IMAGE
-// IMAGE
+// IMAGE /
//
// DicomDir::CreateDicomDir will have to be completed
// Treelike structure management will have to be upgraded
Program: gdcm
Module: $RCSfile: gdcmDicomDir.h,v $
Language: C++
- Date: $Date: 2005/02/06 14:31:09 $
- Version: $Revision: 1.54 $
+ Date: $Date: 2005/02/07 14:48:34 $
+ Version: $Revision: 1.55 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/// Pointer on *the* DicomDirObject 'DicomDirMeta Elements'
DicomDirMeta* MetaElems;
- /// Chained list of DicomDirPatient (to be exploited recursively)
+ /// Chained list of DicomDirPatient (to be exploited hierarchicaly)
ListDicomDirPatient Patients;
ListDicomDirPatient::iterator ItPatient;
Program: gdcm
Module: $RCSfile: gdcmDicomDirElement.cxx,v $
Language: C++
- Date: $Date: 2005/02/05 01:37:08 $
- Version: $Revision: 1.34 $
+ Date: $Date: 2005/02/07 14:48:34 $
+ Version: $Revision: 1.35 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//-----------------------------------------------------------------------------
// Public
/**
- * \brief Add an entry
- * @param type type
+ * \brief Add an entry to one of the DicomDir Elements
+ * (Patient, Study, Serie, Image)
+ * @param type Element type (DD_PATIENT, DD_STUDY, DD_SERIE, DD_IMAGE)
* @param elem elem
*/
bool DicomDirElement::AddEntry(DicomDirType type, Element const &elem)
return true;
}
+/**
+ * \brief Add an entry to one of the DicomDir Elements
+ * (Patient, Study, Serie, Image)
+ * @param type Element type (DD_PATIENT, DD_STUDY, DD_SERIE, DD_IMAGE)
+ * @param group Group number of the entry to be added
+ * @param elem Element number of the entry to be added
+ */
+void DicomDirElement::AddDicomDirElement(DicomDirType type,
+ uint16_t group, uint16_t elem)
+{
+ Element el;
+ el.Group = group;
+ el.Elem = elem;
+ el.Value = "";
+ AddEntry(type, el);
+}
//-----------------------------------------------------------------------------
// Protected
Program: gdcm
Module: $RCSfile: gdcmDicomDirElement.h,v $
Language: C++
- Date: $Date: 2005/02/06 14:31:09 $
- Version: $Revision: 1.26 $
+ Date: $Date: 2005/02/07 14:48:34 $
+ Version: $Revision: 1.27 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// Public method to add an element
bool AddEntry(DicomDirType type, Element const &elem);
+ // Only one instance of ddElem
+ void AddDicomDirElement(DicomDirType type,
+ uint16_t group, uint16_t elem);
+
private:
/// Elements chained list, related to the MetaElements of DICOMDIR
ListDicomDirMetaElem DicomDirMetaList;
Program: gdcm
Module: $RCSfile: gdcmDicomDirObject.h,v $
Language: C++
- Date: $Date: 2005/02/01 13:11:49 $
- Version: $Revision: 1.15 $
+ Date: $Date: 2005/02/07 14:48:34 $
+ Version: $Revision: 1.16 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//-----------------------------------------------------------------------------
/**
* \brief Parent object for DicomDirPatient, DicomDirStudy,
- * DicomDirSerie, DicomDirImage, of a DicomDir
+ * DicomDirSerie, DicomDirImage, of a DicomDir
*/
class GDCM_EXPORT DicomDirObject : public SQItem
{
Program: gdcm
Module: $RCSfile: gdcmDicomDirPatient.h,v $
Language: C++
- Date: $Date: 2005/02/04 16:51:36 $
- Version: $Revision: 1.25 $
+ Date: $Date: 2005/02/07 14:48:34 $
+ Version: $Revision: 1.26 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
private:
- /// chained list of DicomDirStudy (to be exploited recursively)
+ /// chained list of DicomDirStudy (to be exploited hierarchicaly)
ListDicomDirStudy Studies;
/// iterator on the DicomDirStudies of the current DicomDirPatient
ListDicomDirStudy::iterator ItStudy;
Program: gdcm
Module: $RCSfile: gdcmDicomDirSerie.h,v $
Language: C++
- Date: $Date: 2005/02/04 16:51:36 $
- Version: $Revision: 1.27 $
+ Date: $Date: 2005/02/07 14:48:34 $
+ Version: $Revision: 1.28 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
ListDicomDirImage Images;
/// iterator on the DicomDirImages of the current DicomDirSerie
ListDicomDirImage::iterator ItImage;
+
+/*
+// for future use :
+
+ /// chained list of DicomDirOverlays(single level)
+ ListDicomDirOverlay Overlays;
+ /// iterator on the DicomDirOverlays of the current DicomDirSerie
+ ListDicomDirOverlay::iterator ItOverlay;
+
+ /// chained list of DicomDirModalityLuts(single level)
+ ListDicomDirModalityLut ModalityLuts;
+ /// iterator on the DicomDirModalityLuts of the current DicomDirSerie
+ ListDicomDirModalityLut::iterator ItModalityLut;
+
+ /// chained list of DicomDirModalityLuts(single level)
+ ListDicomDirModalityLut ModalityLuts;
+ /// iterator on the DicomDirModalityLuts of the current DicomDirSerie
+ ListDicomDirModalityLut::iterator ItModalityLuts;
+
+ /// chained list of DicomDirCurves(single level)
+ ListDicomDirCurve Curves;
+ /// iterator on the DicomDirCurves of the current DicomDirSerie
+ ListDicomDirCurve::iterator ItCurves;
+
+ /// chained list of DicomDirStoredPrints(single level)
+ ListDicomDirStoredPrint StoredPrints;
+ /// iterator on the DicomDirStoredPrints of the current DicomDirSerie
+ ListDicomDirStoredPrint::iterator ItStoredPrints;
+
+ /// chained list of DicomDirRtDoses(single level)
+ ListDicomDirRtDose RtDoses;
+ /// iterator on the DicomDirRtDoses of the current DicomDirSerie
+ ListDicomDirRtDose::iterator ItRtDoses;
+
+ /// chained list of DicomDirRtStructureSets(single level)
+ ListDicomDirRtStructureSet RtStructureSets;
+ /// iterator on the DicomDirRtStructureSets of the current DicomDirSerie
+ ListDicomDirRtStructureSet::iterator ItRtStructureSets;
+
+ /// chained list of DicomDirRtPlans(single level)
+ ListDicomDirRtPlan RtPlans;
+ /// iterator on the DicomDirRtPlans of the current DicomDirSerie
+ ListDicomDirPlan::iterator ItRtPlans;
+
+ /// chained list of DicomDirRtTreatRecords(single level)
+ ListDicomDirRtTreatRecord RtTreatRecords;
+ /// iterator on the DicomDirRtTreatRecords of the current DicomDirSerie
+ ListDicomDirRtTreatRecord::iterator ItRtTreatRecords;
+
+ /// chained list of DicomDirPresentations(single level)
+ ListDicomDirPresentation Presentations;
+ /// iterator on the DicomDirPresentations of the current DicomDirSerie
+ ListDicomDirPresentation::iterator ItPresentations;
+
+ /// chained list of DicomDirWaveForms(single level)
+ ListDicomDirWaveForm WaveForms;
+ /// iterator on the DicomDirWaveForms of the current DicomDirSerie
+ ListDicomDirWaveForm::iterator ItWaveForms;
+
+ /// chained list of DicomDirSrDocuments(single level)
+ ListDicomDirSrDocument SrDocuments;
+ /// iterator on the DicomDirSrDocuments of the current DicomDirSerie
+ ListDicomDirSrDocument::iterator ItSrDocuments;
+
+ /// chained list of DicomDirKeyObjectDocs(single level)
+ ListDicomDirKeyObjectDoc KeyObjectDocs;
+ /// iterator on the DicomDirKeyObjectDocs of the current DicomDirSerie
+ ListDicomDirKeyObjectDoc::iterator ItKeyObjectDocs;
+
+ /// chained list of DicomDirSpectroscopys(single level)
+ ListDicomDirSpectroscopy Spectroscopys;
+ /// iterator on the DicomDirSpectroscopys of the current DicomDirSerie
+ ListDicomDirSpectroscopy::iterator ItSpectroscopys;
+
+ /// chained list of DicomDirRawDatas(single level)
+ ListDicomDirRawData RawDatas;
+ /// iterator on the DicomDirRawDatas of the current DicomDirSerie
+ ListDicomDirRawData::iterator ItRawDatas;
+
+ /// chained list of DicomDirRegistrations(single level)
+ ListDicomDirRegistration Registrations;
+ /// iterator on the DicomDirRegistrations of the current DicomDirSerie
+ ListDicomDirRegistration::iterator ItRegistrations;
+
+ /// chained list of DicomDirFiducials(single level)
+ ListDicomDirFiducial Fiducials;
+ /// iterator on the DicomDirFiducials of the current DicomDirSerie
+ ListDicomDirFiducial::iterator ItFiducials;
+*/
+
};
} // end namespace gdcm
//-----------------------------------------------------------------------------
Program: gdcm
Module: $RCSfile: gdcmDicomDirStudy.h,v $
Language: C++
- Date: $Date: 2005/02/06 14:31:09 $
- Version: $Revision: 1.25 $
+ Date: $Date: 2005/02/07 14:48:34 $
+ Version: $Revision: 1.26 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//-----------------------------------------------------------------------------
typedef std::list<DicomDirSerie *> ListDicomDirSerie;
+/*
+// For future use (Full DICOMDIR)
+typedef std::list<DicomDirVisit *> ListDicomDirVisit;
+typedef std::list<DicomDirResult *> ListDicomDirResult;
+typedef std::list<DicomDirStudyComponent *> ListDicomDirStudyComponent;
+
+*/
//-----------------------------------------------------------------------------
/**
* \brief describes a STUDY within a within a PATIENT
DicomDirSerie *GetFirstSerie();
DicomDirSerie *GetNextSerie();
DicomDirSerie *GetLastSerie();
+
+/*
+ // for future use (Full DICOMDIR)
+
+ DicomDirVisit *GetFirstVisit();
+ DicomDirVisit *GetNextVisit();
+
+ DicomDirResult *GetFirstResult();
+ DicomDirResult *GetNextResult();
+
+ DicomDirStudyComponent *GetFirstStudyComponent();
+ DicomDirStudyComponent *GetNextStudyComponent();
+
+*/
private:
- /// chained list of DicomDirSeries (to be exploited recursively)
+ /// chained list of DicomDirSeries (to be exploited hierarchicaly)
ListDicomDirSerie Series;
/// iterator on the DicomDirSeries of the current DicomDirStudy
ListDicomDirSerie::iterator ItSerie;
+/*
+ // for future use (Full DICOMDIR)
+
+ /// chained list of DicomDirVisits(single level)
+ ListDicomDirVisit Visits;
+ /// iterator on the DicomDirVisits of the current DicomDirStudy
+ ListDicomDirVisit::iterator ItVisit;
+
+ /// chained list of DicomDirResults(single level)
+ ListDicomDirResult Results;
+ /// iterator on the DicomDirResults of the current DicomDirStudy
+ ListDicomDirResult::iterator ItResult;
+
+ /// chained list of DicomDirStudyComponents(single level)
+ ListDicomDirStudyComponent StudyComponents;
+ /// iterator on the DicomDirStudyComponents of the current DicomDirStudy
+ ListDicomDirStudyComponent::iterator ItStudyComponents;
+*/
};
} // end namespace gdcm
Program: gdcm
Module: $RCSfile: gdcmGlobal.cxx,v $
Language: C++
- Date: $Date: 2005/02/05 01:37:08 $
- Version: $Revision: 1.19 $
+ Date: $Date: 2005/02/07 14:48:34 $
+ Version: $Revision: 1.20 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
const std::string GDCM_UNREAD = "gdcm::UnRead";
//-----------------------------------------------------------------------------
-DictSet *Global::Dicts = (DictSet *)0;
-VR *Global::ValRes = (VR *)0;
-TS *Global::TranSyn = (TS *)0;
-DicomDirElement *Global::ddElem = (DicomDirElement *)0;
+DictSet *Global::Dicts = (DictSet *)0;
+VR *Global::ValRes = (VR *)0;
+TS *Global::TranSyn = (TS *)0;
+DicomDirElement *Global::ddElem = (DicomDirElement *)0;
//-----------------------------------------------------------------------------
/**