Mercurial > hg > orthanc
comparison OrthancServer/IDicomImageDecoder.h @ 1902:8b0ee8d5e6d0
Refactoring leading to speedups with custom image decoders
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 05 Jan 2016 13:26:51 +0100 |
parents | b1291df2f780 |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
1901:50234539a0dd | 1902:8b0ee8d5e6d0 |
---|---|
36 | 36 |
37 #include <boost/noncopyable.hpp> | 37 #include <boost/noncopyable.hpp> |
38 | 38 |
39 namespace Orthanc | 39 namespace Orthanc |
40 { | 40 { |
41 class ParsedDicomFile; | |
42 | |
43 class IDicomImageDecoder : public boost::noncopyable | 41 class IDicomImageDecoder : public boost::noncopyable |
44 { | 42 { |
45 public: | 43 public: |
46 virtual ~IDicomImageDecoder() | 44 virtual ~IDicomImageDecoder() |
47 { | 45 { |
48 } | 46 } |
49 | 47 |
50 virtual ImageAccessor* Decode(ParsedDicomFile& dicom, | 48 virtual ImageAccessor* Decode(const void* dicom, |
49 size_t size, | |
51 unsigned int frame) = 0; | 50 unsigned int frame) = 0; |
52 }; | 51 }; |
53 } | 52 } |