コード例 #1
0
 /// <summary>
 /// Creates the <see cref="IAnnotationLayout"/> for this image.
 /// </summary>
 /// <returns></returns>
 protected override IAnnotationLayout CreateAnnotationLayout()
 {
     if (ImageSop.Modality == "MG")
     {
         return new MammogramAnnotationLayoutProxy {
                    OwnerImage = this
         }
     }
     ;
     return(DicomAnnotationLayoutFactory.CreateLayout(this));
 }
コード例 #2
0
 /// <summary>
 /// Creates the <see cref="IAnnotationLayout"/> for this image.
 /// </summary>
 /// <returns></returns>
 protected override IAnnotationLayout CreateAnnotationLayout()
 {
     return(DicomAnnotationLayoutFactory.CreateLayout(this));
 }
コード例 #3
0
 public static IAnnotationLayout CreateLayoutByImageSop(IImageSopProvider imageSopProvider)
 {
     return(DicomAnnotationLayoutFactory.CreateLayout(imageSopProvider));
 }
コード例 #4
0
 public static IAnnotationLayout CreateLayoutByModality(string modality)
 {
     return(DicomAnnotationLayoutFactory.CreateLayout(new List <KeyValuePair <string, string> > {
         new KeyValuePair <string, string>(@"Modality", modality)
     }));
 }
コード例 #5
0
 public static IAnnotationLayout CreateLayoutByImageSop(IDicomAttributeProvider dicomAttributeProvider)
 {
     return(DicomAnnotationLayoutFactory.CreateLayout(dicomAttributeProvider));
 }