diff Framework/Inputs/DicomPyramidInstance.h @ 219:ef3f8c5126a4

Don't display the thumbnail/overview instances in the Web viewer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 12 Jan 2021 17:09:57 +0100
parents 1e864138f0da
children 49f647ed1b4c
line wrap: on
line diff
--- a/Framework/Inputs/DicomPyramidInstance.h	Tue Jan 12 16:20:57 2021 +0100
+++ b/Framework/Inputs/DicomPyramidInstance.h	Tue Jan 12 17:09:57 2021 +0100
@@ -34,16 +34,17 @@
   private:
     typedef std::pair<unsigned int, unsigned int>  FrameLocation;
 
-    std::string                 instanceId_;
-    bool                        hasCompression_;
-    ImageCompression            compression_;
-    Orthanc::PixelFormat        format_;
-    unsigned int                tileWidth_;
-    unsigned int                tileHeight_;
-    unsigned int                totalWidth_;
-    unsigned int                totalHeight_;
-    std::vector<FrameLocation>  frames_;
+    std::string                         instanceId_;
+    bool                                hasCompression_;
+    ImageCompression                    compression_;
+    Orthanc::PixelFormat                format_;
+    unsigned int                        tileWidth_;
+    unsigned int                        tileHeight_;
+    unsigned int                        totalWidth_;
+    unsigned int                        totalHeight_;
+    std::vector<FrameLocation>          frames_;
     Orthanc::PhotometricInterpretation  photometric_;
+    std::string                         imageType_;
 
     void Load(OrthancStone::IOrthancConnection&  orthanc,
               const std::string& instanceId);
@@ -97,6 +98,11 @@
       return frames_.size();
     }
 
+    const std::string& GetImageType() const
+    {
+      return imageType_;
+    }
+
     unsigned int GetFrameLocationX(size_t frame) const;
 
     unsigned int GetFrameLocationY(size_t frame) const;