comparison 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
comparison
equal deleted inserted replaced
1408:875c9a28236e 1409:07fac4fdbe07
49 class ThreadedOracle; 49 class ThreadedOracle;
50 class VolumeSceneLayerSource; 50 class VolumeSceneLayerSource;
51 class SdlOpenGLViewport; 51 class SdlOpenGLViewport;
52 class RtViewerView; 52 class RtViewerView;
53 53
54 enum RtViewerGuiTool
55 {
56 RtViewerGuiTool_Rotate = 0,
57 RtViewerGuiTool_Pan,
58 RtViewerGuiTool_Zoom,
59 RtViewerGuiTool_LineMeasure,
60 RtViewerGuiTool_CircleMeasure,
61 RtViewerGuiTool_AngleMeasure,
62 RtViewerGuiTool_EllipseMeasure,
63 RtViewerGuiTool_LAST
64 };
65
66 const char* MeasureToolToString(size_t i);
67
68 static const unsigned int FONT_SIZE_0 = 32; 54 static const unsigned int FONT_SIZE_0 = 32;
69 static const unsigned int FONT_SIZE_1 = 24; 55 static const unsigned int FONT_SIZE_1 = 24;
70 56
71 class Scene2D; 57 class Scene2D;
72 class UndoStack; 58 class UndoStack;
170 boost::shared_ptr<OrthancStone::IGeometryProvider> geometryProvider_; 156 boost::shared_ptr<OrthancStone::IGeometryProvider> geometryProvider_;
171 157
172 158
173 boost::shared_ptr<IFlexiblePointerTracker> activeTracker_; 159 boost::shared_ptr<IFlexiblePointerTracker> activeTracker_;
174 160
175 RtViewerGuiTool currentTool_;
176 boost::shared_ptr<UndoStack> undoStack_; 161 boost::shared_ptr<UndoStack> undoStack_;
177 }; 162 };
178 163
179 } 164 }
180 165