Mercurial > hg > orthanc-stone
diff Framework/Loaders/OrthancMultiframeVolumeLoader.cpp @ 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 | 1f74bc3459ba |
children | f72d1ab42932 33b0a762e98a |
line wrap: on
line diff
--- a/Framework/Loaders/OrthancMultiframeVolumeLoader.cpp Tue Oct 15 14:30:19 2019 +0200 +++ b/Framework/Loaders/OrthancMultiframeVolumeLoader.cpp Wed Oct 16 15:43:21 2019 +0200 @@ -112,8 +112,6 @@ } }; - - class OrthancMultiframeVolumeLoader::LoadTransferSyntax : public State { public: @@ -229,7 +227,7 @@ geometry.SetAxialGeometry(parameters.GetGeometry()); geometry.SetVoxelDimensions(parameters.GetPixelSpacingX(), parameters.GetPixelSpacingY(), spacingZ); - volume_->Initialize(geometry, format); + volume_->Initialize(geometry, format, true /* Do compute range */); } volume_->GetPixelData().Clear();