diff Framework/Toolbox/Slice.h @ 322:a902a07769d4 am-2

wip: preload slice
author am@osimis.io
date Mon, 15 Oct 2018 22:43:02 +0200
parents 3a4ca166fafa
children 3e6e10a5a6c8
line wrap: on
line diff
--- a/Framework/Toolbox/Slice.h	Fri Oct 12 14:53:38 2018 +0200
+++ b/Framework/Toolbox/Slice.h	Mon Oct 15 22:43:02 2018 +0200
@@ -61,6 +61,16 @@
   public:
     Slice() :
       type_(Type_Invalid)
+    {
+    }
+
+
+    // this constructor is used to reference, i.e, a slice that is being loaded
+    Slice(const std::string& orthancInstanceId,
+          unsigned int frame) :
+      type_(Type_Invalid),
+      orthancInstanceId_(orthancInstanceId),
+      frame_(frame)
     {        
     }