comparison Plugins/Samples/GdcmDecoder/GdcmImageDecoder.h @ 1840:859224214616

simplification of the sample plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Nov 2015 10:34:04 +0100
parents 2faa2abbf311
children b1291df2f780
comparison
equal deleted inserted replaced
1839:7f68b04c79e8 1840:859224214616
43 43
44 unsigned int GetHeight() const; 44 unsigned int GetHeight() const;
45 45
46 unsigned int GetFramesCount() const; 46 unsigned int GetFramesCount() const;
47 47
48 double GetSlope() const;
49
50 double GetIntercept() const;
51
52 double GetColumnPixelSpacing() const;
53
54 double GetRowPixelSpacing() const;
55
56 static size_t GetBytesPerPixel(OrthancPluginPixelFormat format); 48 static size_t GetBytesPerPixel(OrthancPluginPixelFormat format);
57 49
58 OrthancPluginImage* Decode(OrthancPluginContext* context, 50 OrthancPluginImage* Decode(OrthancPluginContext* context,
59 unsigned int frameIndex) const; 51 unsigned int frameIndex) const;
60 }; 52 };