示例#1
0
		/// <summary>
		/// Copy constructor
		/// </summary>
		/// <param name="source"></param>
		private SopInstanceNode(SopInstanceNode source)
		{
			_instanceUid = StudyBuilder.NewUid();
			_dicomFile = new DicomFile("", source._dicomFile.MetaInfo.Copy(true, true, true), source._dicomFile.DataSet.Copy(true, true, true));
		}
示例#2
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="source"></param>
 private SopInstanceNode(SopInstanceNode source)
 {
     _instanceUid = StudyBuilder.NewUid();
     _dicomFile   = new DicomFile("", source._dicomFile.MetaInfo.Copy(true, true, true), source._dicomFile.DataSet.Copy(true, true, true));
 }
示例#3
0
文件: SeriesNode.cs 项目: nhannd/Xian
		/// <summary>
		/// Convenience method to insert SOP instance-level data nodes into the study builder tree under this series.
		/// </summary>
		/// <param name="sopInstances">An array of <see cref="SopInstanceNode"/>s to insert into the study builder tree.</param>
		public void InsertSopInstances(SopInstanceNode[] sopInstances)
		{
			foreach (SopInstanceNode node in sopInstances)
			{
				this.Images.Add(node);
			}
		}
示例#4
0
		/// <summary>
		/// Convenience method to insert SOP instance-level data nodes into the study builder tree under this study, creating a <see cref="SeriesNode">series</see> node if necessary.
		/// </summary>
		/// <param name="sopInstances">An array of <see cref="SopInstanceNode"/>s to insert into the study builder tree.</param>
		public void InsertSopInstance(SopInstanceNode[] sopInstances)
		{
			SeriesNode series = new SeriesNode();
			this.Series.Add(series);
			foreach (SopInstanceNode node in sopInstances)
			{
				series.Images.Add(node);
			}
		}