Ejemplo n.º 1
0
		public SopInstance(InstanceXml xml, Series parent)
		{
			_xml = xml;
			ParentSeries = parent;
			_sequenceHasExcludedTags = new Dictionary<uint, bool>();

			_metaInfo = new DicomAttributeCollection();
			if (xml.TransferSyntax != null)
			{
				string transferSyntax = xml.TransferSyntax.UidString;
				if (!String.IsNullOrEmpty(transferSyntax))
					_metaInfo[DicomTags.TransferSyntaxUid].SetString(0, transferSyntax);
			}

			if (xml.SopClass != null)
			{
				string sopClass = xml.SopClass.Uid;
				if (!String.IsNullOrEmpty(sopClass))
					_metaInfo[DicomTags.SopClassUid].SetString(0, sopClass);
			}
		}
Ejemplo n.º 2
0
			public SopInstanceCollection(Series owner)
			{
				_owner = owner;
			}