diff Applications/Samples/Common/RtViewerApp.h @ 1903:c7bc9e1776a6

fix rendering of RT sample
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 31 Jan 2022 18:00:10 +0100
parents b3c08e607d9f
children 07964689cb0b
line wrap: on
line diff
--- a/Applications/Samples/Common/RtViewerApp.h	Sat Jan 29 18:30:26 2022 +0100
+++ b/Applications/Samples/Common/RtViewerApp.h	Mon Jan 31 18:00:10 2022 +0100
@@ -126,7 +126,6 @@
     void HandleGeometryReady(const DicomVolumeImage::GeometryReadyMessage& message);
     
     // TODO: wire this
-    void HandleCTLoaded(const OrthancSeriesVolumeProgressiveLoader::VolumeImageReadyInHighQuality& message);
     void HandleCTContentUpdated(const DicomVolumeImage::ContentUpdatedMessage& message);
     void HandleDoseLoaded(const DicomVolumeImage::ContentUpdatedMessage& message);
     void HandleStructuresReady(const DicomStructureSetLoader::StructuresReady& message);
@@ -135,7 +134,6 @@
 
   private:
     void RetrieveGeometry();
-    void FitContent();
     void InvalidateAllViewports();
     void UpdateLayersInAllViews();
 
@@ -162,6 +160,8 @@
     boost::shared_ptr<IFlexiblePointerTracker> activeTracker_;
 
     boost::shared_ptr<UndoStack> undoStack_;
+
+    bool isFirstSlice_;
   };
 
 }