comparison Framework/Scene2DViewport/PointerTypes.h @ 728:8190213e2279 am-dev

Merged default into am-dev
author Alain Mazy <am@osimis.io>
date Tue, 21 May 2019 13:25:58 +0200
parents 28b9e3a54200
children 712ff6ff3c19
comparison
equal deleted inserted replaced
690:f185cfcb72a0 728:8190213e2279
1 /**
2 * Stone of Orthanc
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
4 * Department, University Hospital of Liege, Belgium
5 * Copyright (C) 2017-2018 Osimis S.A., Belgium
6 *
7 * This program is free software: you can redistribute it and/or
8 * modify it under the terms of the GNU Affero General Public License
9 * as published by the Free Software Foundation, either version 3 of
10 * the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Affero General Public License for more details.
16 *
17 * You should have received a copy of the GNU Affero General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 **/
20
21 #pragma once
22
23 #include <boost/shared_ptr.hpp>
24 #include <boost/weak_ptr.hpp>
25
26 #include <vector>
27
28 namespace OrthancStone
29 {
30 class Scene2D;
31 typedef boost::shared_ptr<Scene2D> Scene2DPtr;
32
33 typedef boost::weak_ptr<Scene2D> Scene2DWPtr;
34
35 class MeasureTool;
36 typedef boost::shared_ptr<MeasureTool>
37 MeasureToolPtr;
38 typedef boost::weak_ptr<MeasureTool>
39 MeasureToolWPtr;
40
41 class LineMeasureTool;
42 typedef boost::shared_ptr<LineMeasureTool>
43 LineMeasureToolPtr;
44
45 class AngleMeasureTool;
46 typedef boost::shared_ptr<AngleMeasureTool>
47 AngleMeasureToolPtr;
48
49 class IPointerTracker;
50 typedef boost::shared_ptr<IPointerTracker>
51 PointerTrackerPtr;
52
53 class IFlexiblePointerTracker;
54 typedef boost::shared_ptr<IFlexiblePointerTracker>
55 FlexiblePointerTrackerPtr;
56
57 typedef boost::shared_ptr<LineMeasureTool>
58 LineMeasureToolPtr;
59
60 class CreateMeasureCommand;
61 typedef boost::shared_ptr<CreateMeasureCommand>
62 CreateMeasureCommandPtr;
63
64 class CreateLineMeasureCommand;
65 typedef boost::shared_ptr<CreateLineMeasureCommand>
66 CreateLineMeasureCommandPtr;
67
68 class CreateAngleMeasureCommand;
69 typedef boost::shared_ptr<CreateAngleMeasureCommand>
70 CreateAngleMeasureCommandPtr;
71
72
73 typedef boost::shared_ptr<Scene2D> Scene2DPtr;
74
75 class TrackerCommand;
76 typedef boost::shared_ptr<TrackerCommand> TrackerCommandPtr;
77
78 class ViewportController;
79 typedef boost::shared_ptr<ViewportController> ViewportControllerPtr;
80 typedef boost::weak_ptr<ViewportController> ViewportControllerWPtr;
81 }