Mercurial > hg > orthanc
diff Plugins/Samples/GdcmDecoder/OrthancImageWrapper.h @ 1836:2faa2abbf311
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Nov 2015 17:40:25 +0100 |
parents | b1a6f49b21dd |
children | 2137df64a64c |
line wrap: on
line diff
--- a/Plugins/Samples/GdcmDecoder/OrthancImageWrapper.h Fri Nov 27 12:54:54 2015 +0100 +++ b/Plugins/Samples/GdcmDecoder/OrthancImageWrapper.h Fri Nov 27 17:40:25 2015 +0100 @@ -22,6 +22,8 @@ #include <orthanc/OrthancCPlugin.h> +#include "GdcmImageDecoder.h" + namespace OrthancPlugins { class OrthancImageWrapper @@ -29,6 +31,10 @@ private: OrthancPluginContext* context_; OrthancPluginImage* image_; + double slope_; + double intercept_; + double rowPixelSpacing_; + double columnPixelSpacing_; public: OrthancImageWrapper(OrthancPluginContext* context, @@ -36,13 +42,9 @@ uint32_t width, uint32_t height); - // Takes the ownership OrthancImageWrapper(OrthancPluginContext* context, - OrthancPluginImage* image) : - context_(context), - image_(image) - { - } + GdcmImageDecoder& decoder, + unsigned int frameIndex); ~OrthancImageWrapper();