Mercurial > hg > orthanc
comparison Core/DicomParsing/FromDcmtkBridge.h @ 3872:b40dfa6dc8da transcoding
working on a simpler abstraction for transcoding
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 30 Apr 2020 14:39:28 +0200 |
parents | ca36e3f1112c |
children | f23ab7829a8d |
comparison
equal
deleted
inserted
replaced
3871:5797d184de67 | 3872:b40dfa6dc8da |
---|---|
201 bool simplify); | 201 bool simplify); |
202 | 202 |
203 static std::string GenerateUniqueIdentifier(ResourceType level); | 203 static std::string GenerateUniqueIdentifier(ResourceType level); |
204 | 204 |
205 static bool SaveToMemoryBuffer(std::string& buffer, | 205 static bool SaveToMemoryBuffer(std::string& buffer, |
206 DcmFileFormat& dicom, | |
207 DicomTransferSyntax xfer); | |
208 | |
209 static bool SaveToMemoryBuffer(std::string& buffer, | |
206 DcmDataset& dataSet); | 210 DcmDataset& dataSet); |
207 | 211 |
208 static bool SaveToMemoryBuffer(std::string& buffer, | 212 static bool SaveToMemoryBuffer(std::string& buffer, |
209 DcmFileFormat& dicom); | 213 DcmFileFormat& dicom); |
210 | 214 |
211 static bool Transcode(std::string& buffer, | 215 static bool Transcode(DcmFileFormat& dicom, |
212 DcmFileFormat& dicom, | |
213 DicomTransferSyntax syntax, | 216 DicomTransferSyntax syntax, |
214 const DcmRepresentationParameter* representation); | 217 const DcmRepresentationParameter* representation); |
215 | 218 |
216 static ValueRepresentation Convert(DcmEVR vr); | 219 static ValueRepresentation Convert(DcmEVR vr); |
217 | 220 |