Mercurial > hg > orthanc-stone
diff Framework/Viewport/WebAssemblyViewport.h @ 1072:391fb6d6905d
OrthancMultiframeVolumeLoader asks volume image to compute range +
added IsContextLost to wasm viewport +
added "computeRange" bool property to DicomVolumeImage +
added ability to ask the MPR slicer for its source volume (to retrieve voxel
value range)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 16 Oct 2019 15:43:21 +0200 |
parents | af456106576c |
children | a28861abf888 ce3052f28f2e |
line wrap: on
line diff
--- a/Framework/Viewport/WebAssemblyViewport.h Tue Oct 15 14:30:19 2019 +0200 +++ b/Framework/Viewport/WebAssemblyViewport.h Wed Oct 16 15:43:21 2019 +0200 @@ -73,6 +73,11 @@ return (compositor_.get() != NULL); } + bool IsContextLost() + { + return context_.IsContextLost(); + } + virtual ICompositor& GetCompositor() ORTHANC_OVERRIDE; virtual void Refresh() ORTHANC_OVERRIDE;