comparison 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
comparison
equal deleted inserted replaced
1071:6dd90b8d1589 1072:391fb6d6905d
87 DicomVolumeImageMPRSlicer(const boost::shared_ptr<DicomVolumeImage>& volume) : 87 DicomVolumeImageMPRSlicer(const boost::shared_ptr<DicomVolumeImage>& volume) :
88 volume_(volume) 88 volume_(volume)
89 { 89 {
90 } 90 }
91 91
92 boost::shared_ptr<const DicomVolumeImage> GetVolume() const
93 {
94 return volume_;
95 }
96
92 virtual ~DicomVolumeImageMPRSlicer(); 97 virtual ~DicomVolumeImageMPRSlicer();
93 98
94 virtual IExtractedSlice* ExtractSlice(const CoordinateSystem3D& cuttingPlane) ORTHANC_OVERRIDE; 99 virtual IExtractedSlice* ExtractSlice(const CoordinateSystem3D& cuttingPlane) ORTHANC_OVERRIDE;
95 }; 100 };
96 } 101 }