Mercurial > hg > orthanc-stone
changeset 1105:640feb146fa8 toa2019102801
Code formatting (dummyc) + log level (dummyc)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 28 Oct 2019 11:13:48 +0100 |
parents | 141593f1aa88 |
children | c7388dfcd555 |
files | Framework/Loaders/LoaderCache.cpp Framework/Scene2D/LookupTableTextureSceneLayer.cpp Framework/Volumes/DicomVolumeImageMPRSlicer.cpp Framework/Volumes/ImageBuffer3D.cpp |
diffstat | 4 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Loaders/LoaderCache.cpp Sat Oct 26 11:35:41 2019 +0200 +++ b/Framework/Loaders/LoaderCache.cpp Mon Oct 28 11:13:48 2019 +0100 @@ -168,7 +168,9 @@ loader.reset(new OrthancMultiframeVolumeLoader(volumeImage, oracle_, oracle_)); #else LockingEmitter::WriterLock lock(lockingEmitter_); - loader.reset(new OrthancMultiframeVolumeLoader(volumeImage, oracle_, lock.GetOracleObservable())); + loader.reset(new OrthancMultiframeVolumeLoader(volumeImage, + oracle_, + lock.GetOracleObservable())); #endif loader->LoadInstance(instanceUuid); }
--- a/Framework/Scene2D/LookupTableTextureSceneLayer.cpp Sat Oct 26 11:35:41 2019 +0200 +++ b/Framework/Scene2D/LookupTableTextureSceneLayer.cpp Mon Oct 28 11:13:48 2019 +0100 @@ -131,7 +131,6 @@ IncrementRevision(); } } - void LookupTableTextureSceneLayer::FitRange() {
--- a/Framework/Volumes/DicomVolumeImageMPRSlicer.cpp Sat Oct 26 11:35:41 2019 +0200 +++ b/Framework/Volumes/DicomVolumeImageMPRSlicer.cpp Mon Oct 28 11:13:48 2019 +0100 @@ -45,7 +45,8 @@ revision_(volume_.GetRevision()) { valid_ = (volume_.HasDicomParameters() && - volume_.GetGeometry().DetectSlice(projection_, sliceIndex_, cuttingPlane)); + volume_.GetGeometry().DetectSlice(projection_, sliceIndex_, + cuttingPlane)); } @@ -75,7 +76,7 @@ } std::auto_ptr<TextureBaseSceneLayer> texture; - + { const DicomInstanceParameters& parameters = volume_.GetDicomParameters(); ImageBuffer3D::SliceReader reader(volume_.GetPixelData(), projection_, sliceIndex_);
--- a/Framework/Volumes/ImageBuffer3D.cpp Sat Oct 26 11:35:41 2019 +0200 +++ b/Framework/Volumes/ImageBuffer3D.cpp Mon Oct 28 11:13:48 2019 +0100 @@ -118,7 +118,7 @@ computeRange_(computeRange), hasRange_(false) { - LOG(INFO) << "Created a 3D image of size " << width << "x" << height + LOG(TRACE) << "Created a 3D image of size " << width << "x" << height << "x" << depth << " in " << Orthanc::EnumerationToString(format) << " (" << (GetEstimatedMemorySize() / (1024ll * 1024ll)) << "MB)"; }