Mercurial > hg > orthanc
comparison Core/DicomParsing/IDicomTranscoder.h @ 3951:5fe8c6d3212e transcoding
removed useless information "hasSopInstanceUidChanged"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 19 May 2020 21:06:53 +0200 |
parents | 3d2fc1b5cc8c |
children | f9863630ec7f |
comparison
equal
deleted
inserted
replaced
3950:5797ca4f3b8d | 3951:5fe8c6d3212e |
---|---|
109 | 109 |
110 static TranscodingType GetTranscodingType(DicomTransferSyntax target, | 110 static TranscodingType GetTranscodingType(DicomTransferSyntax target, |
111 DicomTransferSyntax source); | 111 DicomTransferSyntax source); |
112 | 112 |
113 static void CheckTranscoding(DicomImage& transcoded, | 113 static void CheckTranscoding(DicomImage& transcoded, |
114 bool hasSopInstanceUidChanged, | |
115 DicomTransferSyntax sourceSyntax, | 114 DicomTransferSyntax sourceSyntax, |
116 const std::string& sourceSopInstanceUid, | 115 const std::string& sourceSopInstanceUid, |
117 const std::set<DicomTransferSyntax>& allowedSyntaxes, | 116 const std::set<DicomTransferSyntax>& allowedSyntaxes, |
118 bool allowNewSopInstanceUid); | 117 bool allowNewSopInstanceUid); |
119 | 118 |
121 virtual ~IDicomTranscoder() | 120 virtual ~IDicomTranscoder() |
122 { | 121 { |
123 } | 122 } |
124 | 123 |
125 virtual bool Transcode(DicomImage& target, | 124 virtual bool Transcode(DicomImage& target, |
126 bool& hasSopInstanceUidChanged /* out */, | |
127 DicomImage& source /* in, "GetParsed()" possibly modified */, | 125 DicomImage& source /* in, "GetParsed()" possibly modified */, |
128 const std::set<DicomTransferSyntax>& allowedSyntaxes, | 126 const std::set<DicomTransferSyntax>& allowedSyntaxes, |
129 bool allowNewSopInstanceUid) = 0; | 127 bool allowNewSopInstanceUid) = 0; |
130 | 128 |
131 static std::string GetSopInstanceUid(DcmFileFormat& dicom); | 129 static std::string GetSopInstanceUid(DcmFileFormat& dicom); |