Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
1071:6dd90b8d1589 | 1072:391fb6d6905d |
---|---|
71 virtual bool HasCompositor() const ORTHANC_OVERRIDE | 71 virtual bool HasCompositor() const ORTHANC_OVERRIDE |
72 { | 72 { |
73 return (compositor_.get() != NULL); | 73 return (compositor_.get() != NULL); |
74 } | 74 } |
75 | 75 |
76 bool IsContextLost() | |
77 { | |
78 return context_.IsContextLost(); | |
79 } | |
80 | |
76 virtual ICompositor& GetCompositor() ORTHANC_OVERRIDE; | 81 virtual ICompositor& GetCompositor() ORTHANC_OVERRIDE; |
77 | 82 |
78 virtual void Refresh() ORTHANC_OVERRIDE; | 83 virtual void Refresh() ORTHANC_OVERRIDE; |
79 | 84 |
80 // this does NOT return whether the context is lost! This is called to | 85 // this does NOT return whether the context is lost! This is called to |