Mercurial > hg > orthanc-stone
diff Samples/Common/RtViewerApp.cpp @ 1451:1df1c126fb36
Merge the loader plugin injection feature
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 02 Jun 2020 16:46:12 +0200 |
parents | dad6a2fe6fc7 |
children | 15173a383a00 |
line wrap: on
line diff
--- a/Samples/Common/RtViewerApp.cpp Tue May 19 15:31:38 2020 +0200 +++ b/Samples/Common/RtViewerApp.cpp Tue Jun 02 16:46:12 2020 +0200 @@ -119,6 +119,10 @@ // "false" means only using hi quality // TODO: add flag for quality ctLoader_ = OrthancSeriesVolumeProgressiveLoader::Create(*loadersContext_, ctVolume_, true); + + // better priority for CT vs dose and struct + ctLoader_->SetSchedulingPriority(-100); + // we need to store the CT loader to ask from geometry details later on when geometry is loaded geometryProvider_ = ctLoader_;