Mercurial > hg > orthanc-stone
comparison OrthancStone/Samples/Common/RtViewerApp.cpp @ 1523:4e3d11755e9b
Temp. disable progressive loading
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 31 Jul 2020 17:19:49 +0200 |
parents | fa30f275cd80 |
children | 31b0449a163a |
comparison
equal
deleted
inserted
replaced
1522:fa30f275cd80 | 1523:4e3d11755e9b |
---|---|
114 // the viewport hosts the scene | 114 // the viewport hosts the scene |
115 { | 115 { |
116 // "true" means use progressive quality (jpeg 50 --> jpeg 90 --> 16-bit raw) | 116 // "true" means use progressive quality (jpeg 50 --> jpeg 90 --> 16-bit raw) |
117 // "false" means only using hi quality | 117 // "false" means only using hi quality |
118 // TODO: add flag for quality | 118 // TODO: add flag for quality |
119 ctLoader_ = OrthancSeriesVolumeProgressiveLoader::Create(*loadersContext_, ctVolume_, true); | 119 ctLoader_ = OrthancSeriesVolumeProgressiveLoader::Create(*loadersContext_, ctVolume_, false); |
120 | 120 |
121 // better priority for CT vs dose and struct | 121 // better priority for CT vs dose and struct |
122 ctLoader_->SetSchedulingPriority(-100); | 122 ctLoader_->SetSchedulingPriority(-100); |
123 | 123 |
124 | 124 |