diff Samples/Common/RtViewerApp.h @ 1409:07fac4fdbe07

Removed dead code (RtViewer is not supposed to demonstrate measuring tools in a simple example)
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 04 May 2020 13:18:06 +0200
parents 5d7ee14dc1eb
children cecedf0b1be6
line wrap: on
line diff
--- a/Samples/Common/RtViewerApp.h	Mon May 04 13:17:31 2020 +0200
+++ b/Samples/Common/RtViewerApp.h	Mon May 04 13:18:06 2020 +0200
@@ -51,20 +51,6 @@
   class SdlOpenGLViewport;
   class RtViewerView;
    
-  enum RtViewerGuiTool
-  {
-    RtViewerGuiTool_Rotate = 0,
-    RtViewerGuiTool_Pan,
-    RtViewerGuiTool_Zoom,
-    RtViewerGuiTool_LineMeasure,
-    RtViewerGuiTool_CircleMeasure,
-    RtViewerGuiTool_AngleMeasure,
-    RtViewerGuiTool_EllipseMeasure,
-    RtViewerGuiTool_LAST
-  };
-
-  const char* MeasureToolToString(size_t i);
-
   static const unsigned int FONT_SIZE_0 = 32;
   static const unsigned int FONT_SIZE_1 = 24;
 
@@ -172,7 +158,6 @@
 
     boost::shared_ptr<IFlexiblePointerTracker> activeTracker_;
 
-    RtViewerGuiTool currentTool_;
     boost::shared_ptr<UndoStack> undoStack_;
   };