comparison Plugins/Engine/OrthancPlugins.h @ 2012:50b9bc19dc62

More than one custom image decoder can be installed (e.g. to handle different transfer syntaxes)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 10 Jun 2016 17:54:26 +0200
parents 39329372b667
children d108412411e5
comparison
equal deleted inserted replaced
2011:5b3b2de4e018 2012:50b9bc19dc62
258 258
259 virtual IWorklistRequestHandler* ConstructWorklistRequestHandler(); 259 virtual IWorklistRequestHandler* ConstructWorklistRequestHandler();
260 260
261 bool HasCustomImageDecoder(); 261 bool HasCustomImageDecoder();
262 262
263 // Contrarily to "Decode()", this method does not fallback to the
264 // builtin image decoder, if no installed custom decoder can
265 // handle the image (it returns NULL in this case).
266 ImageAccessor* DecodeUnsafe(const void* dicom,
267 size_t size,
268 unsigned int frame);
269
263 virtual ImageAccessor* Decode(const void* dicom, 270 virtual ImageAccessor* Decode(const void* dicom,
264 size_t size, 271 size_t size,
265 unsigned int frame); 272 unsigned int frame);
266 273
267 virtual bool IsAllowed(HttpMethod method, 274 virtual bool IsAllowed(HttpMethod method,