/// <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)); }
/// <summary> /// Creates the <see cref="IAnnotationLayout"/> for this image. /// </summary> /// <returns></returns> protected override IAnnotationLayout CreateAnnotationLayout() { return(DicomAnnotationLayoutFactory.CreateLayout(this)); }
public static IAnnotationLayout CreateLayoutByImageSop(IImageSopProvider imageSopProvider) { return(DicomAnnotationLayoutFactory.CreateLayout(imageSopProvider)); }
public static IAnnotationLayout CreateLayoutByModality(string modality) { return(DicomAnnotationLayoutFactory.CreateLayout(new List <KeyValuePair <string, string> > { new KeyValuePair <string, string>(@"Modality", modality) })); }
public static IAnnotationLayout CreateLayoutByImageSop(IDicomAttributeProvider dicomAttributeProvider) { return(DicomAnnotationLayoutFactory.CreateLayout(dicomAttributeProvider)); }