Mercurial > hg > orthanc
comparison Plugins/Samples/GdcmDecoder/GdcmDecoderCache.h @ 1837:fbc5522023aa
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Nov 2015 17:56:16 +0100 |
parents | b1a6f49b21dd |
children | b1291df2f780 |
comparison
equal
deleted
inserted
replaced
1836:2faa2abbf311 | 1837:fbc5522023aa |
---|---|
19 | 19 |
20 | 20 |
21 #pragma once | 21 #pragma once |
22 | 22 |
23 #include "GdcmImageDecoder.h" | 23 #include "GdcmImageDecoder.h" |
24 #include "OrthancImageWrapper.h" | |
24 | 25 |
25 #include <boost/thread.hpp> | 26 #include <boost/thread.hpp> |
26 | 27 |
27 | 28 |
28 namespace OrthancPlugins | 29 namespace OrthancPlugins |
42 public: | 43 public: |
43 GdcmDecoderCache() : size_(0) | 44 GdcmDecoderCache() : size_(0) |
44 { | 45 { |
45 } | 46 } |
46 | 47 |
47 OrthancPluginImage* Decode(OrthancPluginContext* context, | 48 OrthancImageWrapper* Decode(OrthancPluginContext* context, |
48 const void* dicom, | 49 const void* dicom, |
49 const uint32_t size, | 50 const uint32_t size, |
50 uint32_t frameIndex); | 51 uint32_t frameIndex); |
51 }; | 52 }; |
52 } | 53 } |