diff Framework/Radiography/RadiographyScene.h @ 426:660fe6f6bf4a am-vsol-upgrade

split Export in 2
author am@osimis.io
date Thu, 22 Nov 2018 23:15:24 +0100
parents 087237703d63
children 3f9017db1738
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyScene.h	Thu Nov 22 11:45:18 2018 +0100
+++ b/Framework/Radiography/RadiographyScene.h	Thu Nov 22 23:15:24 2018 +0100
@@ -28,8 +28,8 @@
 namespace OrthancStone
 {
   class RadiographyScene :
-    public IObserver,
-    public IObservable
+      public IObserver,
+      public IObservable
   {
   public:
     typedef OriginMessage<MessageType_Widget_GeometryChanged, RadiographyScene> GeometryChangedMessage;
@@ -69,11 +69,11 @@
 
 
   private:
-    class AlphaLayer;    
+    class AlphaLayer;
     class DicomLayer;
 
     typedef std::map<size_t, RadiographyLayer*>  Layers;
-        
+
     size_t  countLayers_;
     bool    hasWindowing_;
     float   windowingCenter_;
@@ -147,10 +147,20 @@
     // core >= 1.4.3
     void ExportDicom(OrthancApiClient& orthanc,
                      const Orthanc::DicomMap& dicom,
+                     const std::string& parentOrthancId,
                      double pixelSpacingX,
                      double pixelSpacingY,
                      bool invert,
                      ImageInterpolation interpolation,
                      bool usePam);
+
+    // temporary version used by VSOL because we need to send the same request at another url
+    void Export(Json::Value& createDicomRequestContent,
+                const Orthanc::DicomMap& dicom,
+                double pixelSpacingX,
+                double pixelSpacingY,
+                bool invert,
+                ImageInterpolation interpolation,
+                bool usePam);
   };
 }