diff Framework/Volumes/DicomVolumeImageMPRSlicer.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 401808e7ff2e
children 2d8ab34c8c91
line wrap: on
line diff
--- a/Framework/Volumes/DicomVolumeImageMPRSlicer.h	Tue Oct 15 14:30:19 2019 +0200
+++ b/Framework/Volumes/DicomVolumeImageMPRSlicer.h	Wed Oct 16 15:43:21 2019 +0200
@@ -89,6 +89,11 @@
     {
     }
 
+    boost::shared_ptr<const DicomVolumeImage> GetVolume() const
+    {
+      return volume_;
+    }
+
     virtual ~DicomVolumeImageMPRSlicer();
 
     virtual IExtractedSlice* ExtractSlice(const CoordinateSystem3D& cuttingPlane) ORTHANC_OVERRIDE;