This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, January 4, 2011 6:09:52 PM(UTC)
Groups: Registered
Posts: 5
When I study the tutorials installed by LeadTools 17.0, I found the similar pairs of functions below:
DicomDataSet ds;
DicomElement patientElement = ds.GetFirstKey(null, true);
DicomElement studyElement = null;
studyElement = ds.GetChildKey(patientElement);
studyElement = ds.GetChildElement(studyElement, true);
I investigated the help document but I still can't get to know the difference between these functions( ds.GetChildKey(), ds.GetChildElement() ). Can you help me? Thanks.
It also happens when I found the following:
ds.GetFirstKey()
ds.GetFirstElement()
ds.FindFirstKey()
ds.FindFirstElement()
#2
Posted
:
Wednesday, January 5, 2011 6:47:09 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
According to our documentation the GetChildElement() is used with the DICOM dataset. However, the GetChildKey is used with the DICOM DIR dataset. For more details, please check the remarks and examples that use these functions in the following help topic:
- GetChildElement Method:
http://www.leadtools.com/help/leadtools/v17/dh/DI/Leadtools.Dicom~Leadtools.Dicom.DicomDataSet~GetChildElement.html
- GetChildKey Method
http://www.leadtools.com/help/leadtools/v17/dh/DI/Leadtools.Dicom~Leadtools.Dicom.DicomDataSet~GetChildKey.html
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.