Ejemplo n.º 1
0
        public DicomFile LoadDicomFile(LoadSopDicomFileArgs args)
        {
            if (args.ForceCompleteHeader && !CanLoadCompleteHeader)
            {
                throw new NotSupportedException("Provider doesn't support loading the complete header.");
            }
            if (args.IncludePixelData && !CanLoadPixelData)
            {
                throw new NotSupportedException("Provider doesn't support inclusion of pixel data.");
            }

            return(_loadDicomFile(args));
        }
Ejemplo n.º 2
0
    	public DicomFile LoadDicomFile(LoadSopDicomFileArgs args)
        {
            if (args.ForceCompleteHeader)
                LoadFullHeader(args.IncludePixelData);

            return new DicomFile(null, MetaInfo.Copy(), DataSet.Copy());
        }
Ejemplo n.º 3
0
		public DicomFile LoadDicomFile(LoadSopDicomFileArgs args)
		{
			if (args.ForceCompleteHeader && !CanLoadCompleteHeader)
				throw new NotSupportedException("Provider doesn't support loading the complete header.");
			if (args.IncludePixelData && !CanLoadPixelData)
				throw new NotSupportedException("Provider doesn't support inclusion of pixel data.");

			return _loadDicomFile(args);
		}