Mercurial > hg > orthanc-stone
diff Applications/Samples/SingleFrameApplication.h @ 1300:257f2c9a02ac broker
integration mainline->broker
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Mar 2020 18:11:45 +0100 |
parents | c38c89684d83 8a0a62189f46 |
children |
line wrap: on
line diff
--- a/Applications/Samples/SingleFrameApplication.h Mon Mar 02 17:21:24 2020 +0100 +++ b/Applications/Samples/SingleFrameApplication.h Mon Mar 02 18:11:45 2020 +0100 @@ -243,6 +243,7 @@ boost::shared_ptr<Deprecated::DicomSeriesVolumeSlicer> layer(new Deprecated::DicomSeriesVolumeSlicer); layer->Connect(context->GetOrthancApiClient()); source_ = layer; + layer->LoadFrame(instance, frame); Register<Deprecated::IVolumeSlicer::GeometryReadyMessage>(*layer, &SingleFrameApplication::OnMainWidgetGeometryReady); widget_->AddLayer(layer);