diff Applications/Samples/SingleFrameApplication.h @ 117:42c05a3baee3 wasm

loading multi-frame instances as 3D volumes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 28 Sep 2017 16:55:51 +0200
parents 4c5f7cda8624
children e66b2c757790
line wrap: on
line diff
--- a/Applications/Samples/SingleFrameApplication.h	Mon Sep 25 13:43:47 2017 +0200
+++ b/Applications/Samples/SingleFrameApplication.h	Thu Sep 28 16:55:51 2017 +0200
@@ -252,7 +252,7 @@
         std::auto_ptr<OrthancFrameLayerSource> layer
           (new OrthancFrameLayerSource(context.GetWebService()));
         //layer->SetImageQuality(SliceImageQuality_Jpeg50);
-        layer->LoadInstance(instance, frame);
+        layer->LoadFrame(instance, frame);
         //layer->LoadSeries("6f1b492a-e181e200-44e51840-ef8db55e-af529ab6");
         layer->Register(*this);
         source_ = layer.get();