Exemple #1
0
        /// <summary>
        /// Writes a DICOM directory.
        /// </summary>
        /// <param name="fullFileName">The full file name</param>
        public void Write(String fullFileName)
        {
            DvtkData.Media.DicomDir dvtkDataDicomDir = new DvtkData.Media.DicomDir();

            // In the DvtkData assembly, the file header is not part of the file meta information.
            // In the HLI assembly, the file header is part of the file meta information, just like
            // the DICOM standard.
            dvtkDataDicomDir.FileMetaInformation = this.FileMetaInformation.DvtkDataFileMetaInformation;
            dvtkDataDicomDir.FileHead            = this.FileMetaInformation.DvtkDataFileHead;


            // TODO: How should the DataSet and DirectoryRecords proporties be used?


            // TODO WriteDicomDir(dvtkDataDicomDir, fullFileName);
        }
Exemple #2
0
        /// <summary>
        /// Writes a DICOM directory.
        /// </summary>
        /// <param name="fullFileName">The full file name</param>
        public void Write(String fullFileName)
        {
            DvtkData.Media.DicomDir dvtkDataDicomDir = new DvtkData.Media.DicomDir();

            // In the DvtkData assembly, the file header is not part of the file meta information.
            // In the HLI assembly, the file header is part of the file meta information, just like
            // the DICOM standard.
            dvtkDataDicomDir.FileMetaInformation = this.FileMetaInformation.DvtkDataFileMetaInformation;
            dvtkDataDicomDir.FileHead = this.FileMetaInformation.DvtkDataFileHead;

            // TODO: How should the DataSet and DirectoryRecords proporties be used?

            // TODO WriteDicomDir(dvtkDataDicomDir, fullFileName);
        }