Mercurial > hg > orthanc
comparison Core/DicomParsing/DcmtkTranscoder.h @ 3906:f0dd5ded8927 transcoding
refactoring using IDicomTranscoder::TranscodedDicom
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 08 May 2020 11:16:16 +0200 |
parents | c62f84c7eda9 |
children | 1555feda39e2 |
comparison
equal
deleted
inserted
replaced
3905:061f3d031b5d | 3906:f0dd5ded8927 |
---|---|
86 size_t size, | 86 size_t size, |
87 const std::set<DicomTransferSyntax>& allowedSyntaxes, | 87 const std::set<DicomTransferSyntax>& allowedSyntaxes, |
88 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | 88 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; |
89 | 89 |
90 static bool IsSupported(DicomTransferSyntax syntax); | 90 static bool IsSupported(DicomTransferSyntax syntax); |
91 | |
92 | |
93 virtual bool TranscodeParsedToBuffer(std::string& target /* out */, | |
94 DicomTransferSyntax& sourceSyntax /* out */, | |
95 DicomTransferSyntax& targetSyntax /* out */, | |
96 bool& hasSopInstanceUidChanged /* out */, | |
97 DcmFileFormat& dicom /* in, possibly modified */, | |
98 const std::set<DicomTransferSyntax>& allowedSyntaxes, | |
99 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | |
100 | |
101 virtual TranscodedDicom* TranscodeToParsed2( | |
102 DcmFileFormat& dicom /* in, possibly modified */, | |
103 const void* buffer /* in, same DICOM file as "dicom" */, | |
104 size_t size, | |
105 const std::set<DicomTransferSyntax>& allowedSyntaxes, | |
106 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | |
91 }; | 107 }; |
92 } | 108 } |