Mercurial > hg > orthanc-stone
diff Applications/Samples/SingleFrameApplication.h @ 92:961ee171d933 wasm
cleaning up
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 29 May 2017 11:42:53 +0200 |
parents | 64e60018943f |
children | 7b14c12a3be5 |
line wrap: on
line diff
--- a/Applications/Samples/SingleFrameApplication.h Mon May 29 11:18:35 2017 +0200 +++ b/Applications/Samples/SingleFrameApplication.h Mon May 29 11:42:53 2017 +0200 @@ -94,6 +94,10 @@ virtual void NotifyGeometryReady(const ILayerSource& source) { + // Once the geometry of the series is downloaded from Orthanc, + // display its first slice, and adapt the viewport to fit this + // slice + const OrthancFrameLayerSource& frame = dynamic_cast<const OrthancFrameLayerSource&>(source);