comparison Core/DicomNetworking/DicomStoreUserConnection.h @ 3894:8f7ad4989fec transcoding

transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 07 May 2020 11:13:29 +0200
parents 7a5fa8f307e9
children
comparison
equal deleted inserted replaced
3893:7a5fa8f307e9 3894:8f7ad4989fec
148 DicomTransferSyntax syntax); 148 DicomTransferSyntax syntax);
149 149
150 void Store(std::string& sopClassUid, 150 void Store(std::string& sopClassUid,
151 std::string& sopInstanceUid, 151 std::string& sopInstanceUid,
152 DcmFileFormat& dicom, 152 DcmFileFormat& dicom,
153 bool hasMoveOriginator,
153 const std::string& moveOriginatorAET, 154 const std::string& moveOriginatorAET,
154 uint16_t moveOriginatorID); 155 uint16_t moveOriginatorID);
155 156
156 void Store(std::string& sopClassUid, 157 void Store(std::string& sopClassUid,
157 std::string& sopInstanceUid, 158 std::string& sopInstanceUid,
158 const void* buffer, 159 const void* buffer,
159 size_t size, 160 size_t size,
161 bool hasMoveOriginator,
160 const std::string& moveOriginatorAET, 162 const std::string& moveOriginatorAET,
161 uint16_t moveOriginatorID); 163 uint16_t moveOriginatorID);
162
163 void Store(std::string& sopClassUid,
164 std::string& sopInstanceUid,
165 DcmFileFormat& dicom)
166 {
167 Store(sopClassUid, sopInstanceUid, dicom, "", 0); // Not a C-Move
168 }
169
170 void Store(std::string& sopClassUid,
171 std::string& sopInstanceUid,
172 const void* buffer,
173 size_t size)
174 {
175 Store(sopClassUid, sopInstanceUid, buffer, size, "", 0); // Not a C-Move
176 }
177 164
178 void LookupParameters(std::string& sopClassUid, 165 void LookupParameters(std::string& sopClassUid,
179 std::string& sopInstanceUid, 166 std::string& sopInstanceUid,
180 DicomTransferSyntax& transferSyntax, 167 DicomTransferSyntax& transferSyntax,
181 DcmFileFormat& dicom); 168 DcmFileFormat& dicom);
183 void Transcode(std::string& sopClassUid /* out */, 170 void Transcode(std::string& sopClassUid /* out */,
184 std::string& sopInstanceUid /* out */, 171 std::string& sopInstanceUid /* out */,
185 IDicomTranscoder& transcoder, 172 IDicomTranscoder& transcoder,
186 const void* buffer, 173 const void* buffer,
187 size_t size, 174 size_t size,
175 bool hasMoveOriginator,
188 const std::string& moveOriginatorAET, 176 const std::string& moveOriginatorAET,
189 uint16_t moveOriginatorID); 177 uint16_t moveOriginatorID);
190
191 void Transcode(std::string& sopClassUid /* out */,
192 std::string& sopInstanceUid /* out */,
193 IDicomTranscoder& transcoder,
194 const void* buffer,
195 size_t size)
196 {
197 Transcode(sopClassUid, sopInstanceUid, transcoder,
198 buffer, size, "", 0); // Not a C-Move
199 }
200 }; 178 };
201 } 179 }