changeset 1365:c7d98d750224 broker

reduce verbosity + some comments
author Benjamin Golinvaux <bgo@osimis.io>
date Sat, 18 Apr 2020 14:35:39 +0200
parents dd50d0852ae2
children c4b0b4badae6
files Applications/Samples/Deprecated/rt-viewer-demo/main.cpp Docs/stone-object-model-reference.md Framework/Scene2DViewport/OneGesturePointerTracker.cpp
diffstat 3 files changed, 8 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/Samples/Deprecated/rt-viewer-demo/main.cpp	Sat Apr 18 14:35:10 2020 +0200
+++ b/Applications/Samples/Deprecated/rt-viewer-demo/main.cpp	Sat Apr 18 14:35:39 2020 +0200
@@ -672,9 +672,9 @@
             IObserver::GetBroker(), context->GetOrthancApiClient(), false));
           ct_->ScheduleLoadSeries(ctSeries_);
           //ct_->ScheduleLoadSeries(
-          //  "a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa"); // IBA
+          //  "a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa");
           //ct_->ScheduleLoadSeries(
-          //  "03677739-1d8bca40-db1daf59-d74ff548-7f6fc9c0"); // 0522c0001 TCIA
+          //  "03677739-1d8bca40-db1daf59-d74ff548-7f6fc9c0");
         }
 
         if (!doseSeries_.empty() ||
@@ -702,7 +702,7 @@
           }
 
           //dose_->ScheduleLoadInstance(
-            //"830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb");  // IBA 1
+            //"830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb");  // 1
           //dose_->ScheduleLoadInstance(
             //"269f26f4-0c83eeeb-2e67abbd-5467a40f-f1bec90c"); //0522c0001 TCIA
         }
@@ -715,7 +715,7 @@
           struct_->ScheduleLoadInstance(structInstance_);
 
           //struct_->ScheduleLoadInstance(
-            //"54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9"); // IBA
+            //"54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9");
           //struct_->ScheduleLoadInstance(
             //"17cd032b-ad92a438-ca05f06a-f9e96668-7e3e9e20"); // 0522c0001 TCIA
         }
--- a/Docs/stone-object-model-reference.md	Sat Apr 18 14:35:10 2020 +0200
+++ b/Docs/stone-object-model-reference.md	Sat Apr 18 14:35:39 2020 +0200
@@ -234,7 +234,7 @@
   - pass commands to undostack (trivial)
   - logic to locate `MeasureTool` in the HitTest
   - OTOH, the meat of the measuring tool logic (highlighting etc..) is 
-    done in app-specific code (`VolumeSlicerWidget` for IBA)
+    done in app-specific code (`VolumeSlicerWidget`)
   - accept new Scene transform and notify listeners
   - **the code that uses the interactor** (`HandleMousePress`) is only 
     called by the new `WebAssemblyViewport` !!! **TODO** clean this mess
@@ -421,16 +421,6 @@
 DISPATCH_JAVASCRIPT_EVENT("StoneInitialized");
 ```
 
-
-
-# TODO order
-- **IBA** remove SDL Console failed attempt
-- **IBA** understand refresh issue --> push fix
-- **IBA** move main.cpp to tests/
-- **IBA** Remove deprecated tag from loaders and rename loaders (ensure "Progressive" only means spatially progressive, not in terms of quality.. make sure Yoann doesn't need Jpeg)
-- **IBA** 
-
-
 # Notes
 
 - It is NOT possible to abandon the existing loaders : they contain too much loader-specific getters
--- a/Framework/Scene2DViewport/OneGesturePointerTracker.cpp	Sat Apr 18 14:35:10 2020 +0200
+++ b/Framework/Scene2DViewport/OneGesturePointerTracker.cpp	Sat Apr 18 14:35:39 2020 +0200
@@ -41,10 +41,10 @@
     // gesture
     ORTHANC_ASSERT(currentTouchCount_ > 0, "Wrong state in tracker");
     currentTouchCount_--;
-    LOG(INFO) << "currentTouchCount_ becomes: " << currentTouchCount_;
+    //LOG(TRACE) << "currentTouchCount_ becomes: " << currentTouchCount_;
     if (currentTouchCount_ == 0)
     {
-      LOG(INFO) << "currentTouchCount_ == 0 --> alive_ = false";
+      //LOG(TRACE) << "currentTouchCount_ == 0 --> alive_ = false";
       alive_ = false;
     }
   }
@@ -54,7 +54,7 @@
     // additional touches are not taken into account but we need to count 
     // the number of active touches
     currentTouchCount_++;
-    LOG(INFO) << "currentTouchCount_ becomes: " << currentTouchCount_;
+    //LOG(TRACE) << "currentTouchCount_ becomes: " << currentTouchCount_;
 
     /**
      * 2019-12-06 (SJO): Patch to have consistent behavior when mouse